From owner-freebsd-arm@FreeBSD.ORG Thu Jun 5 05:34:55 2014 Return-Path: Delivered-To: arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BC703B24 for ; Thu, 5 Jun 2014 05:34:55 +0000 (UTC) Received: from up-mx4.det.nsw.edu.au (up-mx4.det.nsw.edu.au [153.107.105.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 53A3B2F3B for ; Thu, 5 Jun 2014 05:34:54 +0000 (UTC) Received: from itfsmtp5.central.det.win (extmail.det.nsw.edu.au [153.107.9.204]) by up-mx4.det.nsw.edu.au (8.13.8/8.13.8) with ESMTP id s554fTJ8014070; Thu, 5 Jun 2014 14:41:29 +1000 Received: from SLPEXHT02.central.det.win (Not Verified[153.107.14.67]) by itfsmtp5.central.det.win with MailMarshal (v6, 9, 9, 4075) id ; Thu, 05 Jun 2014 14:41:25 +1000 Received: from UGPEXHUB01.central.det.win (153.107.78.92) by SLPEXHT02.central.det.win (153.107.14.67) with Microsoft SMTP Server (TLS) id 8.3.342.0; Thu, 5 Jun 2014 14:41:26 +1000 Received: from WPEXCHMBSL1021.central.det.win ([169.254.1.14]) by ugpexhub01.central.det.win ([153.107.78.92]) with mapi id 14.03.0174.001; Thu, 5 Jun 2014 14:41:25 +1000 From: "Scott, Brian" To: "'Hans Petter Selasky'" , "'arm@freebsd.org'" Subject: RE: Changes to dwc_otg USB controller code (stable/10) Thread-Topic: Changes to dwc_otg USB controller code (stable/10) Thread-Index: AQHPf92fyxvDvUntT4SsSJgnL9lJH5tgGJ+AgAHXSuA= Date: Thu, 5 Jun 2014 04:41:24 +0000 Message-ID: <7DB382CFB050654DBFF7A39B1F8056EB3321C1AB@WPEXCHMBSL1021.central.det.win> References: <7DB382CFB050654DBFF7A39B1F8056EB3321BE3F@WPEXCHMBSL1021.central.det.win> <538EF145.5020608@selasky.org> <538EF541.9050502@selasky.org> In-Reply-To: <538EF541.9050502@selasky.org> Accept-Language: en-AU, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [153.107.9.240] x-route: TAFECORP Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2014 05:34:55 -0000 Hi, A few little problems with the compiler... /usr/src/sys/modules/usb/dwc_otg/../../../dev/usb/controller/dwc_otg.c:36= 92:21: error: assigning to 'struct usb_bus_methods *' from 'const struct = usb_bus_methods *' discards qualifiers [-Werror,-Wincompatible-pointer-ty= pes-discards-qualifiers] =20 sc->sc_bus.methods =3D &dwc_otg_bus_methods; =20 ^ ~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/modules/usb/dwc_otg/../../../dev/usb/controller/dwc_otg.c:47= 27:16: error: assigning to 'struct usb_pipe_methods *' from 'const struct= =20usb_pipe_methods *' discards qualifiers [-Werror,-Wincompatible-pointe= r-types-discards-qualifiers] =20 ep->methods =3D &dwc_otg_device_isoc_methods; =20 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/modules/usb/dwc_otg/../../../dev/usb/controller/dwc_otg.c:47= 29:16: error: assigning to 'struct usb_pipe_methods *' from 'const struct= =20usb_pipe_methods *' discards qualifiers [-Werror,-Wincompatible-pointe= r-types-discards-qualifiers] =20 ep->methods =3D &dwc_otg_device_non_isoc_method= s; =20 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 errors generated. [I guessing I did this right: the changeset just listed the one file chan= ged so I copied the file over to my stable/10 source tree and compiled. I= f there are other related things I need to track down then let me know] Brian -----Original Message----- From: Hans Petter Selasky [mailto:hps@selasky.org]=20 Sent: Wednesday, 4 June 2014 8:30 PM To: Scott, Brian; 'arm@freebsd.org' Subject: Re: Changes to dwc_otg USB controller code (stable/10) On 06/04/14 12:13, Hans Petter Selasky wrote: > Hi, > > I'm able to reproduce this only if I connect the device directly to the= > RPI-B. If I use an external HUB, no issue is seen. > --HPS I think the following patch will fix your issue: http://svnweb.freebsd.org/changeset/base/267044 Please try and report back. --HPS ********************************************************************** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. **********************************************************************