diff options
author | Sony Chacko <sony.chacko@qlogic.com> | 2010-08-19 01:08:31 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-19 19:52:42 -0400 |
commit | d4066833bb1b35fefb1dd45eb2b10659d46bf151 (patch) | |
tree | 5581df2bf56a12509855a53c6e9aaa1a9825bcda /drivers/net/qlcnic/qlcnic.h | |
parent | 63e74e9cb7944b073c49159db934f69ca98a4ae6 (diff) |
qlcnic: firmware initialization update
Cleanup legacy code which is not valid for Qlogic
CNA adapters.
Signed-off-by: Sony Chacko <sony.chacko@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic.h')
-rw-r--r-- | drivers/net/qlcnic/qlcnic.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h index b58c4119f279..43cb925fd77b 100644 --- a/drivers/net/qlcnic/qlcnic.h +++ b/drivers/net/qlcnic/qlcnic.h | |||
@@ -54,6 +54,8 @@ | |||
54 | #define _QLCNIC_LINUX_SUBVERSION 7 | 54 | #define _QLCNIC_LINUX_SUBVERSION 7 |
55 | #define QLCNIC_LINUX_VERSIONID "5.0.7" | 55 | #define QLCNIC_LINUX_VERSIONID "5.0.7" |
56 | #define QLCNIC_DRV_IDC_VER 0x01 | 56 | #define QLCNIC_DRV_IDC_VER 0x01 |
57 | #define QLCNIC_DRIVER_VERSION ((_QLCNIC_LINUX_MAJOR << 16) |\ | ||
58 | (_QLCNIC_LINUX_MINOR << 8) | (_QLCNIC_LINUX_SUBVERSION)) | ||
57 | 59 | ||
58 | #define QLCNIC_VERSION_CODE(a, b, c) (((a) << 24) + ((b) << 16) + (c)) | 60 | #define QLCNIC_VERSION_CODE(a, b, c) (((a) << 24) + ((b) << 16) + (c)) |
59 | #define _major(v) (((v) >> 24) & 0xff) | 61 | #define _major(v) (((v) >> 24) & 0xff) |
@@ -1233,7 +1235,7 @@ void qlcnic_reset_rx_buffers_list(struct qlcnic_adapter *adapter); | |||
1233 | void qlcnic_release_rx_buffers(struct qlcnic_adapter *adapter); | 1235 | void qlcnic_release_rx_buffers(struct qlcnic_adapter *adapter); |
1234 | void qlcnic_release_tx_buffers(struct qlcnic_adapter *adapter); | 1236 | void qlcnic_release_tx_buffers(struct qlcnic_adapter *adapter); |
1235 | 1237 | ||
1236 | int qlcnic_init_firmware(struct qlcnic_adapter *adapter); | 1238 | int qlcnic_check_fw_status(struct qlcnic_adapter *adapter); |
1237 | void qlcnic_watchdog_task(struct work_struct *work); | 1239 | void qlcnic_watchdog_task(struct work_struct *work); |
1238 | void qlcnic_post_rx_buffers(struct qlcnic_adapter *adapter, u32 ringid, | 1240 | void qlcnic_post_rx_buffers(struct qlcnic_adapter *adapter, u32 ringid, |
1239 | struct qlcnic_host_rds_ring *rds_ring); | 1241 | struct qlcnic_host_rds_ring *rds_ring); |