aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/usb.h
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2015-03-23 16:20:36 +0000
committerMichael Brown <mcb30@ipxe.org>2015-03-23 16:22:55 +0000
commit5486c947e2ecc33490bc34c638fc01b879917408 (patch)
treec5c3af4f4141257169df7c7c38bb45d0f70016a0 /src/include/ipxe/usb.h
parent9e88194655c7d074fb7eeab834db97353c47282d (diff)
downloadipxe-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.h4
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
*