sio0 wiring to a resource patch

othermark atkin901 at yahoo.com
Tue Jul 11 17:16:59 UTC 2006


M. Warner Losh wrote:

> Please find enclosed an experimental patch.  It does two things.
[...]
> Anyway, please test these patches out and let me know if you have
> problems.
> 
> Warner

(sorry about the wrapping here)

I tried to build it with a csup from this morning, and I get this
compilation error:


cc -c -O -pipe -march=pentiumpro -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -fformat-extensions -nostdinc -I-  -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 -Werror  /usr/src/sys/dev/sio/sio_pci.c
/usr/src/sys/dev/sio/sio_pci.c: In function `sio_pci_kludge_unit':
/usr/src/sys/dev/sio/sio_pci.c:131: warning: implicit declaration of
function `device_set_unit'
/usr/src/sys/dev/sio/sio_pci.c:131: warning: nested extern declaration of
`device_set_unit'
*** Error code 1

Stop in /usr/obj/usr/src/sys/POGO.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

A full find on /usr/src only reveals that one instance of usage that needs
to be changed.

-- 
othermark
atkin901 at nospam dot yahoo dot com
(!wired)?(coffee++):(wired);



More information about the freebsd-acpi mailing list