diff options
author | hselasky <hselasky@FreeBSD.org> | 2012-04-29 17:12:33 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2012-04-29 17:12:33 +0000 |
commit | 5827c4e6ace287e7d537ca4e7b19b17680693d6a (patch) | |
tree | 75a758f6263175281d04ea31332521e60c1a4fc7 /sys/dev/usb/usb_hub.h | |
parent | 99428404bed28d421872e61f367292954ab61dc2 (diff) | |
download | FreeBSD-src-5827c4e6ace287e7d537ca4e7b19b17680693d6a.zip FreeBSD-src-5827c4e6ace287e7d537ca4e7b19b17680693d6a.tar.gz |
Add support for Multi-TT mode of modern USB HUBs.
This will give you more bandwidth for isochronous
FULL speed applications connected through a
High Speed HUB.
This patch has been tested with XHCI and EHCI.
MFC after: 1 week
Diffstat (limited to 'sys/dev/usb/usb_hub.h')
-rw-r--r-- | sys/dev/usb/usb_hub.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sys/dev/usb/usb_hub.h b/sys/dev/usb/usb_hub.h index 0f59599..23a1fa4 100644 --- a/sys/dev/usb/usb_hub.h +++ b/sys/dev/usb/usb_hub.h @@ -38,22 +38,9 @@ struct usb_port { }; /* - * The following structure defines how many bytes are - * left in an 1ms USB time slot. - */ -struct usb_fs_isoc_schedule { - uint16_t total_bytes; - uint8_t frame_bytes; - uint8_t frame_slot; -}; - -/* * The following structure defines an USB HUB. */ struct usb_hub { -#if USB_HAVE_TT_SUPPORT - struct usb_fs_isoc_schedule fs_isoc_schedule[USB_ISOC_TIME_MAX]; -#endif struct usb_device *hubudev; /* the HUB device */ usb_error_t (*explore) (struct usb_device *hub); void *hubsoftc; @@ -68,7 +55,6 @@ struct usb_hub { void usb_hs_bandwidth_alloc(struct usb_xfer *xfer); void usb_hs_bandwidth_free(struct usb_xfer *xfer); -void usbd_fs_isoc_schedule_init_all(struct usb_fs_isoc_schedule *fss); void usb_bus_port_set_device(struct usb_bus *bus, struct usb_port *up, struct usb_device *udev, uint8_t device_index); struct usb_device *usb_bus_port_get_device(struct usb_bus *bus, |