DragonFly commits List (threaded) for 2004-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: cvs commit: src/sys/bus/pci pci.c
:joerg 2004/01/15 13:18:18 PST
:
:DragonFly src repository
:
: Modified files:
: sys/bus/pci pci.c
: Log:
: Replace pci_cfgread and pci_cfgwrite with PCIB_READ_CONFIG and
: PCIB_WRITE_CONFIG.
:
: Merged in FreeBSD rev 1.167, without 1.162 and 1.166.
:
: Revision Changes Path
: 1.12 +201 -187 src/sys/bus/pci/pci.c
This does not appear to compile. It's usually a good idea to compile
*and* test the resulting kernel before comitting changes, especially to
sensitive subsystems. There are some basic syntax errors and also
the pci_get_slot() function appears to be missing.
-Matt
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -an
si -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/cont
rib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h
-mpreferred-stack-boundary=2 -ffreestanding /usr/src/sys/bus/pci/pci.c
/usr/src/sys/bus/pci/pci.c: In function `pci_alloc_resource':
/usr/src/sys/bus/pci/pci.c:1551: warning: passing arg 2 of `PCIB_ROUTE_INTERRUPT
' makes pointer from integer without a cast
dhcp60# make pci.o
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -W
missing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -an
si -g -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/../include -I/usr/src/sys/cont
rib/dev/acpica -I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h
-mpreferred-stack-boundary=2 -ffreestanding /usr/src/sys/bus/pci/pci.c
/usr/src/sys/bus/pci/pci.c: In function `pci_add_children':
/usr/src/sys/bus/pci/pci.c:1285: `max_slots' undeclared (first use in this funct
ion)
/usr/src/sys/bus/pci/pci.c:1285: (Each undeclared identifier is reported only on
ce
/usr/src/sys/bus/pci/pci.c:1285: for each function it appears in.)
/usr/src/sys/bus/pci/pci.c: In function `pci_alloc_resource':
/usr/src/sys/bus/pci/pci.c:1551: warning: passing arg 2 of `PCIB_ROUTE_INTERRUPT
' makes pointer from integer without a cast
*** Error code 1
Stop in /usr/obj/usr/src/sys/AMDXP.
dhcp60#
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]