Staging: add w35und wifi driver
[linux-2.6/mini2440.git] / drivers / staging / winbond / linux / wbusb_s.h
blobd5c1d53de70b5429967815cb7f322d6ab4473c02
1 //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 // Copyright (c) 1996-2004 Winbond Electronic Corporation
3 //
4 // Module Name:
5 // wbusb_s.h
6 //
7 // Abstract:
8 // Linux driver.
9 //
10 // Author:
12 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
14 #define OS_SLEEP( _MT ) { set_current_state(TASK_INTERRUPTIBLE); \
15 schedule_timeout( _MT*HZ/1000000 ); }
18 //---------------------------------------------------------------------------
19 // RW_CONTEXT --
21 // Used to track driver-generated io irps
22 //---------------------------------------------------------------------------
23 typedef struct _RW_CONTEXT
25 void* pHwData;
26 PURB pUrb;
27 void* pCallBackFunctionParameter;
28 } RW_CONTEXT, *PRW_CONTEXT;
33 #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>"
34 #define DRIVER_DESC "IS89C35 802.11bg WLAN USB Driver"
38 typedef struct _WBUSB {
39 u32 IsUsb20;
40 struct usb_device *udev;
41 u32 DetectCount;
42 } WBUSB, *PWBUSB;