aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge/qlge.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r--drivers/net/qlge/qlge.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h
index 20624ba44a37..06b2188f6368 100644
--- a/drivers/net/qlge/qlge.h
+++ b/drivers/net/qlge/qlge.h
@@ -16,7 +16,7 @@
16 */ 16 */
17#define DRV_NAME "qlge" 17#define DRV_NAME "qlge"
18#define DRV_STRING "QLogic 10 Gigabit PCI-E Ethernet Driver " 18#define DRV_STRING "QLogic 10 Gigabit PCI-E Ethernet Driver "
19#define DRV_VERSION "v1.00.00.23.00.00-01" 19#define DRV_VERSION "v1.00.00.25.00.00-01"
20 20
21#define PFX "qlge: " 21#define PFX "qlge: "
22 22
@@ -1062,7 +1062,7 @@ struct tx_buf_desc {
1062#define TX_DESC_LEN_MASK 0x000fffff 1062#define TX_DESC_LEN_MASK 0x000fffff
1063#define TX_DESC_C 0x40000000 1063#define TX_DESC_C 0x40000000
1064#define TX_DESC_E 0x80000000 1064#define TX_DESC_E 0x80000000
1065} __attribute((packed)); 1065} __packed;
1066 1066
1067/* 1067/*
1068 * IOCB Definitions... 1068 * IOCB Definitions...
@@ -1095,7 +1095,7 @@ struct ob_mac_iocb_req {
1095 __le16 vlan_tci; 1095 __le16 vlan_tci;
1096 __le16 reserved4; 1096 __le16 reserved4;
1097 struct tx_buf_desc tbd[TX_DESC_PER_IOCB]; 1097 struct tx_buf_desc tbd[TX_DESC_PER_IOCB];
1098} __attribute((packed)); 1098} __packed;
1099 1099
1100struct ob_mac_iocb_rsp { 1100struct ob_mac_iocb_rsp {
1101 u8 opcode; /* */ 1101 u8 opcode; /* */
@@ -1112,7 +1112,7 @@ struct ob_mac_iocb_rsp {
1112 u32 tid; 1112 u32 tid;
1113 u32 txq_idx; 1113 u32 txq_idx;
1114 __le32 reserved[13]; 1114 __le32 reserved[13];
1115} __attribute((packed)); 1115} __packed;
1116 1116
1117struct ob_mac_tso_iocb_req { 1117struct ob_mac_tso_iocb_req {
1118 u8 opcode; 1118 u8 opcode;
@@ -1140,7 +1140,7 @@ struct ob_mac_tso_iocb_req {
1140 __le16 vlan_tci; 1140 __le16 vlan_tci;
1141 __le16 mss; 1141 __le16 mss;
1142 struct tx_buf_desc tbd[TX_DESC_PER_IOCB]; 1142 struct tx_buf_desc tbd[TX_DESC_PER_IOCB];
1143} __attribute((packed)); 1143} __packed;
1144 1144
1145struct ob_mac_tso_iocb_rsp { 1145struct ob_mac_tso_iocb_rsp {
1146 u8 opcode; 1146 u8 opcode;
@@ -1157,7 +1157,7 @@ struct ob_mac_tso_iocb_rsp {
1157 u32 tid; 1157 u32 tid;
1158 u32 txq_idx; 1158 u32 txq_idx;
1159 __le32 reserved2[13]; 1159 __le32 reserved2[13];
1160} __attribute((packed)); 1160} __packed;
1161 1161
1162struct ib_mac_iocb_rsp { 1162struct ib_mac_iocb_rsp {
1163 u8 opcode; /* 0x20 */ 1163 u8 opcode; /* 0x20 */
@@ -1216,7 +1216,7 @@ struct ib_mac_iocb_rsp {
1216#define IB_MAC_IOCB_RSP_HL 0x80 1216#define IB_MAC_IOCB_RSP_HL 0x80
1217 __le32 hdr_len; /* */ 1217 __le32 hdr_len; /* */
1218 __le64 hdr_addr; /* */ 1218 __le64 hdr_addr; /* */
1219} __attribute((packed)); 1219} __packed;
1220 1220
1221struct ib_ae_iocb_rsp { 1221struct ib_ae_iocb_rsp {
1222 u8 opcode; 1222 u8 opcode;
@@ -1237,7 +1237,7 @@ struct ib_ae_iocb_rsp {
1237#define PCI_ERR_ANON_BUF_RD 0x40 1237#define PCI_ERR_ANON_BUF_RD 0x40
1238 u8 q_id; 1238 u8 q_id;
1239 __le32 reserved[15]; 1239 __le32 reserved[15];
1240} __attribute((packed)); 1240} __packed;
1241 1241
1242/* 1242/*
1243 * These three structures are for generic 1243 * These three structures are for generic
@@ -1249,7 +1249,7 @@ struct ql_net_rsp_iocb {
1249 __le16 length; 1249 __le16 length;
1250 __le32 tid; 1250 __le32 tid;
1251 __le32 reserved[14]; 1251 __le32 reserved[14];
1252} __attribute((packed)); 1252} __packed;
1253 1253
1254struct net_req_iocb { 1254struct net_req_iocb {
1255 u8 opcode; 1255 u8 opcode;
@@ -1257,7 +1257,7 @@ struct net_req_iocb {
1257 __le16 flags1; 1257 __le16 flags1;
1258 __le32 tid; 1258 __le32 tid;
1259 __le32 reserved1[30]; 1259 __le32 reserved1[30];
1260} __attribute((packed)); 1260} __packed;
1261 1261
1262/* 1262/*
1263 * tx ring initialization control block for chip. 1263 * tx ring initialization control block for chip.
@@ -1283,7 +1283,7 @@ struct wqicb {
1283 __le16 rid; 1283 __le16 rid;
1284 __le64 addr; 1284 __le64 addr;
1285 __le64 cnsmr_idx_addr; 1285 __le64 cnsmr_idx_addr;
1286} __attribute((packed)); 1286} __packed;
1287 1287
1288/* 1288/*
1289 * rx ring initialization control block for chip. 1289 * rx ring initialization control block for chip.
@@ -1317,7 +1317,7 @@ struct cqicb {
1317 __le64 sbq_addr; 1317 __le64 sbq_addr;
1318 __le16 sbq_buf_size; 1318 __le16 sbq_buf_size;
1319 __le16 sbq_len; /* entry count */ 1319 __le16 sbq_len; /* entry count */
1320} __attribute((packed)); 1320} __packed;
1321 1321
1322struct ricb { 1322struct ricb {
1323 u8 base_cq; 1323 u8 base_cq;
@@ -1335,7 +1335,7 @@ struct ricb {
1335 u8 hash_cq_id[1024]; 1335 u8 hash_cq_id[1024];
1336 __le32 ipv6_hash_key[10]; 1336 __le32 ipv6_hash_key[10];
1337 __le32 ipv4_hash_key[4]; 1337 __le32 ipv4_hash_key[4];
1338} __attribute((packed)); 1338} __packed;
1339 1339
1340/* SOFTWARE/DRIVER DATA STRUCTURES. */ 1340/* SOFTWARE/DRIVER DATA STRUCTURES. */
1341 1341
@@ -2227,7 +2227,6 @@ int ql_dump_risc_ram_area(struct ql_adapter *qdev, void *buf,
2227 u32 ram_addr, int word_count); 2227 u32 ram_addr, int word_count);
2228int ql_core_dump(struct ql_adapter *qdev, 2228int ql_core_dump(struct ql_adapter *qdev,
2229 struct ql_mpi_coredump *mpi_coredump); 2229 struct ql_mpi_coredump *mpi_coredump);
2230int ql_mb_sys_err(struct ql_adapter *qdev);
2231int ql_mb_about_fw(struct ql_adapter *qdev); 2230int ql_mb_about_fw(struct ql_adapter *qdev);
2232int ql_wol(struct ql_adapter *qdev); 2231int ql_wol(struct ql_adapter *qdev);
2233int ql_mb_wol_set_magic(struct ql_adapter *qdev, u32 enable_wol); 2232int ql_mb_wol_set_magic(struct ql_adapter *qdev, u32 enable_wol);
@@ -2246,6 +2245,7 @@ netdev_tx_t ql_lb_send(struct sk_buff *skb, struct net_device *ndev);
2246void ql_check_lb_frame(struct ql_adapter *, struct sk_buff *); 2245void ql_check_lb_frame(struct ql_adapter *, struct sk_buff *);
2247int ql_own_firmware(struct ql_adapter *qdev); 2246int ql_own_firmware(struct ql_adapter *qdev);
2248int ql_clean_lb_rx_ring(struct rx_ring *rx_ring, int budget); 2247int ql_clean_lb_rx_ring(struct rx_ring *rx_ring, int budget);
2248void qlge_set_multicast_list(struct net_device *ndev);
2249 2249
2250#if 1 2250#if 1
2251#define QL_ALL_DUMP 2251#define QL_ALL_DUMP