* [PATCH] cxgb4: use the correct max size for firmware flash
@ 2014-04-15 18:50 Steve Wise
2014-04-15 19:16 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Steve Wise @ 2014-04-15 18:50 UTC (permalink / raw)
To: davem; +Cc: netdev, hariprasad
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>
---
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
index 9d0a8cd..9aaf41c 100644
--- a/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
+++ b/drivers/net/ethernet/chelsio/cxgb4/t4_hw.c
@@ -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,
};
/**
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] cxgb4: use the correct max size for firmware flash
2014-04-15 18:50 [PATCH] cxgb4: use the correct max size for firmware flash Steve Wise
@ 2014-04-15 19:16 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-04-15 19:16 UTC (permalink / raw)
To: swise; +Cc: netdev, hariprasad
From: Steve Wise <swise@opengridcomputing.com>
Date: Tue, 15 Apr 2014 13:50:48 -0500
> 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>
This doesn't apply to the current net tree, please respin.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-15 19:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-15 18:50 [PATCH] cxgb4: use the correct max size for firmware flash Steve Wise
2014-04-15 19:16 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.