summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2000-12-16 04:00:40 +0000
committernyan <nyan@FreeBSD.org>2000-12-16 04:00:40 +0000
commitb10f1747182e3484f4cd17c60294f490a55b4c56 (patch)
treec3141ad28e21213e6d05a2be18184aa56f29a38b /sys/modules
parent6098ff346b3b295f8abe489c9bf8184aa4216f8b (diff)
downloadFreeBSD-src-b10f1747182e3484f4cd17c60294f490a55b4c56.zip
FreeBSD-src-b10f1747182e3484f4cd17c60294f490a55b4c56.tar.gz
PC-98 boxes use aic_cbus.c instead of aic_isa.c.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/aic/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/modules/aic/Makefile b/sys/modules/aic/Makefile
index 4b68aa9..56cfbb5 100644
--- a/sys/modules/aic/Makefile
+++ b/sys/modules/aic/Makefile
@@ -2,8 +2,15 @@
.PATH: ${.CURDIR}/../../dev/aic
KMOD = aic
-SRCS = aic.c aic_pccard.c aic_isa.c
+SRCS = aic.c aic_pccard.c
SRCS += opt_bdg.h device_if.h bus_if.h pci_if.h isa_if.h
SRCS += opt_cam.h opt_scsi.h
+.if ${MACHINE} == "pc98"
+SRCS += aic_cbus.c
+CFLAGS += -DPC98
+.else
+SRCS += aic_isa.c
+.endif
+
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud