Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus
[linux-btrfs-devel.git] / drivers / staging / rtl8712 / usb_osintf.h
blob0da6c1db048eb0ba97b5fa2ce14ad099a211aeda
1 #ifndef __USB_OSINTF_H
2 #define __USB_OSINTF_H
4 #include "osdep_service.h"
5 #include "drv_types.h"
6 #include "usb_vendor_req.h"
8 #define USBD_HALTED(Status) ((u32)(Status) >> 30 == 3)
10 extern char *r8712_initmac;
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);
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);
24 #endif