Commit 75d8626f authored by Divy Le Ray's avatar Divy Le Ray Committed by Jeff Garzik

cxgb3 - FW version update

Update FW version to 3.2
Signed-off-by: default avatarDivy Le Ray <divy@chelsio.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 1825494a
...@@ -884,11 +884,13 @@ int t3_check_fw_version(struct adapter *adapter) ...@@ -884,11 +884,13 @@ int t3_check_fw_version(struct adapter *adapter)
major = G_FW_VERSION_MAJOR(vers); major = G_FW_VERSION_MAJOR(vers);
minor = G_FW_VERSION_MINOR(vers); minor = G_FW_VERSION_MINOR(vers);
if (type == FW_VERSION_T3 && major == 3 && minor == 1) if (type == FW_VERSION_T3 && major == FW_VERSION_MAJOR &&
minor == FW_VERSION_MINOR)
return 0; return 0;
CH_ERR(adapter, "found wrong FW version(%u.%u), " CH_ERR(adapter, "found wrong FW version(%u.%u), "
"driver needs version 3.1\n", major, minor); "driver needs version %u.%u\n", major, minor,
FW_VERSION_MAJOR, FW_VERSION_MINOR);
return -EINVAL; return -EINVAL;
} }
......
...@@ -36,4 +36,6 @@ ...@@ -36,4 +36,6 @@
#define DRV_NAME "cxgb3" #define DRV_NAME "cxgb3"
/* Driver version */ /* Driver version */
#define DRV_VERSION "1.0" #define DRV_VERSION "1.0"
#define FW_VERSION_MAJOR 3
#define FW_VERSION_MINOR 2
#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