aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2007-03-31 03:23:30 -0400
committerJeff Garzik <jeff@garzik.org>2007-04-03 22:31:09 -0400
commit7f672cf5b2382310d530469f1f78f69bf48adedc (patch)
treea85ecc4cb8a993785d76f5dda36a974123595fa9 /drivers/net
parent6d6dabac382604db22ff51c5e0d25af18529ac8b (diff)
cxgb3 - Firwmare update
Introduce FW micro version. Bump up FW version to 3.3.0 Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/cxgb3/cxgb3_main.c4
-rw-r--r--drivers/net/cxgb3/version.h5
2 files changed, 6 insertions, 3 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c
index 512daf738948..26240fd5e768 100644
--- a/drivers/net/cxgb3/cxgb3_main.c
+++ b/drivers/net/cxgb3/cxgb3_main.c
@@ -721,7 +721,7 @@ static void bind_qsets(struct adapter *adap)
721 } 721 }
722} 722}
723 723
724#define FW_FNAME "t3fw-%d.%d.bin" 724#define FW_FNAME "t3fw-%d.%d.%d.bin"
725 725
726static int upgrade_fw(struct adapter *adap) 726static int upgrade_fw(struct adapter *adap)
727{ 727{
@@ -731,7 +731,7 @@ static int upgrade_fw(struct adapter *adap)
731 struct device *dev = &adap->pdev->dev; 731 struct device *dev = &adap->pdev->dev;
732 732
733 snprintf(buf, sizeof(buf), FW_FNAME, FW_VERSION_MAJOR, 733 snprintf(buf, sizeof(buf), FW_FNAME, FW_VERSION_MAJOR,
734 FW_VERSION_MINOR); 734 FW_VERSION_MINOR, FW_VERSION_MICRO);
735 ret = request_firmware(&fw, buf, dev); 735 ret = request_firmware(&fw, buf, dev);
736 if (ret < 0) { 736 if (ret < 0) {
737 dev_err(dev, "could not upgrade firmware: unable to load %s\n", 737 dev_err(dev, "could not upgrade firmware: unable to load %s\n",
diff --git a/drivers/net/cxgb3/version.h b/drivers/net/cxgb3/version.h
index 82278f850259..042e27e291cd 100644
--- a/drivers/net/cxgb3/version.h
+++ b/drivers/net/cxgb3/version.h
@@ -36,6 +36,9 @@
36#define DRV_NAME "cxgb3" 36#define DRV_NAME "cxgb3"
37/* Driver version */ 37/* Driver version */
38#define DRV_VERSION "1.0-ko" 38#define DRV_VERSION "1.0-ko"
39
40/* Firmware version */
39#define FW_VERSION_MAJOR 3 41#define FW_VERSION_MAJOR 3
40#define FW_VERSION_MINOR 2 42#define FW_VERSION_MINOR 3
43#define FW_VERSION_MICRO 0
41#endif /* __CHELSIO_VERSION_H */ 44#endif /* __CHELSIO_VERSION_H */