aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/sio
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2003-12-29 08:35:33 +0000
committerBruce Evans <bde@FreeBSD.org>2003-12-29 08:35:33 +0000
commit1c07192538ba9e87b4d7803a0bfe222d7f9b2509 (patch)
tree44e49d11a37abb9770cb3b434b805693b371562b /sys/modules/sio
parent9e53fb7dc83ea1fce5a4b6cb42d001e820970452 (diff)
Notes
Diffstat (limited to 'sys/modules/sio')
-rw-r--r--sys/modules/sio/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/sys/modules/sio/Makefile b/sys/modules/sio/Makefile
index cd48c40e08aa..a028e8191da9 100644
--- a/sys/modules/sio/Makefile
+++ b/sys/modules/sio/Makefile
@@ -7,28 +7,27 @@
KMOD= sio
SRCS= sio.c sio_pccard.c sio_pci.c sio_puc.c
+SRCS+= opt_sio.h opt_ddb.h opt_compat.h opt_comconsole.h \
+ bus_if.h card_if.h device_if.h isa_if.h pci_if.h
-.if ${MACHINE} == "sparc64"
-### untested
-SRCS+= sio_ebus.c
-.endif
.if ${MACHINE} == "pc98"
SRCS+= sio_cbus.c
.else
SRCS+= sio_isa.c
.endif
-
-.if ${MACHINE} == "pc98"
-opt_sio.h:
- @echo '#define COM_MULTIPORT 1' > opt_sio.h
- @echo '#define COM_ESP 1' >> opt_sio.h
+.if ${MACHINE} == "sparc64"
+### untested
+SRCS+= sio_ebus.c
.endif
opt_compat.h:
@echo '#define COMPAT_43 1' > opt_compat.h
@echo '#define COMPAT_FREEBSD4 1' >> opt_compat.h
-SRCS+= opt_sio.h opt_ddb.h opt_compat.h opt_comconsole.h \
- bus_if.h card_if.h device_if.h isa_if.h pci_if.h
+.if ${MACHINE} == "pc98"
+opt_sio.h:
+ @echo '#define COM_MULTIPORT 1' > opt_sio.h
+ @echo '#define COM_ESP 1' >> opt_sio.h
+.endif
.include <bsd.kmod.mk>