Commit 273fa904 authored by Divy Le Ray's avatar Divy Le Ray Committed by David S. Miller

cxgb3 - FW upgrade

Bump up FW version to 5.0.
Do not downgrade FW within the same major version range.
Signed-off-by: default avatarDivy Le Ray <divy@chelsio.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 91a6b50c
...@@ -988,13 +988,17 @@ int t3_check_fw_version(struct adapter *adapter, int *must_load) ...@@ -988,13 +988,17 @@ int t3_check_fw_version(struct adapter *adapter, int *must_load)
CH_ERR(adapter, "found wrong FW version(%u.%u), " CH_ERR(adapter, "found wrong FW version(%u.%u), "
"driver needs version %u.%u\n", major, minor, "driver needs version %u.%u\n", major, minor,
FW_VERSION_MAJOR, FW_VERSION_MINOR); FW_VERSION_MAJOR, FW_VERSION_MINOR);
else { else if (minor < FW_VERSION_MINOR) {
*must_load = 0; *must_load = 0;
CH_WARN(adapter, "found wrong FW minor version(%u.%u), " CH_WARN(adapter, "found old FW minor version(%u.%u), "
"driver compiled for version %u.%u\n", major, minor,
FW_VERSION_MAJOR, FW_VERSION_MINOR);
} else {
CH_WARN(adapter, "found newer FW version(%u.%u), "
"driver compiled for version %u.%u\n", major, minor, "driver compiled for version %u.%u\n", major, minor,
FW_VERSION_MAJOR, FW_VERSION_MINOR); FW_VERSION_MAJOR, FW_VERSION_MINOR);
return 0;
} }
return -EINVAL; return -EINVAL;
} }
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#define DRV_VERSION "1.0-ko" #define DRV_VERSION "1.0-ko"
/* Firmware version */ /* Firmware version */
#define FW_VERSION_MAJOR 4 #define FW_VERSION_MAJOR 5
#define FW_VERSION_MINOR 6 #define FW_VERSION_MINOR 0
#define FW_VERSION_MICRO 0 #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