summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-12-08 22:26:48 +0000
committermsmith <msmith@FreeBSD.org>2000-12-08 22:26:48 +0000
commit03b00161a79906c2c673fd7ab7e45be015e1d61b (patch)
tree15bfcfda356dff003e29e4a65e78b87427afe932 /sys
parentc27f2d3c492a3d78680bb4c52f0be2c345735e1d (diff)
downloadFreeBSD-src-03b00161a79906c2c673fd7ab7e45be015e1d61b.zip
FreeBSD-src-03b00161a79906c2c673fd7ab7e45be015e1d61b.tar.gz
Next-phase PCI system update; move PCI core code to sys/dev and update
header include path to include sys/dev to avoid massive #include updates.
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/Makefile.alpha2
-rw-r--r--sys/conf/Makefile.i3862
-rw-r--r--sys/conf/Makefile.powerpc2
-rw-r--r--sys/conf/files13
-rw-r--r--sys/conf/kmod.mk7
5 files changed, 16 insertions, 10 deletions
diff --git a/sys/conf/Makefile.alpha b/sys/conf/Makefile.alpha
index 5115e0b..af83dca 100644
--- a/sys/conf/Makefile.alpha
+++ b/sys/conf/Makefile.alpha
@@ -38,7 +38,7 @@ SIZE?= size
OBJCOPY?= objcopy
COPTFLAGS?=-O
-INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S
+INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S -I$S/dev
# This hack is to allow kernel compiles to succeed on machines w/out srcdist
.if exists($S/../include)
INCLUDES+= -I$S/../include
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index cb0809c..47764bd 100644
--- a/sys/conf/Makefile.i386
+++ b/sys/conf/Makefile.i386
@@ -38,7 +38,7 @@ SIZE?= size
OBJCOPY?= objcopy
COPTFLAGS?=-O
-INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S
+INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S -I$S/dev
# This hack is to allow kernel compiles to succeed on machines w/out srcdist
.if exists($S/../include)
INCLUDES+= -I$S/../include
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index cb0809c..47764bd 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -38,7 +38,7 @@ SIZE?= size
OBJCOPY?= objcopy
COPTFLAGS?=-O
-INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S
+INCLUDES= -nostdinc -I- ${INCLMAGIC} -I. -I$S -I$S/dev
# This hack is to allow kernel compiles to succeed on machines w/out srcdist
.if exists($S/../include)
INCLUDES+= -I$S/../include
diff --git a/sys/conf/files b/sys/conf/files
index b025e87..0e59e3e 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -368,6 +368,15 @@ dev/pccard/pccard_cis.c optional pccard
dev/pccard/pccard_cis_quirks.c optional pccard
dev/pccard/power_if.m optional pccbb
dev/pccard/power_if.m optional pccard
+dev/pci/eisa_pci.c optional pci eisa
+dev/pci/fixup_pci.c optional pci
+dev/pci/ignore_pci.c optional pci
+dev/pci/isa_pci.c optional pci isa
+dev/pci/pci.c count pci
+dev/pci/pci_if.m optional pci
+dev/pci/pci_pci.c optional pci
+dev/pci/pcib_if.m optional pci
+dev/pci/vga_pci.c optional pci
dev/pcic/i82365.c optional pcic pccard
dev/pcic/i82365_isa.c optional pcic pccard
dev/pdq/if_fea.c optional fea eisa
@@ -1088,13 +1097,9 @@ pci/meteor.c count meteor pci
pci/ncr.c optional ncr
pci/ohci_pci.c optional ohci
dev/pccbb/pccbb.c optional pccbb
-pci/pci.c count pci
pci/pci_compat.c optional pci compat_oldpci \
warning "Old PCI driver compatability shims present."
pci/pcic_p.c optional pcic pci card
-pci/pcisupport.c optional pci
-pci/pci_if.m optional pci
-pci/pcib_if.m optional pci
pci/simos.c optional simos
pci/uhci_pci.c optional uhci
pci/xrpu.c optional xrpu
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index e0cd6f2..23ddd50 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -100,7 +100,7 @@ CFLAGS+= -nostdinc -I- ${INCLMAGIC} ${_ICFLAGS}
# Add -I paths for system headers. Individual KLD makefiles don't
# need any -I paths for this. Similar defaults for .PATH can't be
# set because there are no standard paths for non-headers.
-CFLAGS+= -I. -I@
+CFLAGS+= -I. -I@ -I@/dev
# Add a -I path to standard headers like <stddef.h>. Use a relative
# path to src/include if possible. If the @ symlink hasn't been built
@@ -259,8 +259,9 @@ ${_src}:
MFILES?= kern/bus_if.m kern/device_if.m dev/iicbus/iicbb_if.m \
dev/iicbus/iicbus_if.m isa/isa_if.m dev/mii/miibus_if.m \
- dev/pccard/card_if.m dev/pccard/power_if.m pci/pci_if.m pci/pcib_if.m \
- dev/ppbus/ppbus_if.m dev/smbus/smbus_if.m dev/usb/usb_if.m
+ dev/pccard/card_if.m dev/pccard/power_if.m dev/pci/pci_if.m \
+ dev/pci/pcib_if.m dev/ppbus/ppbus_if.m dev/smbus/smbus_if.m \
+ dev/usb/usb_if.m
.for _srcsrc in ${MFILES}
.for _ext in c h
OpenPOWER on IntegriCloud