diff options
Diffstat (limited to 'include/linux/usb/usbnet.h')
| -rw-r--r-- | include/linux/usb/usbnet.h | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/usb/usbnet.h b/include/linux/usb/usbnet.h index 26088feb6608..d9a4905e01d0 100644 --- a/include/linux/usb/usbnet.h +++ b/include/linux/usb/usbnet.h @@ -78,6 +78,7 @@ struct usbnet {  #		define EVENT_NO_RUNTIME_PM	9  #		define EVENT_RX_KILL	10  #		define EVENT_LINK_CHANGE	11 +#		define EVENT_SET_RX_MODE	12  };  static inline struct usb_driver *driver_of(struct usb_interface *intf) @@ -159,6 +160,9 @@ struct driver_info {  	/* called by minidriver when receiving indication */  	void	(*indication)(struct usbnet *dev, void *ind, int indlen); +	/* rx mode change (device changes address list filtering) */ +	void	(*set_rx_mode)(struct usbnet *dev); +  	/* for new devices, use the descriptor-reading code instead */  	int		in;		/* rx endpoint */  	int		out;		/* tx endpoint */  |