]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - drivers/staging/winbond/linux/wbusb_s.h
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/ericvh/v9fs
[linux-2.6-omap-h63xx.git] / drivers / staging / winbond / linux / wbusb_s.h
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:
11 //
12 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
13
14 #define OS_SLEEP( _MT ) { set_current_state(TASK_INTERRUPTIBLE); \
15                           schedule_timeout( _MT*HZ/1000000 ); }
16
17
18 //---------------------------------------------------------------------------
19 //  RW_CONTEXT --
20 //
21 //  Used to track driver-generated io irps
22 //---------------------------------------------------------------------------
23 typedef struct _RW_CONTEXT
24 {
25         void*                   pHwData;
26         PURB                    pUrb;
27         void*                   pCallBackFunctionParameter;
28 } RW_CONTEXT, *PRW_CONTEXT;
29
30
31
32
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"
35
36
37
38 typedef struct _WBUSB {
39         u32     IsUsb20;
40         struct usb_device *udev;
41         u32     DetectCount;
42 } WBUSB, *PWBUSB;