1
0
Fork 0
alistair23-linux/drivers/net/ethernet/chelsio
Hariprasad Shenai 7f0b8a56c9 cxgb4: Fix MC1 memory offset calculation
Commit 6559a7e829 ("cxgb4: Cleanup macros so they follow the same
style and look consistent") introduced a regression where reading MC1
memory in adapters where MC0 isn't present or MC0 size is not equal to MC1
size caused the adapter to crash due to incorrect computation of memoffset.
Fix is to read the size of MC0 instead of MC1 for offset calculation

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-04-29 15:50:16 -04:00
..
cxgb chelsio cxgb/cxgb3: Make stats_strings arrays const 2015-04-01 14:41:20 -04:00
cxgb3 cxgb3/4/4vf: Update drivers to use dma_rmb/wmb where appropriate 2015-04-09 14:25:25 -04:00
cxgb4 cxgb4: Fix MC1 memory offset calculation 2015-04-29 15:50:16 -04:00
cxgb4vf cxgb3/4/4vf: Update drivers to use dma_rmb/wmb where appropriate 2015-04-09 14:25:25 -04:00
Kconfig cxgb4: update Kconfig and Makefile for FCoE support 2015-03-24 15:24:38 -04:00
Makefile