Date: Tue, 25 Dec 2007 09:58:19 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 131572 for review Message-ID: <200712250958.lBP9wJMw023375@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=131572 Change 131572 by hselasky@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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712250958.lBP9wJMw023375>