diff options
| author | Ralf Baechle <ralf@linux-mips.org> | 2013-02-21 12:51:33 +0100 | 
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2013-02-21 12:51:33 +0100 | 
| commit | 8bfc245f9ad7bd4e461179e4e7852ef99b8b6144 (patch) | |
| tree | 0ad091f645fbc8318634599d278966a53d3922ee /include/linux/usb/usbnet.h | |
| parent | 612663a974065c3445e641d046769fe4c55a6438 (diff) | |
| parent | 535237cecab2b078114be712c67e89a0db61965f (diff) | |
| download | olio-linux-3.10-8bfc245f9ad7bd4e461179e4e7852ef99b8b6144.tar.xz olio-linux-3.10-8bfc245f9ad7bd4e461179e4e7852ef99b8b6144.zip  | |
Merge branch 'mips-next-3.9' of git://git.linux-mips.org/pub/scm/john/linux-john into mips-for-linux-next
Diffstat (limited to 'include/linux/usb/usbnet.h')
| -rw-r--r-- | include/linux/usb/usbnet.h | 4 | 
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h index 5de7a220e98..0e5ac93bab1 100644 --- a/include/linux/usb/usbnet.h +++ b/include/linux/usb/usbnet.h @@ -33,6 +33,7 @@ struct usbnet {  	wait_queue_head_t	*wait;  	struct mutex		phy_mutex;  	unsigned char		suspend_count; +	unsigned char		pkt_cnt, pkt_err;  	/* i/o info: pipes etc */  	unsigned		in, out; @@ -70,6 +71,7 @@ struct usbnet {  #		define EVENT_DEV_OPEN	7  #		define EVENT_DEVICE_REPORT_IDLE	8  #		define EVENT_NO_RUNTIME_PM	9 +#		define EVENT_RX_KILL	10  };  static inline struct usb_driver *driver_of(struct usb_interface *intf) @@ -100,7 +102,6 @@ struct driver_info {  #define FLAG_LINK_INTR	0x0800		/* updates link (carrier) status */  #define FLAG_POINTTOPOINT 0x1000	/* possibly use "usb%d" names */ -#define FLAG_NOARP	0x2000		/* device can't do ARP */  /*   * Indicates to usbnet, that USB driver accumulates multiple IP packets. @@ -108,6 +109,7 @@ struct driver_info {   */  #define FLAG_MULTI_PACKET	0x2000  #define FLAG_RX_ASSEMBLE	0x4000	/* rx packets may span >1 frames */ +#define FLAG_NOARP		0x8000	/* device can't do ARP */  	/* init device ... can sleep, or cause probe() failure */  	int	(*bind)(struct usbnet *, struct usb_interface *);  |