cardbux.c:186: too many arguments to function `pci_read_device'

2002-03-13 Thread Edwin Culp

Only my laptop didn't compile the kernel with this morning's cvsup.  It stops
with the following error.

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -an
si  -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/dev -I/usr/src/sys/contrib/
dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/../include  -D_KERNEL 
-ffreestanding -include opt_global.h -fno-common -elf  -mpreferred-stack-boundar
y=2 -Werror  /usr/src/sys/dev/cardbus/cardbus.c
/usr/src/sys/dev/cardbus/cardbus.c: In function `cardbus_attach_card':
/usr/src/sys/dev/cardbus/cardbus.c:186: too many arguments to function `pci_read
_device'
*** Error code 1

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

ed

-- 
Griffin Plaza Partners, LLC

-


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: cardbux.c:186: too many arguments to function `pci_read_device'

2002-03-13 Thread David Wolfskill

Date: Wed, 13 Mar 2002 10:33:41 -0800
From: Edwin Culp [EMAIL PROTECTED]

Only my laptop didn't compile the kernel with this morning's cvsup.  It stops
with the following error.

...
-ffreestanding -include opt_global.h -fno-common -elf  -mpreferred-stack-boundar
y=2 -Werror  /usr/src/sys/dev/cardbus/cardbus.c
/usr/src/sys/dev/cardbus/cardbus.c: In function `cardbus_attach_card':
/usr/src/sys/dev/cardbus/cardbus.c:186: too many arguments to function `pci_read
_device'
*** Error code 1

Right; Warner fixed it in the commit at
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1235808+0+current/cvs-all
(08:32:11 PST today).

Cheers,
david   (links to my resume at http://www.catwhisker.org/~david)
-- 
David H. Wolfskill  [EMAIL PROTECTED]
I believe it would be irresponsible (and thus, unethical) for me to advise,
recommend, or support the use of any product that is or depends on any
Microsoft product for any purpose other than personal amusement.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message