diff options
author | Michael Brown | 2015-03-23 16:59:51 +0100 |
---|---|---|
committer | Michael Brown | 2015-03-23 17:21:13 +0100 |
commit | 9e88194655c7d074fb7eeab834db97353c47282d (patch) | |
tree | 9b451e999176a2aa082e36f314b537f7d5dda41a /src/include | |
parent | [usb] Reset endpoints without waiting for a new transfer to be enqueued (diff) | |
download | ipxe-9e88194655c7d074fb7eeab834db97353c47282d.tar.gz ipxe-9e88194655c7d074fb7eeab834db97353c47282d.tar.xz ipxe-9e88194655c7d074fb7eeab834db97353c47282d.zip |
[usb] Add clear_tt() hub method to clear transaction translator buffer
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ipxe/usb.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/ipxe/usb.h b/src/include/ipxe/usb.h index 5b95c20c..ee4004e9 100644 --- a/src/include/ipxe/usb.h +++ b/src/include/ipxe/usb.h @@ -820,6 +820,15 @@ struct usb_hub_driver_operations { * @ret rc Return status code */ int ( * speed ) ( struct usb_hub *hub, struct usb_port *port ); + /** Clear transaction translator buffer + * + * @v hub USB hub + * @v port USB port + * @v ep USB endpoint + * @ret rc Return status code + */ + int ( * clear_tt ) ( struct usb_hub *hub, struct usb_port *port, + struct usb_endpoint *ep ); }; /** |