1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
4 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
6 * Modifications for inclusion into the Linux staging tree are
7 * Copyright(c) 2010 Larry Finger. All rights reserved.
13 ******************************************************************************/
14 #ifndef __OSDEP_INTF_H_
15 #define __OSDEP_INTF_H_
17 #include "osdep_service.h"
18 #include "drv_types.h"
20 #define RND4(x) (((x >> 2) + ((x & 3) != 0)) << 2)
24 /* when in USB, IO is through interrupt in/out endpoints */
25 struct usb_device *udev;
26 struct urb *piorw_urb;
27 struct completion io_retevt_comp;
30 int r871x_ioctl(struct net_device *dev, struct ifreq *rq, int cmd);
32 #endif /*_OSDEP_INTF_H_*/