summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2001-09-16 05:28:16 +0000
committernyan <nyan@FreeBSD.org>2001-09-16 05:28:16 +0000
commit9313ae499c67d31e76e8f932ed6a4f3544a87b45 (patch)
tree76431ee8ecb7b15f58d098edcdc687e0489a564e /sys/pc98/cbus
parentf051396f4f5536007435c260dbbefc02b3bd23fd (diff)
downloadFreeBSD-src-9313ae499c67d31e76e8f932ed6a4f3544a87b45.zip
FreeBSD-src-9313ae499c67d31e76e8f932ed6a4f3544a87b45.tar.gz
Added (commented out) ACPI attachment.
Diffstat (limited to 'sys/pc98/cbus')
-rw-r--r--sys/pc98/cbus/cbus_dma.c3
-rw-r--r--sys/pc98/cbus/fdc.c3
-rw-r--r--sys/pc98/cbus/ppc.c3
3 files changed, 9 insertions, 0 deletions
diff --git a/sys/pc98/cbus/cbus_dma.c b/sys/pc98/cbus/cbus_dma.c
index 7618b974..987aa37 100644
--- a/sys/pc98/cbus/cbus_dma.c
+++ b/sys/pc98/cbus/cbus_dma.c
@@ -620,3 +620,6 @@ static driver_t atdma_driver = {
static devclass_t atdma_devclass;
DRIVER_MODULE(atdma, isa, atdma_driver, atdma_devclass, 0, 0);
+#ifndef PC98
+DRIVER_MODULE(atdma, acpi, atdma_driver, atdma_devclass, 0, 0);
+#endif
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c
index 2d9eb1b..bbf8b37 100644
--- a/sys/pc98/cbus/fdc.c
+++ b/sys/pc98/cbus/fdc.c
@@ -1281,6 +1281,9 @@ static driver_t fdc_driver = {
};
DRIVER_MODULE(fdc, isa, fdc_driver, fdc_devclass, 0, 0);
+#ifndef PC98
+DRIVER_MODULE(fdc, acpi, fdc_driver, fdc_devclass, 0, 0);
+#endif
#if NCARD > 0
diff --git a/sys/pc98/cbus/ppc.c b/sys/pc98/cbus/ppc.c
index d5badd1..29d8bc4 100644
--- a/sys/pc98/cbus/ppc.c
+++ b/sys/pc98/cbus/ppc.c
@@ -2217,3 +2217,6 @@ ppc_teardown_intr(device_t bus, device_t child, struct resource *r, void *ih)
}
DRIVER_MODULE(ppc, isa, ppc_driver, ppc_devclass, 0, 0);
+#ifndef PC98
+DRIVER_MODULE(ppc, acpi, ppc_driver, ppc_devclass, 0, 0);
+#endif
OpenPOWER on IntegriCloud