1 #ifndef __OSDEP_INTF_H_ 2 #define __OSDEP_INTF_H_ 3 4 #include "osdep_service.h" 5 #include "drv_types.h" 6 7 #define RND4(x) (((x >> 2) + (((x & 3) == 0) ? 0 : 1)) << 2) 8 9 struct intf_priv { 10 u8 *intf_dev; 11 /* when in USB, IO is through interrupt in/out endpoints */ 12 struct usb_device *udev; 13 struct urb *piorw_urb; 14 struct semaphore io_retevt; 15 }; 16 17 int r871x_ioctl(struct net_device *dev, struct ifreq *rq, int cmd); 18 19 #endif /*_OSDEP_INTF_H_*/ 20