diff options
author | hselasky <hselasky@FreeBSD.org> | 2011-02-28 17:23:15 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2011-02-28 17:23:15 +0000 |
commit | f6b78c32dc9eddf17473d899afedfce320703608 (patch) | |
tree | 47ed63016899826a83fbbc10b56bb53c1b6d65cd /sys/dev/usb/usb_ioctl.h | |
parent | 45caeec249c564cc0b81c13ced7f6a677a9216e9 (diff) | |
download | FreeBSD-src-f6b78c32dc9eddf17473d899afedfce320703608.zip FreeBSD-src-f6b78c32dc9eddf17473d899afedfce320703608.tar.gz |
- Add support for software pre-scaling of ISOCHRONOUS transfers.
MFC after: 14 days
Approved by: thompsa (mentor)
Diffstat (limited to 'sys/dev/usb/usb_ioctl.h')
-rw-r--r-- | sys/dev/usb/usb_ioctl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/usb_ioctl.h b/sys/dev/usb/usb_ioctl.h index 8fe55e1..452de94 100644 --- a/sys/dev/usb/usb_ioctl.h +++ b/sys/dev/usb/usb_ioctl.h @@ -183,8 +183,9 @@ struct usb_fs_uninit { struct usb_fs_open { #define USB_FS_MAX_BUFSIZE (1 << 18) uint32_t max_bufsize; -#define USB_FS_MAX_FRAMES (1 << 12) - uint32_t max_frames; +#define USB_FS_MAX_FRAMES (1U << 12) +#define USB_FS_MAX_FRAMES_PRE_SCALE (1U << 31) /* for ISOCHRONOUS transfers */ + uint32_t max_frames; /* read and write */ uint16_t max_packet_length; /* read only */ uint8_t dev_index; /* currently unused */ uint8_t ep_index; |