summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbdi.h
diff options
context:
space:
mode:
authorhselasky <hselasky@FreeBSD.org>2011-02-28 17:23:15 +0000
committerhselasky <hselasky@FreeBSD.org>2011-02-28 17:23:15 +0000
commitf6b78c32dc9eddf17473d899afedfce320703608 (patch)
tree47ed63016899826a83fbbc10b56bb53c1b6d65cd /sys/dev/usb/usbdi.h
parent45caeec249c564cc0b81c13ced7f6a677a9216e9 (diff)
downloadFreeBSD-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/usbdi.h')
-rw-r--r--sys/dev/usb/usbdi.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/dev/usb/usbdi.h b/sys/dev/usb/usbdi.h
index 6d4a911..b88a655 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.
+ */
};
/*
OpenPOWER on IntegriCloud