Message ID | 20140415185047.17386.71861.stgit@build.ogc.int |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
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. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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, }; /**
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(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html