1 #ifndef __OSDEP_INTF_H_
2 #define __OSDEP_INTF_H_
4 #include "osdep_service.h"
7 #define RND4(x) (((x >> 2) + (((x & 3) == 0) ? 0 : 1)) << 2)
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;
17 int r871x_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
19 #endif /*_OSDEP_INTF_H_*/