From owner-svn-src-all@FreeBSD.ORG Tue Jan 13 21:12:42 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 98FA41065674; Tue, 13 Jan 2009 21:12:42 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id 31EC48FC17; Tue, 13 Jan 2009 21:12:41 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 5887CFEF3; Wed, 14 Jan 2009 10:12:41 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x1xkB0oI59Fc; Wed, 14 Jan 2009 10:12:37 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Wed, 14 Jan 2009 10:12:37 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 0E08111432; Wed, 14 Jan 2009 10:12:37 +1300 (NZDT) Date: Tue, 13 Jan 2009 13:12:36 -0800 From: Andrew Thompson To: "M. Warner Losh" Message-ID: <20090113211236.GA24988@citylink.fud.org.nz> References: <200901131905.n0DJ5pHh012960@svn.freebsd.org> <20090113.134951.-1540452302.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090113.134951.-1540452302.imp@bsdimp.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r187183 - in head/sys/dev/usb2: controller core X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jan 2009 21:12:43 -0000 On Tue, Jan 13, 2009 at 01:49:51PM -0700, M. Warner Losh wrote: > In message: <200901131905.n0DJ5pHh012960@svn.freebsd.org> > Andrew Thompson writes: > : Author: thompsa > : Date: Tue Jan 13 19:05:51 2009 > : New Revision: 187183 > : URL: http://svn.freebsd.org/changeset/base/187183 > : > : Log: > : MFp4: //depot/projects/usb@156055 > : > : Compile fix for AVR-GCC > : > : Submitted by: Hans Petter Selasky > : > : Modified: > : head/sys/dev/usb2/controller/at91dci.c > : head/sys/dev/usb2/controller/uss820dci.c > : head/sys/dev/usb2/core/usb2_mbuf.h > : > : Modified: head/sys/dev/usb2/controller/at91dci.c > : ============================================================================== > : --- head/sys/dev/usb2/controller/at91dci.c Tue Jan 13 19:05:20 2009 (r187182) > : +++ head/sys/dev/usb2/controller/at91dci.c Tue Jan 13 19:05:51 2009 (r187183) > : @@ -1776,7 +1776,7 @@ static const struct usb2_hub_descriptor_ > : .wHubCharacteristics[0] = > : (UHD_PWR_NO_SWITCH | UHD_OC_INDIVIDUAL) & 0xFF, > : .wHubCharacteristics[1] = > : - (UHD_PWR_NO_SWITCH | UHD_OC_INDIVIDUAL) >> 16, > : + (UHD_PWR_NO_SWITCH | UHD_OC_INDIVIDUAL) >> 8, > : .bPwrOn2PwrGood = 50, > : .bHubContrCurrent = 0, > : .DeviceRemovable = {0}, /* port is removable */ > : > : Modified: head/sys/dev/usb2/controller/uss820dci.c > : ============================================================================== > : --- head/sys/dev/usb2/controller/uss820dci.c Tue Jan 13 19:05:20 2009 (r187182) > : +++ head/sys/dev/usb2/controller/uss820dci.c Tue Jan 13 19:05:51 2009 (r187183) > : @@ -1794,7 +1794,7 @@ static const struct usb2_hub_descriptor_ > : .wHubCharacteristics[0] = > : (UHD_PWR_NO_SWITCH | UHD_OC_INDIVIDUAL) & 0xFF, > : .wHubCharacteristics[1] = > : - (UHD_PWR_NO_SWITCH | UHD_OC_INDIVIDUAL) >> 16, > : + (UHD_PWR_NO_SWITCH | UHD_OC_INDIVIDUAL) >> 8, > : .bPwrOn2PwrGood = 50, > : .bHubContrCurrent = 0, > : .DeviceRemovable = {0}, /* port is removable */ > > These changes look to be unrelated to the description above... Correct. > : Modified: head/sys/dev/usb2/core/usb2_mbuf.h > : ============================================================================== > : --- head/sys/dev/usb2/core/usb2_mbuf.h Tue Jan 13 19:05:20 2009 (r187182) > : +++ head/sys/dev/usb2/core/usb2_mbuf.h Tue Jan 13 19:05:51 2009 (r187183) > : @@ -38,8 +38,9 @@ struct usb2_mbuf { > : struct usb2_mbuf *usb2_next; > : > : uint32_t cur_data_len; > : - uint32_t max_data_len:31; > : - uint32_t last_packet:1; > : + uint32_t max_data_len; > : + uint8_t last_packet:1; > : + uint8_t unused:7; > > This looks like the avr gcc tweak... This is how the change was in p4, I havnt modified anything. I forgot to fix it when syncing everything up. http://p4web.freebsd.org/@md=d&cd=//&c=Rct@/156055?ac=10 Andrew