summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/pc98/pc98/npx.c3
-rw-r--r--sys/pc98/pc98/spkr.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/pc98/pc98/npx.c b/sys/pc98/pc98/npx.c
index b1a3ff7..8a36ca4 100644
--- a/sys/pc98/pc98/npx.c
+++ b/sys/pc98/pc98/npx.c
@@ -1102,5 +1102,6 @@ static driver_t npxisa_driver = {
static devclass_t npxisa_devclass;
DRIVER_MODULE(npxisa, isa, npxisa_driver, npxisa_devclass, 0, 0);
+#ifndef PC98
DRIVER_MODULE(npxisa, acpi, npxisa_driver, npxisa_devclass, 0, 0);
-
+#endif
diff --git a/sys/pc98/pc98/spkr.c b/sys/pc98/pc98/spkr.c
index 4fd2667..b38449c 100644
--- a/sys/pc98/pc98/spkr.c
+++ b/sys/pc98/pc98/spkr.c
@@ -671,6 +671,7 @@ static driver_t atspeaker_driver = {
static devclass_t atspeaker_devclass;
DRIVER_MODULE(atspeaker, isa, atspeaker_driver, atspeaker_devclass, 0, 0);
+#ifndef PC98
DRIVER_MODULE(atspeaker, acpi, atspeaker_driver, atspeaker_devclass, 0, 0);
-
+#endif
/* spkr.c ends here */
OpenPOWER on IntegriCloud