Date: Thu, 23 Apr 2009 10:05:48 +0800 From: wsk <wsk@gddsn.org.cn> To: Hans Petter Selasky <hselasky@c2i.net> Cc: usb@freebsd.org, Scot Hetzel <swhetzel@gmail.com>, freebsd-current@freebsd.org, current@freebsd.org, Gustavo Perez Querol <gperez@entel.upc.edu> Subject: Re: boot panic on current(04.20) Message-ID: <49EFCCFC.4090202@gddsn.org.cn> In-Reply-To: <200904221047.49884.hselasky@c2i.net> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49EFCCFC.4090202>