1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-31 16:57:10 +00:00

New sio module. A number of people have suggested this over the years

(most recently bde), so I'll commit the module I've had knocking
around in my tree for a while.  This may have some rough edges, so if
you are able to build it on non-i386 platform (including pc98) please
let me know you succeeded.  When I get enough reports, I'll connect it
to the build.  If there are problems, feel free to fix them.

Suggested by: bde
This commit is contained in:
Warner Losh 2003-12-27 19:50:37 +00:00
parent 4acf0ddea2
commit 34f40c9b63
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123911

25
sys/modules/sio/Makefile Normal file
View File

@ -0,0 +1,25 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/sio
KMOD= sio
SRCS= sio.c sio_pccard.c sio_pci.c sio_puc.c
.if ${MACHINE} == "sparc64"
### untested
CFLAGS += sio_ebus.c
.endif
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98
.else
SRCS+= sio_isa.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
.include <bsd.kmod.mk>