diff options
author | nyan <nyan@FreeBSD.org> | 2003-12-28 12:27:34 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2003-12-28 12:27:34 +0000 |
commit | c36fbcc8c953cdf475bbd20b9c2c7c0abc5f7a4e (patch) | |
tree | a3ce3b3ef9a07490807d60691393d4903da5db8b /sys/modules/sio | |
parent | e05b985b7865055c0692c7cd3457f8a85ed9bb5a (diff) | |
download | FreeBSD-src-c36fbcc8c953cdf475bbd20b9c2c7c0abc5f7a4e.zip FreeBSD-src-c36fbcc8c953cdf475bbd20b9c2c7c0abc5f7a4e.tar.gz |
Fix to support pc98 and currect typo.
Diffstat (limited to 'sys/modules/sio')
-rw-r--r-- | sys/modules/sio/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/sys/modules/sio/Makefile b/sys/modules/sio/Makefile index 5feb902..cd48c40 100644 --- a/sys/modules/sio/Makefile +++ b/sys/modules/sio/Makefile @@ -1,5 +1,8 @@ # $FreeBSD$ +.if ${MACHINE} == "pc98" +.PATH: ${.CURDIR}/../../pc98/pc98 +.endif .PATH: ${.CURDIR}/../../dev/sio KMOD= sio @@ -7,14 +10,20 @@ SRCS= sio.c sio_pccard.c sio_pci.c sio_puc.c .if ${MACHINE} == "sparc64" ### untested -CFLAGS += sio_ebus.c +SRCS+= sio_ebus.c .endif .if ${MACHINE} == "pc98" -CFLAGS+= -DPC98 +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 +.endif + opt_compat.h: @echo '#define COMPAT_43 1' > opt_compat.h @echo '#define COMPAT_FREEBSD4 1' >> opt_compat.h |