|
@@ -68,6 +68,7 @@ struct usbnet {
|
|
# define EVENT_RX_PAUSED 5
|
|
# define EVENT_RX_PAUSED 5
|
|
# define EVENT_DEV_ASLEEP 6
|
|
# define EVENT_DEV_ASLEEP 6
|
|
# define EVENT_DEV_OPEN 7
|
|
# define EVENT_DEV_OPEN 7
|
|
|
|
+# define EVENT_DEVICE_REPORT_IDLE 8
|
|
};
|
|
};
|
|
|
|
|
|
static inline struct usb_driver *driver_of(struct usb_interface *intf)
|
|
static inline struct usb_driver *driver_of(struct usb_interface *intf)
|
|
@@ -160,6 +161,7 @@ extern int usbnet_probe(struct usb_interface *, const struct usb_device_id *);
|
|
extern int usbnet_suspend(struct usb_interface *, pm_message_t);
|
|
extern int usbnet_suspend(struct usb_interface *, pm_message_t);
|
|
extern int usbnet_resume(struct usb_interface *);
|
|
extern int usbnet_resume(struct usb_interface *);
|
|
extern void usbnet_disconnect(struct usb_interface *);
|
|
extern void usbnet_disconnect(struct usb_interface *);
|
|
|
|
+extern void usbnet_device_suggests_idle(struct usbnet *dev);
|
|
|
|
|
|
|
|
|
|
/* Drivers that reuse some of the standard USB CDC infrastructure
|
|
/* Drivers that reuse some of the standard USB CDC infrastructure
|