USB problems

Randy Bush randy at psg.com
Sun Jan 2 17:58:16 GMT 2005


apologies, but only time to test compile, not fix/revert

> any chance you could try revert ums.c back a while and see if doing so 
> fixes the problem?

1.70

cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -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 -ffreestanding -Werror  /usr/src/sys/dev/usb/ums.c
/usr/src/sys/dev/usb/ums.c: In function `ums_enable':
/usr/src/sys/dev/usb/ums.c:582: error: syntax error before '=' token
*** Error code 1

1.71

cc -c -O -pipe -march=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -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 -ffreestanding -Werror  /usr/src/sys/dev/usb/ums.c
/usr/src/sys/dev/usb/ums.c: In function `ums_intr':
/usr/src/sys/dev/usb/ums.c:479: error: structure has no member named `dt'
/usr/src/sys/dev/usb/ums.c: In function `ums_enable':
/usr/src/sys/dev/usb/ums.c:582: error: structure has no member named `dt'
/usr/src/sys/dev/usb/ums.c: In function `ums_ioctl':
/usr/src/sys/dev/usb/ums.c:839: error: structure has no member named `dt'
/usr/src/sys/dev/usb/ums.c:842: error: structure has no member named `dt'
*** Error code 1

and by 1.72, the usb problems crash on boot

randy



More information about the freebsd-usb mailing list