All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH  RESPIN] cxgb4: use the correct max size for firmware flash
@ 2014-04-15 19:22 Steve Wise
  2014-04-15 19:50 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Wise @ 2014-04-15 19:22 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 fb2fe65..bba6768 100644
--- 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,
 };
 
 /**

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH RESPIN] cxgb4: use the correct max size for firmware flash
  2014-04-15 19:22 [PATCH RESPIN] cxgb4: use the correct max size for firmware flash Steve Wise
@ 2014-04-15 19:50 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-04-15 19:50 UTC (permalink / raw)
  To: swise; +Cc: netdev, hariprasad

From: Steve Wise <swise@opengridcomputing.com>
Date: Tue, 15 Apr 2014 14:22:34 -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>

Applied, thanks a lot Steve.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-15 19:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-15 19:22 [PATCH RESPIN] cxgb4: use the correct max size for firmware flash Steve Wise
2014-04-15 19:50 ` 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.