From owner-freebsd-usb@FreeBSD.ORG Thu Apr 23 02:05:53 2009 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85366106566B; Thu, 23 Apr 2009 02:05:53 +0000 (UTC) (envelope-from wsk@gddsn.org.cn) Received: from gddsn.org.cn (gddsn.org.cn [218.19.164.145]) by mx1.freebsd.org (Postfix) with ESMTP id 1488F8FC0A; Thu, 23 Apr 2009 02:05:52 +0000 (UTC) (envelope-from wsk@gddsn.org.cn) Received: from lp.gddsn.org.cn (unknown [10.44.8.159]) (Authenticated sender: wsk) by gddsn.org.cn (Postfix) with ESMTPA id E5FAE2E031; Thu, 23 Apr 2009 09:58:41 +0800 (CST) Message-ID: <49EFCCFC.4090202@gddsn.org.cn> Date: Thu, 23 Apr 2009 10:05:48 +0800 From: wsk User-Agent: Thunderbird 2.0.0.21 (X11/20090420) MIME-Version: 1.0 To: Hans Petter Selasky References: <49ED3E7D.8080606@gddsn.org.cn> <41877.147.83.40.213.1240324705.squirrel@webmail.entel.upc.edu> <790a9fff0904220037q69b6e594u1a1f9871c6166ade@mail.gmail.com> <200904221047.49884.hselasky@c2i.net> In-Reply-To: <200904221047.49884.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: usb@freebsd.org, Scot Hetzel , freebsd-current@freebsd.org, current@freebsd.org Subject: Re: boot panic on current(04.20) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Apr 2009 02:05:53 -0000 Hans Petter Selasky wrote: > Try this patch: > > http://perforce.freebsd.org/chv.cgi?CH=160413 > > --HPS > > build error cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /usr/src/sys/dev/usb/controller/ehci.c In file included from /usr/src/sys/dev/usb/controller/ehci.c:60: /usr/src/sys/dev/usb/usb_device.h:125: error: expected ':', ',', ';', '}' or '__attribute__' before 'struct' /usr/src/sys/dev/usb/controller/ehci.c: In function 'ehci_setup_standard_chain': /usr/src/sys/dev/usb/controller/ehci.c:1938: error: 'struct usb2_device' has no member named 'hs_hub_addr' /usr/src/sys/dev/usb/controller/ehci.c:1939: error: 'struct usb2_device' has no member named 'hs_port_no' /usr/src/sys/dev/usb/controller/ehci.c: In function 'ehci_device_isoc_fs_open': /usr/src/sys/dev/usb/controller/ehci.c:2365: error: 'struct usb2_device' has no member named 'hs_hub_addr' /usr/src/sys/dev/usb/controller/ehci.c:2366: error: 'struct usb2_device' has no member named 'hs_port_no' /usr/src/sys/dev/usb/controller/ehci.c: In function 'ehci_pipe_init': /usr/src/sys/dev/usb/controller/ehci.c:3640: error: 'struct usb2_device' has no member named 'address' /usr/src/sys/dev/usb/controller/ehci.c:3640: error: 'struct usb2_device' has no member named 'flags' /usr/src/sys/dev/usb/controller/ehci.c:3645: error: 'struct usb2_device' has no member named 'flags' /usr/src/sys/dev/usb/controller/ehci.c:3649: error: 'struct usb2_device' has no member named 'device_index' /usr/src/sys/dev/usb/controller/ehci.c:3651: error: 'struct usb2_device' has no member named 'speed' /usr/src/sys/dev/usb/controller/ehci.c:3652: error: 'struct usb2_device' has no member named 'hs_hub_addr' /usr/src/sys/dev/usb/controller/ehci.c:3653: error: 'struct usb2_device' has no member named 'hs_port_no' /usr/src/sys/dev/usb/controller/ehci.c:3654: error: 'struct usb2_device' has no member named 'parent_hs_hub' /usr/src/sys/dev/usb/controller/ehci.c:3655: error: 'struct usb2_device' has no member named 'parent_hs_hub' /usr/src/sys/dev/usb/controller/ehci.c:3667: error: 'struct usb2_device' has no member named 'speed' /usr/src/sys/dev/usb/controller/ehci.c:3669: error: 'struct usb2_device' has no member named 'speed' /usr/src/sys/dev/usb/controller/ehci.c:3674: error: 'struct usb2_device' has no member named 'speed' *** Error code 1 Stop in /usr/obj/usr/src/sys/WSK. *** Error code 1 Stop in /usr/src. *** Error code 1