Marcel Moolenaar <xcllnt_at_mac.com> writes: > The attached patch is a quick and dirty way to > program the ports. Can you see if it actually works and > if it makes a difference? ----- cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/BB/opt_global.h -I. -I_at_ -I_at_/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/BB -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -c /usr/src/sys/modules/puc/../../dev/puc/puc.c /usr/src/sys/modules/puc/../../dev/puc/pucdata.c: In function 'puc_config_timedia': /usr/src/sys/modules/puc/../../dev/puc/pucdata.c:1157: error: dereferencing pointer to incomplete type /usr/src/sys/modules/puc/../../dev/puc/pucdata.c:1157: error: dereferencing pointer to incomplete type *** Error code 1 ----- That's for the line [*]: ----- --- pucdata.c (revision 185784) +++ pucdata.c (working copy) _at__at_ -1145,6 +1145,10 _at__at_ case PUC_CFG_GET_TYPE: *res = PUC_TYPE_SERIAL; return (0); + case PUC_CFG_INIT_PORT: + bus_write_1((struct res *)res, 1 /* IER */, [*] + (port >= 2) ? 0x10 : 0); + return (0); default: break; } ----- WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To ServeReceived on Sat Dec 13 2008 - 12:36:27 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC