diff options
author | thompsa <thompsa@FreeBSD.org> | 2010-06-22 20:57:48 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2010-06-22 20:57:48 +0000 |
commit | fe6aa0a139aad7873eb103f50e6b1a5cf57d795b (patch) | |
tree | 309d928489f1ea66c71c2f1880e5b0478ac9dd21 /sys/dev/usb/usb_transfer.c | |
parent | cc9971b6817a61a639c00353a0740ae955030847 (diff) | |
download | FreeBSD-src-fe6aa0a139aad7873eb103f50e6b1a5cf57d795b.zip FreeBSD-src-fe6aa0a139aad7873eb103f50e6b1a5cf57d795b.tar.gz |
Add support for LOW speed BULK transfers. This mode is not recommended by the
USB 2.0 standard, though some USB devices use it anyway.
Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usb_transfer.c')
-rw-r--r-- | sys/dev/usb/usb_transfer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_transfer.c b/sys/dev/usb/usb_transfer.c index 535d12b..e9bd64e 100644 --- a/sys/dev/usb/usb_transfer.c +++ b/sys/dev/usb/usb_transfer.c @@ -3057,7 +3057,7 @@ usbd_get_std_packet_size(struct usb_std_packet_size *ptr, }; static const uint16_t bulk_min[USB_SPEED_MAX] = { - [USB_SPEED_LOW] = 0, /* not supported */ + [USB_SPEED_LOW] = 8, [USB_SPEED_FULL] = 8, [USB_SPEED_HIGH] = 512, [USB_SPEED_VARIABLE] = 512, |