aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic.h
diff options
context:
space:
mode:
authorAnirban Chakraborty <anirban.chakraborty@qlogic.com>2010-07-13 16:33:35 -0400
committerDavid S. Miller <davem@davemloft.net>2010-07-14 16:54:17 -0400
commitcea8975e84409f01fc4cf92775d2d0028ccc1665 (patch)
tree583f5ef6be82b1d84f50c0e7fad49480c5e4d2e4 /drivers/net/qlcnic/qlcnic.h
parent451724c821c1fe5af076a0def72362f947e1b6a0 (diff)
qlcnic: restore NPAR config data after recovery
o NPAR configuration which is programmed in fw, need to restore after fw recovery. o Update version to 5.0.7 Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com> Signed-off-by: Rajesh Borundia <rajesh.borundia@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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/net/qlcnic/qlcnic.h b/drivers/net/qlcnic/qlcnic.h
index 064464201cbb..e1894775e5aa 100644
--- a/drivers/net/qlcnic/qlcnic.h
+++ b/drivers/net/qlcnic/qlcnic.h
@@ -51,8 +51,8 @@
51 51
52#define _QLCNIC_LINUX_MAJOR 5 52#define _QLCNIC_LINUX_MAJOR 5
53#define _QLCNIC_LINUX_MINOR 0 53#define _QLCNIC_LINUX_MINOR 0
54#define _QLCNIC_LINUX_SUBVERSION 6 54#define _QLCNIC_LINUX_SUBVERSION 7
55#define QLCNIC_LINUX_VERSIONID "5.0.6" 55#define QLCNIC_LINUX_VERSIONID "5.0.7"
56#define QLCNIC_DRV_IDC_VER 0x01 56#define QLCNIC_DRV_IDC_VER 0x01
57 57
58#define QLCNIC_VERSION_CODE(a, b, c) (((a) << 24) + ((b) << 16) + (c)) 58#define QLCNIC_VERSION_CODE(a, b, c) (((a) << 24) + ((b) << 16) + (c))
@@ -949,7 +949,6 @@ struct qlcnic_adapter {
949 u8 has_link_events; 949 u8 has_link_events;
950 u8 fw_type; 950 u8 fw_type;
951 u16 tx_context_id; 951 u16 tx_context_id;
952 u16 mtu;
953 u16 is_up; 952 u16 is_up;
954 953
955 u16 link_speed; 954 u16 link_speed;
@@ -1044,6 +1043,8 @@ struct qlcnic_pci_info {
1044 1043
1045struct qlcnic_npar_info { 1044struct qlcnic_npar_info {
1046 u16 vlan_id; 1045 u16 vlan_id;
1046 u16 min_bw;
1047 u16 max_bw;
1047 u8 phy_port; 1048 u8 phy_port;
1048 u8 type; 1049 u8 type;
1049 u8 active; 1050 u8 active;