| //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| // Copyright (c) 1996-2004 Winbond Electronic Corporation |
| // |
| // Module Name: |
| // wbusb_s.h |
| // |
| // Abstract: |
| // Linux driver. |
| // |
| // Author: |
| // |
| //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| |
| #define OS_SLEEP( _MT ) { set_current_state(TASK_INTERRUPTIBLE); \ |
| schedule_timeout( _MT*HZ/1000000 ); } |
| |
| |
| //--------------------------------------------------------------------------- |
| // RW_CONTEXT -- |
| // |
| // Used to track driver-generated io irps |
| //--------------------------------------------------------------------------- |
| typedef struct _RW_CONTEXT |
| { |
| void* pHwData; |
| PURB pUrb; |
| void* pCallBackFunctionParameter; |
| } RW_CONTEXT, *PRW_CONTEXT; |
| |
| |
| |
| |
| #define DRIVER_AUTHOR "Original by: Jeff Lee<YY_Lee@issc.com.tw> Adapted to 2.6.x by Costantino Leandro (Rxart Desktop) <le_costantino@pixartargentina.com.ar>" |
| #define DRIVER_DESC "IS89C35 802.11bg WLAN USB Driver" |
| |
| |
| |
| typedef struct _WBUSB { |
| u32 IsUsb20; |
| struct usb_device *udev; |
| u32 DetectCount; |
| } WBUSB, *PWBUSB; |