summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2004-05-26 00:53:10 +0000
committerimp <imp@FreeBSD.org>2004-05-26 00:53:10 +0000
commit1f5642e8bb05c1d3715f0cad1ce60a826a2e60eb (patch)
tree444189f309f3c6e333c2287c6803e04f50f21d0a /sys/modules
parente413289503db80d29b491c4f2c127ba3db1eb491 (diff)
downloadFreeBSD-src-1f5642e8bb05c1d3715f0cad1ce60a826a2e60eb.zip
FreeBSD-src-1f5642e8bb05c1d3715f0cad1ce60a826a2e60eb.tar.gz
Move to generating pccarddevs.h on the fly, both for the kernel and
the modules. Also generate usbdevs.h automatically now, but a non-kernel file is stopping that at the moment.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/aic/Makefile2
-rw-r--r--sys/modules/an/Makefile1
-rw-r--r--sys/modules/awi/Makefile2
-rw-r--r--sys/modules/cs/Makefile2
-rw-r--r--sys/modules/ed/Makefile2
-rw-r--r--sys/modules/ep/Makefile2
-rw-r--r--sys/modules/ex/Makefile2
-rw-r--r--sys/modules/exca/Makefile2
-rw-r--r--sys/modules/fdc/Makefile2
-rw-r--r--sys/modules/fe/Makefile2
-rw-r--r--sys/modules/if_ndis/Makefile2
-rw-r--r--sys/modules/joy/Makefile3
-rw-r--r--sys/modules/ncv/Makefile2
-rw-r--r--sys/modules/netgraph/bluetooth/bt3c/Makefile2
-rw-r--r--sys/modules/nsp/Makefile2
-rw-r--r--sys/modules/oldcard/Makefile2
-rw-r--r--sys/modules/owi/Makefile2
-rw-r--r--sys/modules/pccard/Makefile2
-rw-r--r--sys/modules/pcic/Makefile2
-rw-r--r--sys/modules/ray/Makefile2
-rw-r--r--sys/modules/sio/Makefile2
-rw-r--r--sys/modules/sn/Makefile2
-rw-r--r--sys/modules/stg/Makefile2
-rw-r--r--sys/modules/uart/Makefile3
-rw-r--r--sys/modules/wi/Makefile2
-rw-r--r--sys/modules/xe/Makefile2
26 files changed, 28 insertions, 25 deletions
diff --git a/sys/modules/aic/Makefile b/sys/modules/aic/Makefile
index 60df81a..860d9a8 100644
--- a/sys/modules/aic/Makefile
+++ b/sys/modules/aic/Makefile
@@ -4,7 +4,7 @@
KMOD= aic
SRCS= aic.c aic_pccard.c
-SRCS+= opt_bdg.h device_if.h bus_if.h pci_if.h isa_if.h card_if.h
+SRCS+= device_if.h bus_if.h pci_if.h isa_if.h card_if.h pccarddevs.h
SRCS+= opt_cam.h opt_scsi.h
.if ${MACHINE} == "pc98"
diff --git a/sys/modules/an/Makefile b/sys/modules/an/Makefile
index 74fd203..c2c66d5 100644
--- a/sys/modules/an/Makefile
+++ b/sys/modules/an/Makefile
@@ -5,6 +5,7 @@
KMOD= if_an
SRCS= if_an.c if_an_pccard.c if_an_pci.c if_an_isa.c
SRCS+= opt_inet.h device_if.h bus_if.h pci_if.h isa_if.h card_if.h
+SRCS+= pccarddevs.h
opt_inet.h:
echo "#define INET 1" > opt_inet.h
diff --git a/sys/modules/awi/Makefile b/sys/modules/awi/Makefile
index b0e743b..554ffe5 100644
--- a/sys/modules/awi/Makefile
+++ b/sys/modules/awi/Makefile
@@ -4,7 +4,7 @@
KMOD= if_awi
SRCS= am79c930.c awi.c if_awi_pccard.c
-SRCS+= bus_if.h card_if.h device_if.h opt_inet.h
+SRCS+= bus_if.h card_if.h device_if.h opt_inet.h pccarddevs.h
opt_inet.h:
echo "#define INET 1" > opt_inet.h
diff --git a/sys/modules/cs/Makefile b/sys/modules/cs/Makefile
index 579a860..49f7e11 100644
--- a/sys/modules/cs/Makefile
+++ b/sys/modules/cs/Makefile
@@ -4,6 +4,6 @@
KMOD= if_cs
SRCS= if_cs.c if_cs_pccard.c if_cs_isa.c
-SRCS+= bus_if.h card_if.h device_if.h isa_if.h
+SRCS+= bus_if.h card_if.h device_if.h isa_if.h pccarddevs.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/ed/Makefile b/sys/modules/ed/Makefile
index ea8ac04..dda16ed 100644
--- a/sys/modules/ed/Makefile
+++ b/sys/modules/ed/Makefile
@@ -12,6 +12,6 @@ SRCS+= if_ed_isa.c
.endif
SRCS+= opt_ed.h opt_bdg.h bus_if.h card_if.h device_if.h isa_if.h pci_if.h \
- miibus_if.h
+ miibus_if.h pccarddevs.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/ep/Makefile b/sys/modules/ep/Makefile
index 71fdcc2..9d32932 100644
--- a/sys/modules/ep/Makefile
+++ b/sys/modules/ep/Makefile
@@ -7,6 +7,6 @@ SRCS= if_ep.c if_ep_pccard.c
SRCS+= if_ep_isa.c
#SRCS+= if_ep_eisa.c
#SRCS+= if_ep_mca.c
-SRCS+= opt_bdg.h bus_if.h card_if.h device_if.h isa_if.h pci_if.h
+SRCS+= opt_bdg.h bus_if.h card_if.h device_if.h isa_if.h pci_if.h pccarddevs.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/ex/Makefile b/sys/modules/ex/Makefile
index 34f0f13..5c394aa 100644
--- a/sys/modules/ex/Makefile
+++ b/sys/modules/ex/Makefile
@@ -7,6 +7,6 @@ KMOD= if_ex
SRCS= if_ex.c \
if_ex_isa.c isa_if.h \
if_ex_pccard.c card_if.h \
- bus_if.h device_if.h
+ bus_if.h device_if.h pccarddevs.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/exca/Makefile b/sys/modules/exca/Makefile
index d576611..b7a8d52 100644
--- a/sys/modules/exca/Makefile
+++ b/sys/modules/exca/Makefile
@@ -3,6 +3,6 @@
.PATH: ${.CURDIR}/../../dev/exca
KMOD= exca
-SRCS= exca.c device_if.h bus_if.h power_if.h card_if.h
+SRCS= exca.c device_if.h bus_if.h power_if.h card_if.h pccarddevs.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/fdc/Makefile b/sys/modules/fdc/Makefile
index b3751f7..2635148 100644
--- a/sys/modules/fdc/Makefile
+++ b/sys/modules/fdc/Makefile
@@ -13,7 +13,7 @@ SRCS= fd.c
SRCS= fdc.c
.endif
SRCS+= opt_fdc.h card.h \
- bus_if.h card_if.h device_if.h isa_if.h
+ bus_if.h card_if.h device_if.h isa_if.h pccarddevs.h
FDC_DEBUG?= 0 # 0/1
FDC_PCCARD?= 1 # 0/1 whether pccard support (i. e. Y-E DATA PCMCIA
diff --git a/sys/modules/fe/Makefile b/sys/modules/fe/Makefile
index bbebe86..77af85b 100644
--- a/sys/modules/fe/Makefile
+++ b/sys/modules/fe/Makefile
@@ -11,6 +11,6 @@ SRCS+= if_fe_cbus.c
SRCS+= if_fe_isa.c
.endif
-SRCS+= bus_if.h card_if.h device_if.h isa_if.h
+SRCS+= bus_if.h card_if.h device_if.h isa_if.h pccarddevs.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/if_ndis/Makefile b/sys/modules/if_ndis/Makefile
index 47c3bb1..bce7c96 100644
--- a/sys/modules/if_ndis/Makefile
+++ b/sys/modules/if_ndis/Makefile
@@ -4,6 +4,6 @@
KMOD= if_ndis
SRCS= if_ndis.c if_ndis_pci.c if_ndis_pccard.c
-SRCS+= opt_bdg.h device_if.h bus_if.h pci_if.h card_if.h
+SRCS+= opt_bdg.h device_if.h bus_if.h pci_if.h card_if.h pccarddevs.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/joy/Makefile b/sys/modules/joy/Makefile
index 042db89..71ba7f1 100644
--- a/sys/modules/joy/Makefile
+++ b/sys/modules/joy/Makefile
@@ -3,6 +3,7 @@
.PATH: ${.CURDIR}/../../dev/joy
KMOD= joy
-SRCS= bus_if.h device_if.h isa_if.h card_if.h joy.c joy_isa.c joy_pccard.c
+SRCS= bus_if.h device_if.h isa_if.h card_if.h joy.c joy_isa.c joy_pccard.c \
+ pccarddevs.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/ncv/Makefile b/sys/modules/ncv/Makefile
index 9d6e842..b1a273a 100644
--- a/sys/modules/ncv/Makefile
+++ b/sys/modules/ncv/Makefile
@@ -4,7 +4,7 @@
KMOD= ncv
SRCS= ncr53c500_pccard.c ncr53c500.c
-SRCS+= opt_bdg.h device_if.h bus_if.h pci_if.h isa_if.h card_if.h
+SRCS+= opt_bdg.h device_if.h bus_if.h pci_if.h isa_if.h card_if.h pccarddevs.h
SRCS+= opt_cam.h opt_scsi.h opt_ddb.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/netgraph/bluetooth/bt3c/Makefile b/sys/modules/netgraph/bluetooth/bt3c/Makefile
index 8cb8550..753400e 100644
--- a/sys/modules/netgraph/bluetooth/bt3c/Makefile
+++ b/sys/modules/netgraph/bluetooth/bt3c/Makefile
@@ -7,7 +7,7 @@ CFLAGS+= -I${.CURDIR}/../../../../netgraph/bluetooth/include \
-I${.CURDIR}/../../../../netgraph/bluetooth/drivers/bt3c
KMOD= ng_bt3c
-SRCS= ng_bt3c_pccard.c bus_if.h card_if.h device_if.h
+SRCS= ng_bt3c_pccard.c bus_if.h card_if.h device_if.h pccarddevs.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/nsp/Makefile b/sys/modules/nsp/Makefile
index 5c69310..3cdc705 100644
--- a/sys/modules/nsp/Makefile
+++ b/sys/modules/nsp/Makefile
@@ -4,7 +4,7 @@
KMOD= nsp
SRCS= nsp.c nsp_pccard.c
-SRCS+= opt_bdg.h device_if.h bus_if.h pci_if.h isa_if.h card_if.h
+SRCS+= opt_bdg.h device_if.h bus_if.h pci_if.h isa_if.h card_if.h pccarddevs.h
SRCS+= opt_cam.h opt_scsi.h opt_ddb.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/oldcard/Makefile b/sys/modules/oldcard/Makefile
index 8a94ab6..cbe92d7 100644
--- a/sys/modules/oldcard/Makefile
+++ b/sys/modules/oldcard/Makefile
@@ -5,7 +5,7 @@
KMOD= oldcard
SRCS= pccard.c pcic.c pccard_beep.c pccard_nbk.c pcic_pci.c pcic_isa.c \
opt_pcic.h device_if.h bus_if.h isa_if.h pci_if.h \
- power_if.h card_if.h
+ power_if.h card_if.h pccarddevs.h
EXPORT_SYMS= YES # XXX evaluate
diff --git a/sys/modules/owi/Makefile b/sys/modules/owi/Makefile
index 3ffb1b0..85f5c71 100644
--- a/sys/modules/owi/Makefile
+++ b/sys/modules/owi/Makefile
@@ -4,7 +4,7 @@
KMOD= if_owi
SRCS= opt_wi.h if_owi.c if_owi_pccard.c \
- card_if.h device_if.h bus_if.h pci_if.h
+ card_if.h device_if.h bus_if.h pci_if.h pccarddevs.h
opt_wi.h:
touch ${.TARGET}
diff --git a/sys/modules/pccard/Makefile b/sys/modules/pccard/Makefile
index e1cd70a..f77bc57 100644
--- a/sys/modules/pccard/Makefile
+++ b/sys/modules/pccard/Makefile
@@ -4,6 +4,6 @@
KMOD= pccard
SRCS= pccard.c pccard_cis.c pccard_cis_quirks.c \
- device_if.h bus_if.h card_if.h power_if.h
+ device_if.h bus_if.h card_if.h power_if.h pccarddevs.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/pcic/Makefile b/sys/modules/pcic/Makefile
index d0ab817..00b0643 100644
--- a/sys/modules/pcic/Makefile
+++ b/sys/modules/pcic/Makefile
@@ -4,6 +4,6 @@
KMOD= pcic
SRCS= i82365.c i82365_isa.c device_if.h bus_if.h isa_if.h \
- power_if.h card_if.h power_if.c card_if.c
+ power_if.h card_if.h power_if.c card_if.c pccarddevs.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/ray/Makefile b/sys/modules/ray/Makefile
index 2d9f5fc..84eb9d9 100644
--- a/sys/modules/ray/Makefile
+++ b/sys/modules/ray/Makefile
@@ -4,6 +4,6 @@
KMOD= if_ray
SRCS= if_ray.c
-SRCS+= device_if.h bus_if.h card_if.h opt_inet.h
+SRCS+= device_if.h bus_if.h card_if.h opt_inet.h pccarddevs.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/sio/Makefile b/sys/modules/sio/Makefile
index 1e948a3..7423563 100644
--- a/sys/modules/sio/Makefile
+++ b/sys/modules/sio/Makefile
@@ -8,7 +8,7 @@
KMOD= sio
SRCS= bus_if.h card_if.h device_if.h isa_if.h pci_if.h \
opt_comconsole.h opt_compat.h opt_ddb.h opt_sio.h \
- sio.c sio_pccard.c sio_pci.c sio_puc.c
+ sio.c sio_pccard.c sio_pci.c sio_puc.c pccarddevs.h
.if ${MACHINE} == "pc98"
SRCS+= sio_cbus.c
.else
diff --git a/sys/modules/sn/Makefile b/sys/modules/sn/Makefile
index b443ab2..b248c75 100644
--- a/sys/modules/sn/Makefile
+++ b/sys/modules/sn/Makefile
@@ -4,6 +4,6 @@
KMOD= if_sn
SRCS= if_sn.c if_sn_isa.c if_sn_pccard.c device_if.h bus_if.h isa_if.h \
- card_if.h
+ card_if.h pccarddevs.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/stg/Makefile b/sys/modules/stg/Makefile
index d479777..83362d3 100644
--- a/sys/modules/stg/Makefile
+++ b/sys/modules/stg/Makefile
@@ -5,7 +5,7 @@
KMOD= stg
SRCS= tmc18c30.c tmc18c30_subr.c \
tmc18c30_isa.c isa_if.h \
- tmc18c30_pccard.c card_if.h \
+ tmc18c30_pccard.c card_if.h pccarddevs.h \
tmc18c30_pci.c pci_if.h
SRCS+= opt_bdg.h device_if.h bus_if.h
SRCS+= opt_cam.h opt_scsi.h opt_ddb.h
diff --git a/sys/modules/uart/Makefile b/sys/modules/uart/Makefile
index 4de0e9a..e03e0ec 100644
--- a/sys/modules/uart/Makefile
+++ b/sys/modules/uart/Makefile
@@ -11,6 +11,7 @@ SRCS= uart_bus_acpi.c ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \
uart_bus_pci.c uart_bus_puc.c uart_core.c uart_cpu_${MACHINE}.c \
uart_dev_i8251.c uart_dev_ns8250.c uart_dev_sab82532.c \
uart_dev_z8530.c uart_if.c uart_subr.c uart_tty.c
-SRCS+= bus_if.h device_if.h isa_if.h pci_if.h uart_if.h power_if.h card_if.h
+SRCS+= bus_if.h device_if.h isa_if.h pci_if.h uart_if.h power_if.h card_if.h \
+ pccarddevs.h
.include <bsd.kmod.mk>
diff --git a/sys/modules/wi/Makefile b/sys/modules/wi/Makefile
index 75e1d69..ee577e8 100644
--- a/sys/modules/wi/Makefile
+++ b/sys/modules/wi/Makefile
@@ -4,7 +4,7 @@
KMOD= if_wi
SRCS= opt_wi.h if_wi.c if_wi_pccard.c if_wi_pci.c \
- card_if.h device_if.h bus_if.h pci_if.h
+ card_if.h device_if.h bus_if.h pci_if.h pccarddevs.h
opt_wi.h:
echo "#define WI_SYMBOL_FIRMWARE 1" > ${.TARGET}
diff --git a/sys/modules/xe/Makefile b/sys/modules/xe/Makefile
index 4568fb74..f900854 100644
--- a/sys/modules/xe/Makefile
+++ b/sys/modules/xe/Makefile
@@ -4,6 +4,6 @@
KMOD= if_xe
SRCS= if_xe.c if_xe_pccard.c
-SRCS+= bus_if.h card_if.h device_if.h
+SRCS+= bus_if.h card_if.h device_if.h pccarddevs.h
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud