projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cxgb4: use the correct max size for firmware flash
[linux-2.6-block.git]
/
drivers
/
net
/
ethernet
/
chelsio
/
cxgb4
/
t4_hw.c
diff --git
a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
index fb2fe65903c2b7675701e1911a53b6e484566a73..bba67681aeaaae90fa8cc8f41ac3b5d70341e227 100644
(file)
--- a/
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
+++ b/
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
@@
-682,7
+682,7
@@
enum {
SF_RD_ID = 0x9f, /* read ID */
SF_ERASE_SECTOR = 0xd8, /* erase sector */
- FW_MAX_SIZE =
512 * 1024
,
+ FW_MAX_SIZE =
16 * SF_SEC_SIZE
,
};
/**