diff options
| author | Michael Brown | 2015-03-23 17:20:36 +0100 |
|---|---|---|
| committer | Michael Brown | 2015-03-23 17:22:55 +0100 |
| commit | 5486c947e2ecc33490bc34c638fc01b879917408 (patch) | |
| tree | c5c3af4f4141257169df7c7c38bb45d0f70016a0 /src/include | |
| parent | [usb] Add clear_tt() hub method to clear transaction translator buffer (diff) | |
| download | ipxe-5486c947e2ecc33490bc34c638fc01b879917408.tar.gz ipxe-5486c947e2ecc33490bc34c638fc01b879917408.tar.xz ipxe-5486c947e2ecc33490bc34c638fc01b879917408.zip | |
[usb] Clear transaction translator buffers when applicable
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/ipxe/usb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/ipxe/usb.h b/src/include/ipxe/usb.h index ee4004e9c..6f67e0619 100644 --- a/src/include/ipxe/usb.h +++ b/src/include/ipxe/usb.h @@ -249,6 +249,9 @@ struct usb_endpoint_descriptor { /** Endpoint attribute transfer type mask */ #define USB_ENDPOINT_ATTR_TYPE_MASK 0x03 +/** Endpoint periodic type */ +#define USB_ENDPOINT_ATTR_PERIODIC 0x01 + /** Control endpoint transfer type */ #define USB_ENDPOINT_ATTR_CONTROL 0x00 @@ -1189,6 +1192,7 @@ extern void usb_free_address ( struct usb_bus *bus, unsigned int address ); extern unsigned int usb_route_string ( struct usb_device *usb ); extern unsigned int usb_depth ( struct usb_device *usb ); extern struct usb_port * usb_root_hub_port ( struct usb_device *usb ); +extern struct usb_port * usb_transaction_translator ( struct usb_device *usb ); /** Minimum reset time * |
