diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-11-22 21:16:43 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-11-22 21:16:43 +0000 |
commit | 87194982c0d82d711579a618a553c5d555599700 (patch) | |
tree | 03755e6bb81bc77a4f5a2db3eb4c79f32ac294f7 /sys/dev/usb/usb_hub.h | |
parent | 33b0b9f0e9af6a61858f23dd610353152d5204cd (diff) | |
download | FreeBSD-src-87194982c0d82d711579a618a553c5d555599700.zip FreeBSD-src-87194982c0d82d711579a618a553c5d555599700.tar.gz |
Improve High Speed slot allocation mechanism by moving the computation to the
endpoint rather than per xfer and provide functions around get/free of resources.
Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usb_hub.h')
-rw-r--r-- | sys/dev/usb/usb_hub.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_hub.h b/sys/dev/usb/usb_hub.h index ceb0cc2..5b8dedf 100644 --- a/sys/dev/usb/usb_hub.h +++ b/sys/dev/usb/usb_hub.h @@ -66,8 +66,8 @@ struct usb_hub { /* function prototypes */ -uint8_t usb_intr_schedule_adjust(struct usb_device *udev, int16_t len, - uint8_t slot); +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); |