Is pci a must on sparc64?

Seigo Tanimura tanimura at tanimura.dyndns.org
Sun Oct 5 05:05:09 PDT 2003


A sparc64 kernel without pci device fails to build.  The kernel is
configured for Ultra2 with no pci devices.

--- v --- log --- v ---
daiba% make
cc -c -O -pipe -g  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/ipfilter -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing  -mcmodel=medlow -msoft-float -ffreestanding -Werror  ../../../sparc64/sparc64/ofw_machdep.c
In file included from ../../../sparc64/sparc64/ofw_machdep.c:45:
../../../sparc64/pci/ofw_pci.h:41:24: ofw_pci_if.h: No such file or directory
*** Error code 1

Stop in /home/silver4/tanimura/p4-freefall/handoffpri/sparc64/compile/DAIBA.
daiba%
--- ^ --- log --- ^ ---

ofw_machdep.c unconditionally includes ofw_pci_if.h, even if pci
device is not configured.  Do I have to configure pci even for non-pci
machines?

-- 
Seigo Tanimura <tanimura at tanimura.dyndns.org> <tanimura at FreeBSD.org>


More information about the freebsd-current mailing list