aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic.h
diff options
context:
space:
mode:
authorSony Chacko <sony.chacko@qlogic.com>2010-08-19 01:08:31 -0400
committerDavid S. Miller <davem@davemloft.net>2010-08-19 19:52:42 -0400
commitd4066833bb1b35fefb1dd45eb2b10659d46bf151 (patch)
tree5581df2bf56a12509855a53c6e9aaa1a9825bcda /drivers/net/qlcnic/qlcnic.h
parent63e74e9cb7944b073c49159db934f69ca98a4ae6 (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.h4
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);
1233void qlcnic_release_rx_buffers(struct qlcnic_adapter *adapter); 1235void qlcnic_release_rx_buffers(struct qlcnic_adapter *adapter);
1234void qlcnic_release_tx_buffers(struct qlcnic_adapter *adapter); 1236void qlcnic_release_tx_buffers(struct qlcnic_adapter *adapter);
1235 1237
1236int qlcnic_init_firmware(struct qlcnic_adapter *adapter); 1238int qlcnic_check_fw_status(struct qlcnic_adapter *adapter);
1237void qlcnic_watchdog_task(struct work_struct *work); 1239void qlcnic_watchdog_task(struct work_struct *work);
1238void qlcnic_post_rx_buffers(struct qlcnic_adapter *adapter, u32 ringid, 1240void 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);