diff options
author | Divy Le Ray <divy@chelsio.com> | 2007-02-25 19:32:37 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-27 04:27:12 -0500 |
commit | 75d8626fdd172745ebb638c2bf5138071e67a818 (patch) | |
tree | 20884a09931c9d2261b5be68161cdce698d0b894 /drivers/net/cxgb3/t3_hw.c | |
parent | 1825494a7ec6c0fed0a7dfb1646e84402979743e (diff) |
cxgb3 - FW version update
Update FW version to 3.2
Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/cxgb3/t3_hw.c')
-rw-r--r-- | drivers/net/cxgb3/t3_hw.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/cxgb3/t3_hw.c b/drivers/net/cxgb3/t3_hw.c index 365a7f5b1f94..eaa7a2e89a30 100644 --- a/drivers/net/cxgb3/t3_hw.c +++ b/drivers/net/cxgb3/t3_hw.c | |||
@@ -884,11 +884,13 @@ int t3_check_fw_version(struct adapter *adapter) | |||
884 | major = G_FW_VERSION_MAJOR(vers); | 884 | major = G_FW_VERSION_MAJOR(vers); |
885 | minor = G_FW_VERSION_MINOR(vers); | 885 | minor = G_FW_VERSION_MINOR(vers); |
886 | 886 | ||
887 | if (type == FW_VERSION_T3 && major == 3 && minor == 1) | 887 | if (type == FW_VERSION_T3 && major == FW_VERSION_MAJOR && |
888 | minor == FW_VERSION_MINOR) | ||
888 | return 0; | 889 | return 0; |
889 | 890 | ||
890 | CH_ERR(adapter, "found wrong FW version(%u.%u), " | 891 | CH_ERR(adapter, "found wrong FW version(%u.%u), " |
891 | "driver needs version 3.1\n", major, minor); | 892 | "driver needs version %u.%u\n", major, minor, |
893 | FW_VERSION_MAJOR, FW_VERSION_MINOR); | ||
892 | return -EINVAL; | 894 | return -EINVAL; |
893 | } | 895 | } |
894 | 896 | ||