diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2011-02-28 17:23:15 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2011-02-28 17:23:15 +0000 |
commit | 1c49736857cfe0b562e2f1e100ab2307e882a9e6 (patch) | |
tree | 47ed63016899826a83fbbc10b56bb53c1b6d65cd /sys/dev/usb/usbdi.h | |
parent | 898899d9ddbd15925a9d3c6b1da0d426dbc6351b (diff) | |
download | src-1c49736857cfe0b562e2f1e100ab2307e882a9e6.tar.gz src-1c49736857cfe0b562e2f1e100ab2307e882a9e6.zip |
- Add support for software pre-scaling of ISOCHRONOUS transfers.
MFC after: 14 days
Approved by: thompsa (mentor)
Notes
Notes:
svn path=/head/; revision=219100
Diffstat (limited to 'sys/dev/usb/usbdi.h')
-rw-r--r-- | sys/dev/usb/usbdi.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h index 6d4a911b0d13..b88a65557aac 100644 --- a/sys/dev/usb/usbdi.h +++ b/sys/dev/usb/usbdi.h @@ -195,6 +195,16 @@ struct usb_xfer_flags { uint8_t stall_pipe:1; /* set if the endpoint belonging to * this USB transfer should be stalled * before starting this transfer! */ + uint8_t pre_scale_frames:1; /* "usb_config->frames" is + * assumed to give the + * buffering time in + * milliseconds and is + * converted into the nearest + * number of frames when the + * USB transfer is setup. This + * option only has effect for + * ISOCHRONOUS transfers. + */ }; /* |