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 <swise@opengridcomputing.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8564ae09e0
commit
6f1d721037
@@ -682,7 +682,7 @@ enum {
|
|||||||
SF_RD_ID = 0x9f, /* read ID */
|
SF_RD_ID = 0x9f, /* read ID */
|
||||||
SF_ERASE_SECTOR = 0xd8, /* erase sector */
|
SF_ERASE_SECTOR = 0xd8, /* erase sector */
|
||||||
|
|
||||||
FW_MAX_SIZE = 512 * 1024,
|
FW_MAX_SIZE = 16 * SF_SEC_SIZE,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user