summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/usb_controller.h')
-rw-r--r--sys/dev/usb/usb_controller.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/usb_controller.h b/sys/dev/usb/usb_controller.h
index fbdfe31..6e35542 100644
--- a/sys/dev/usb/usb_controller.h
+++ b/sys/dev/usb/usb_controller.h
@@ -99,6 +99,9 @@ struct usb_bus_methods {
void (*set_stall) (struct usb_device *udev, struct usb_xfer *xfer, struct usb_endpoint *ep, uint8_t *did_stall);
void (*clear_stall) (struct usb_device *udev, struct usb_endpoint *ep);
+ /* Optional transfer polling support */
+
+ void (*xfer_poll) (struct usb_bus *);
};
/*
OpenPOWER on IntegriCloud