Commit 7f672cf5 authored by Divy Le Ray's avatar Divy Le Ray Committed by Jeff Garzik

cxgb3 - Firwmare update

Introduce FW micro version.
Bump up FW version to 3.3.0
Signed-off-by: default avatarDivy Le Ray <divy@chelsio.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 6d6dabac
...@@ -721,7 +721,7 @@ static void bind_qsets(struct adapter *adap) ...@@ -721,7 +721,7 @@ static void bind_qsets(struct adapter *adap)
} }
} }
#define FW_FNAME "t3fw-%d.%d.bin" #define FW_FNAME "t3fw-%d.%d.%d.bin"
static int upgrade_fw(struct adapter *adap) static int upgrade_fw(struct adapter *adap)
{ {
...@@ -731,7 +731,7 @@ static int upgrade_fw(struct adapter *adap) ...@@ -731,7 +731,7 @@ static int upgrade_fw(struct adapter *adap)
struct device *dev = &adap->pdev->dev; struct device *dev = &adap->pdev->dev;
snprintf(buf, sizeof(buf), FW_FNAME, FW_VERSION_MAJOR, snprintf(buf, sizeof(buf), FW_FNAME, FW_VERSION_MAJOR,
FW_VERSION_MINOR); FW_VERSION_MINOR, FW_VERSION_MICRO);
ret = request_firmware(&fw, buf, dev); ret = request_firmware(&fw, buf, dev);
if (ret < 0) { if (ret < 0) {
dev_err(dev, "could not upgrade firmware: unable to load %s\n", dev_err(dev, "could not upgrade firmware: unable to load %s\n",
......
...@@ -36,6 +36,9 @@ ...@@ -36,6 +36,9 @@
#define DRV_NAME "cxgb3" #define DRV_NAME "cxgb3"
/* Driver version */ /* Driver version */
#define DRV_VERSION "1.0-ko" #define DRV_VERSION "1.0-ko"
/* Firmware version */
#define FW_VERSION_MAJOR 3 #define FW_VERSION_MAJOR 3
#define FW_VERSION_MINOR 2 #define FW_VERSION_MINOR 3
#define FW_VERSION_MICRO 0
#endif /* __CHELSIO_VERSION_H */ #endif /* __CHELSIO_VERSION_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment