staging: r8712u: Add the new driver to the mainline kernel
[pandora-kernel.git] / drivers / staging / rtl8712 / usb_osintf.h
1 #ifndef __USB_OSINTF_H
2 #define __USB_OSINTF_H
3
4 #include "osdep_service.h"
5 #include "drv_types.h"
6 #include "usb_vendor_req.h"
7
8 #define USBD_HALTED(Status) ((u32)(Status) >> 30 == 3)
9
10 extern char *r8712_initmac;
11
12 unsigned int r8712_usb_inirp_init(struct _adapter *padapter);
13 unsigned int r8712_usb_inirp_deinit(struct _adapter *padapter);
14 uint rtl871x_hal_init(struct _adapter *padapter);
15 uint rtl8712_hal_deinit(struct _adapter *padapter);
16
17 void rtl871x_intf_stop(struct _adapter *padapter);
18 void r871x_dev_unload(struct _adapter *padapter);
19 void r8712_stop_drv_threads(struct _adapter *padapter);
20 u8 r8712_init_drv_sw(struct _adapter *padapter);
21 u8 r8712_free_drv_sw(struct _adapter *padapter);
22 struct net_device *r8712_init_netdev(void);
23
24 #endif