From owner-p4-projects@FreeBSD.ORG Tue Dec 25 11:03:17 2007 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id ADA2516A419; Tue, 25 Dec 2007 11:03:17 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B66616A420 for ; Tue, 25 Dec 2007 11:03:17 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swipnet.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id D91C813C44B for ; Tue, 25 Dec 2007 11:03:16 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.3] (account mc467741@c2i.net HELO [10.0.0.105]) by mailfe11.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 574816044 for perforce@freebsd.org; Tue, 25 Dec 2007 11:03:13 +0100 From: Hans Petter Selasky To: Perforce Change Reviews Date: Tue, 25 Dec 2007 11:03:56 +0100 User-Agent: KMail/1.9.7 References: <200712250958.lBP9wJMw023375@repoman.freebsd.org> In-Reply-To: <200712250958.lBP9wJMw023375@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712251103.57098.hselasky@c2i.net> Cc: Subject: Re: PERFORCE change 131572 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Dec 2007 11:03:18 -0000 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 */