cxgb3 - Firwmare update
authorDivy Le Ray <divy@chelsio.com>
Sat, 31 Mar 2007 07:23:30 +0000 (00:23 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 4 Apr 2007 02:31:09 +0000 (22:31 -0400)
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>
drivers/net/cxgb3/cxgb3_main.c
drivers/net/cxgb3/version.h

index 512daf738948709f6f01af41a3a703f90f469394..26240fd5e76835d4fa3af47b44df76675d50fb68 100644 (file)
@@ -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)
 {
@@ -731,7 +731,7 @@ static int upgrade_fw(struct adapter *adap)
        struct device *dev = &adap->pdev->dev;
 
        snprintf(buf, sizeof(buf), FW_FNAME, FW_VERSION_MAJOR,
-                FW_VERSION_MINOR);
+                FW_VERSION_MINOR, FW_VERSION_MICRO);
        ret = request_firmware(&fw, buf, dev);
        if (ret < 0) {
                dev_err(dev, "could not upgrade firmware: unable to load %s\n",
index 82278f8502594a416f5313eacb978f7673e0d959..042e27e291cd7eea5db365ef3722b9c4adfdf784 100644 (file)
@@ -36,6 +36,9 @@
 #define DRV_NAME "cxgb3"
 /* Driver version */
 #define DRV_VERSION "1.0-ko"
+
+/* Firmware version */
 #define FW_VERSION_MAJOR 3
-#define FW_VERSION_MINOR 2
+#define FW_VERSION_MINOR 3
+#define FW_VERSION_MICRO 0
 #endif                         /* __CHELSIO_VERSION_H */