diff options
author | Michael Brown <mcb30@ipxe.org> | 2015-03-23 16:20:36 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2015-03-23 16:22:55 +0000 |
commit | 5486c947e2ecc33490bc34c638fc01b879917408 (patch) | |
tree | c5c3af4f4141257169df7c7c38bb45d0f70016a0 /src/include/ipxe/usb.h | |
parent | 9e88194655c7d074fb7eeab834db97353c47282d (diff) | |
download | ipxe-5486c947e2ecc33490bc34c638fc01b879917408.tar.gz |
[usb] Clear transaction translator buffers when applicable
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/usb.h')
-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 * |