PERFORCE change 131572 for review
Hans Petter Selasky
hselasky at FreeBSD.org
Tue Dec 25 01:58:19 PST 2007
http://perforce.freebsd.org/chv.cgi?CH=131572
Change 131572 by hselasky at hselasky_laptop001 on 2007/12/25 09:57:46
Style change by "usb_style.sh".
Affected files ...
.. //depot/projects/usb/src/sys/dev/usb/usb_subr.h#85 edit
Differences ...
==== //depot/projects/usb/src/sys/dev/usb/usb_subr.h#85 (text+ko) ====
@@ -536,18 +536,19 @@
uint8_t curr_dma_set:1; /* used by USB HC/DC driver */
};
+struct usbd_config_sub {
+ usbd_callback_t *callback; /* USB transfer callback */
+ uint16_t timeout; /* transfer timeout in milliseconds */
+ struct usbd_xfer_flags flags; /* transfer flags */
+};
+
struct usbd_config {
- usbd_callback_t *cb[USB_MODE_MAX]; /* USB transfer callbacks */
+ struct usbd_config_sub mh; /* parameters for USB_MODE_HOST */
+ struct usbd_config_sub md; /* parameters for USB_MODE_DEVICE */
uint32_t bufsize; /* total pipe buffer size in bytes */
uint32_t frames; /* maximum number of USB frames */
uint16_t interval; /* interval in milliseconds */
-
#define USBD_DEFAULT_INTERVAL 0
-
- uint16_t timeout; /* transfer timeout in milliseconds */
-
- struct usbd_xfer_flags flags; /* transfer flags */
-
uint8_t type; /* pipe type */
uint8_t endpoint; /* pipe number */
uint8_t direction; /* pipe direction */
More information about the p4-projects
mailing list