Date: Tue, 25 Dec 2007 11:03:56 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: Perforce Change Reviews <perforce@freebsd.org> Subject: Re: PERFORCE change 131572 for review Message-ID: <200712251103.57098.hselasky@c2i.net> In-Reply-To: <200712250958.lBP9wJMw023375@repoman.freebsd.org> References: <200712250958.lBP9wJMw023375@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Some extra stuff sneaked in too early in this commit. It is not a pure style change. --HPS On Tuesday 25 December 2007, Hans Petter Selasky wrote: > 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?200712251103.57098.hselasky>