diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-08 14:15:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-08 14:15:23 -0400 |
commit | f2d7499be1b1fe1cd8a5e6a01c1f44173894a241 (patch) | |
tree | 64d341a90d8cb831a5097e365d303367906f1373 /drivers/net/qla3xxx.h | |
parent | 8d659f5e43c5db2630e85f507b7384365e9e1c1e (diff) | |
parent | 76aab2c1eae491a5d73ac83deec97dd28ebac584 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (99 commits)
pkt_sched: Fix actions referencing
bnx2x: fix logical op
tcp: (whitespace only) fix confusing indentation
pkt_sched: Fix qdisc config when link is down.
[Bluetooth] Add full quirk implementation for btusb driver
[Bluetooth] Removal of unnecessary ignore module parameter
[Bluetooth] Add parameters to control BNEP header compression
ath9k: Revamp wireless mode usage
ath9k: More unused macros
ath9k: Remove a few unused macros and fix indentation
ath9k: Use mac80211's band macros and remove enum hal_freq_band
ath9k: Remove redundant data structure ath9k_txq_info
ath9k: Cleanup data structures related to HW capabilities
ath9k: work around gcc ICEs
ath9k: Add new Atheros IEEE 802.11n driver
ath5k: remove Atheros 11n devices from supported list
list.h: add list_cut_position()
list.h: Add list_splice_tail() and list_splice_tail_init()
p54: swap short slot time dcf values
rt2x00: Block all unsupported modes
...
Diffstat (limited to 'drivers/net/qla3xxx.h')
-rw-r--r-- | drivers/net/qla3xxx.h | 105 |
1 files changed, 0 insertions, 105 deletions
diff --git a/drivers/net/qla3xxx.h b/drivers/net/qla3xxx.h index 58a086fddec6..7113e71b15a1 100644 --- a/drivers/net/qla3xxx.h +++ b/drivers/net/qla3xxx.h | |||
@@ -14,24 +14,14 @@ | |||
14 | 14 | ||
15 | #define OPCODE_OB_MAC_IOCB_FN0 0x01 | 15 | #define OPCODE_OB_MAC_IOCB_FN0 0x01 |
16 | #define OPCODE_OB_MAC_IOCB_FN2 0x21 | 16 | #define OPCODE_OB_MAC_IOCB_FN2 0x21 |
17 | #define OPCODE_OB_TCP_IOCB_FN0 0x03 | ||
18 | #define OPCODE_OB_TCP_IOCB_FN2 0x23 | ||
19 | #define OPCODE_UPDATE_NCB_IOCB_FN0 0x00 | ||
20 | #define OPCODE_UPDATE_NCB_IOCB_FN2 0x20 | ||
21 | 17 | ||
22 | #define OPCODE_UPDATE_NCB_IOCB 0xF0 | ||
23 | #define OPCODE_IB_MAC_IOCB 0xF9 | 18 | #define OPCODE_IB_MAC_IOCB 0xF9 |
24 | #define OPCODE_IB_3032_MAC_IOCB 0x09 | 19 | #define OPCODE_IB_3032_MAC_IOCB 0x09 |
25 | #define OPCODE_IB_IP_IOCB 0xFA | 20 | #define OPCODE_IB_IP_IOCB 0xFA |
26 | #define OPCODE_IB_3032_IP_IOCB 0x0A | 21 | #define OPCODE_IB_3032_IP_IOCB 0x0A |
27 | #define OPCODE_IB_TCP_IOCB 0xFB | ||
28 | #define OPCODE_DUMP_PROTO_IOCB 0xFE | ||
29 | #define OPCODE_BUFFER_ALERT_IOCB 0xFB | ||
30 | 22 | ||
31 | #define OPCODE_FUNC_ID_MASK 0x30 | 23 | #define OPCODE_FUNC_ID_MASK 0x30 |
32 | #define OUTBOUND_MAC_IOCB 0x01 /* plus function bits */ | 24 | #define OUTBOUND_MAC_IOCB 0x01 /* plus function bits */ |
33 | #define OUTBOUND_TCP_IOCB 0x03 /* plus function bits */ | ||
34 | #define UPDATE_NCB_IOCB 0x00 /* plus function bits */ | ||
35 | 25 | ||
36 | #define FN0_MA_BITS_MASK 0x00 | 26 | #define FN0_MA_BITS_MASK 0x00 |
37 | #define FN1_MA_BITS_MASK 0x80 | 27 | #define FN1_MA_BITS_MASK 0x80 |
@@ -159,75 +149,6 @@ struct ob_ip_iocb_rsp { | |||
159 | __le32 reserved2; | 149 | __le32 reserved2; |
160 | }; | 150 | }; |
161 | 151 | ||
162 | struct ob_tcp_iocb_req { | ||
163 | u8 opcode; | ||
164 | |||
165 | u8 flags0; | ||
166 | #define OB_TCP_IOCB_REQ_P 0x80 | ||
167 | #define OB_TCP_IOCB_REQ_CI 0x20 | ||
168 | #define OB_TCP_IOCB_REQ_H 0x10 | ||
169 | #define OB_TCP_IOCB_REQ_LN 0x08 | ||
170 | #define OB_TCP_IOCB_REQ_K 0x04 | ||
171 | #define OB_TCP_IOCB_REQ_D 0x02 | ||
172 | #define OB_TCP_IOCB_REQ_I 0x01 | ||
173 | |||
174 | u8 flags1; | ||
175 | #define OB_TCP_IOCB_REQ_OSM 0x40 | ||
176 | #define OB_TCP_IOCB_REQ_URG 0x20 | ||
177 | #define OB_TCP_IOCB_REQ_ACK 0x10 | ||
178 | #define OB_TCP_IOCB_REQ_PSH 0x08 | ||
179 | #define OB_TCP_IOCB_REQ_RST 0x04 | ||
180 | #define OB_TCP_IOCB_REQ_SYN 0x02 | ||
181 | #define OB_TCP_IOCB_REQ_FIN 0x01 | ||
182 | |||
183 | u8 options_len; | ||
184 | #define OB_TCP_IOCB_REQ_OMASK 0xF0 | ||
185 | #define OB_TCP_IOCB_REQ_SHIFT 4 | ||
186 | |||
187 | __le32 transaction_id; | ||
188 | __le32 data_len; | ||
189 | __le32 hncb_ptr_low; | ||
190 | __le32 hncb_ptr_high; | ||
191 | __le32 buf_addr0_low; | ||
192 | __le32 buf_addr0_high; | ||
193 | __le32 buf_0_len; | ||
194 | __le32 buf_addr1_low; | ||
195 | __le32 buf_addr1_high; | ||
196 | __le32 buf_1_len; | ||
197 | __le32 buf_addr2_low; | ||
198 | __le32 buf_addr2_high; | ||
199 | __le32 buf_2_len; | ||
200 | __le32 time_stamp; | ||
201 | __le32 reserved1; | ||
202 | }; | ||
203 | |||
204 | struct ob_tcp_iocb_rsp { | ||
205 | u8 opcode; | ||
206 | |||
207 | u8 flags0; | ||
208 | #define OB_TCP_IOCB_RSP_C 0x20 | ||
209 | #define OB_TCP_IOCB_RSP_H 0x10 | ||
210 | #define OB_TCP_IOCB_RSP_LN 0x08 | ||
211 | #define OB_TCP_IOCB_RSP_K 0x04 | ||
212 | #define OB_TCP_IOCB_RSP_D 0x02 | ||
213 | #define OB_TCP_IOCB_RSP_I 0x01 | ||
214 | |||
215 | u8 flags1; | ||
216 | #define OB_TCP_IOCB_RSP_E 0x10 | ||
217 | #define OB_TCP_IOCB_RSP_W 0x08 | ||
218 | #define OB_TCP_IOCB_RSP_P 0x04 | ||
219 | #define OB_TCP_IOCB_RSP_T 0x02 | ||
220 | #define OB_TCP_IOCB_RSP_F 0x01 | ||
221 | |||
222 | u8 state; | ||
223 | #define OB_TCP_IOCB_RSP_SMASK 0xF0 | ||
224 | #define OB_TCP_IOCB_RSP_SHIFT 4 | ||
225 | |||
226 | __le32 transaction_id; | ||
227 | __le32 local_ncb_ptr; | ||
228 | __le32 reserved0; | ||
229 | }; | ||
230 | |||
231 | struct ib_ip_iocb_rsp { | 152 | struct ib_ip_iocb_rsp { |
232 | u8 opcode; | 153 | u8 opcode; |
233 | #define IB_IP_IOCB_RSP_3032_V 0x80 | 154 | #define IB_IP_IOCB_RSP_3032_V 0x80 |
@@ -256,25 +177,6 @@ struct ib_ip_iocb_rsp { | |||
256 | __le32 ial_high; | 177 | __le32 ial_high; |
257 | }; | 178 | }; |
258 | 179 | ||
259 | struct ib_tcp_iocb_rsp { | ||
260 | u8 opcode; | ||
261 | u8 flags; | ||
262 | #define IB_TCP_IOCB_RSP_P 0x80 | ||
263 | #define IB_TCP_IOCB_RSP_T 0x40 | ||
264 | #define IB_TCP_IOCB_RSP_D 0x20 | ||
265 | #define IB_TCP_IOCB_RSP_N 0x10 | ||
266 | #define IB_TCP_IOCB_RSP_IP 0x03 | ||
267 | #define IB_TCP_FLAG_MASK 0xf0 | ||
268 | #define IB_TCP_FLAG_IOCB_SYN 0x00 | ||
269 | |||
270 | #define TCP_IB_RSP_FLAGS(x) (x->flags & ~IB_TCP_FLAG_MASK) | ||
271 | |||
272 | __le16 length; | ||
273 | __le32 hncb_ref_num; | ||
274 | __le32 ial_low; | ||
275 | __le32 ial_high; | ||
276 | }; | ||
277 | |||
278 | struct net_rsp_iocb { | 180 | struct net_rsp_iocb { |
279 | u8 opcode; | 181 | u8 opcode; |
280 | u8 flags; | 182 | u8 flags; |
@@ -1266,20 +1168,13 @@ struct ql3_adapter { | |||
1266 | u32 small_buf_release_cnt; | 1168 | u32 small_buf_release_cnt; |
1267 | u32 small_buf_total_size; | 1169 | u32 small_buf_total_size; |
1268 | 1170 | ||
1269 | /* ISR related, saves status for DPC. */ | ||
1270 | u32 control_status; | ||
1271 | |||
1272 | struct eeprom_data nvram_data; | 1171 | struct eeprom_data nvram_data; |
1273 | struct timer_list ioctl_timer; | ||
1274 | u32 port_link_state; | 1172 | u32 port_link_state; |
1275 | u32 last_rsp_offset; | ||
1276 | 1173 | ||
1277 | /* 4022 specific */ | 1174 | /* 4022 specific */ |
1278 | u32 mac_index; /* Driver's MAC number can be 0 or 1 for first and second networking functions respectively */ | 1175 | u32 mac_index; /* Driver's MAC number can be 0 or 1 for first and second networking functions respectively */ |
1279 | u32 PHYAddr; /* Address of PHY 0x1e00 Port 0 and 0x1f00 Port 1 */ | 1176 | u32 PHYAddr; /* Address of PHY 0x1e00 Port 0 and 0x1f00 Port 1 */ |
1280 | u32 mac_ob_opcode; /* Opcode to use on mac transmission */ | 1177 | u32 mac_ob_opcode; /* Opcode to use on mac transmission */ |
1281 | u32 tcp_ob_opcode; /* Opcode to use on tcp transmission */ | ||
1282 | u32 update_ob_opcode; /* Opcode to use for updating NCB */ | ||
1283 | u32 mb_bit_mask; /* MA Bits mask to use on transmission */ | 1178 | u32 mb_bit_mask; /* MA Bits mask to use on transmission */ |
1284 | u32 numPorts; | 1179 | u32 numPorts; |
1285 | struct workqueue_struct *workqueue; | 1180 | struct workqueue_struct *workqueue; |