summaryrefslogtreecommitdiff
path: root/include/linux/usb
diff options
context:
space:
mode:
authorJason Cooper <jason@lakedaemon.net>2014-11-26 03:48:18 +0000
committerJason Cooper <jason@lakedaemon.net>2014-11-26 03:48:18 +0000
commitb3d6cfd09184dcea17f7d8e29c71fafe58bb5f00 (patch)
tree8be4c2cc6caf1e7a5d31401f3f2e960110df6ebd /include/linux/usb
parent389c74aaace1ae2a423184b03d8198311fef2c7d (diff)
parent2fbbc96d16009276153fd33823616877dcca30d8 (diff)
Merge tag 'tags/phy-dt-header' into mvebu/dt-usb_phy
shared header file which will be referenced from both PHY driver and its associated Device Tree node(s)
Diffstat (limited to 'include/linux/usb')
-rw-r--r--include/linux/usb/usbnet.h4
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 */