diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-02-22 15:10:22 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-02-22 15:10:22 -0500 |
commit | 5db5e44cdcdc5ee9cc821bd4d63445af0bb34bce (patch) | |
tree | b5e5787a6d5c15e589d275c7434ebbf341257234 /drivers/net/wireless/zd1211rw/zd_usb.h | |
parent | db62983a1e4b2af9e79c97af768f0c8b80bd93f0 (diff) | |
parent | 320d6c1b56de5f461c6062625b9664095f90ee95 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Diffstat (limited to 'drivers/net/wireless/zd1211rw/zd_usb.h')
-rw-r--r-- | drivers/net/wireless/zd1211rw/zd_usb.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_usb.h b/drivers/net/wireless/zd1211rw/zd_usb.h index 2d688f48a34c..b3df2c8116cc 100644 --- a/drivers/net/wireless/zd1211rw/zd_usb.h +++ b/drivers/net/wireless/zd1211rw/zd_usb.h | |||
@@ -217,8 +217,11 @@ struct zd_usb { | |||
217 | struct zd_usb_rx rx; | 217 | struct zd_usb_rx rx; |
218 | struct zd_usb_tx tx; | 218 | struct zd_usb_tx tx; |
219 | struct usb_interface *intf; | 219 | struct usb_interface *intf; |
220 | struct usb_anchor submitted_cmds; | ||
221 | struct urb *urb_async_waiting; | ||
222 | int cmd_error; | ||
220 | u8 req_buf[64]; /* zd_usb_iowrite16v needs 62 bytes */ | 223 | u8 req_buf[64]; /* zd_usb_iowrite16v needs 62 bytes */ |
221 | u8 is_zd1211b:1, initialized:1, was_running:1; | 224 | u8 is_zd1211b:1, initialized:1, was_running:1, in_async:1; |
222 | }; | 225 | }; |
223 | 226 | ||
224 | #define zd_usb_dev(usb) (&usb->intf->dev) | 227 | #define zd_usb_dev(usb) (&usb->intf->dev) |
@@ -270,6 +273,10 @@ static inline int zd_usb_ioread16(struct zd_usb *usb, u16 *value, | |||
270 | return zd_usb_ioread16v(usb, value, (const zd_addr_t *)&addr, 1); | 273 | return zd_usb_ioread16v(usb, value, (const zd_addr_t *)&addr, 1); |
271 | } | 274 | } |
272 | 275 | ||
276 | void zd_usb_iowrite16v_async_start(struct zd_usb *usb); | ||
277 | int zd_usb_iowrite16v_async_end(struct zd_usb *usb, unsigned int timeout); | ||
278 | int zd_usb_iowrite16v_async(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs, | ||
279 | unsigned int count); | ||
273 | int zd_usb_iowrite16v(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs, | 280 | int zd_usb_iowrite16v(struct zd_usb *usb, const struct zd_ioreq16 *ioreqs, |
274 | unsigned int count); | 281 | unsigned int count); |
275 | 282 | ||