cxgb4: use the correct max size for firmware flash
Subsystems (3)
PATCH 1/1 cxgb4: use the correct max size for firmware flash
The wrong max fw size was being used and causing false "too big" errors running ethtool -f.
Signed-off-by Steve Wise <[email protected]>
---
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c +1 -1
@@ -689,7 +689,7 @@ enum {SF_RD_ID =0x9f ,/* read ID */ SF_ERASE_SECTOR =0xd8 ,/* erase sector */ - FW_MAX_SIZE = 4 * 512 * 1024, + FW_MAX_SIZE = 16 * SF_SEC_SIZE, };/**
David Miller
maintainerFrom: Steve Wise <[email protected]>
Date: Tue, 15 Apr 2014 13:50:48 -0500
Quoted 4 lines
The wrong max fw size was being used and causing false "too big" errors running ethtool -f.
Signed-off-by Steve Wise <[email protected]>
This doesn't apply to the current net tree, please respin.