I had this problem too. It seems that the code included when you define USB_DEBUG has suffered some bitrot. Drop this out of your kernel config, and these compile time errors will go away.
louie > Hi, > > Am I the only one who gets this when he tries to compile a kernel with > the usb drivers in it? > > > cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused > -fformat-extensions -ansi -nostdinc -I- -I. -I../.. -I../../../include > -DKERNEL -include opt_global.h -elf ../../dev/usb/uhci.c > ../../dev/usb/uhci.c: In function `uhci_dumpregs': > ../../dev/usb/uhci.c:406: `UHCI_LEGSUP' undeclared (first use this > function) > ../../dev/usb/uhci.c:406: (Each undeclared identifier is reported only > once > ../../dev/usb/uhci.c:406: for each function it appears in.) > machine/cpufunc.h:284: warning: inlining failed in call to `inw' > ../../dev/usb/uhci.c:406: warning: called from here > *** Error code 1 > > Stop. > > > Alex > > To Unsubscribe: send mail to majord...@freebsd.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-current" in the body of the message