Add an example vpo module. I don't have a zip drive to test it, but it

behaves the normal way when loaded at runtime versus being statically
compiled.  (normal == print garbage on the printer :-).
This commit is contained in:
Peter Wemm 2000-01-23 15:26:15 +00:00
parent 9c918de3de
commit 5331081645
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56462
2 changed files with 12 additions and 1 deletions

View file

@ -6,7 +6,7 @@ SUBDIR= aha amr an aue ccd cd9660 coda cue dc fdesc fxp if_disc if_ef if_ppp \
if_sl if_tun ipfilter ipfw joy kernfs kue md mfs mii mlx msdos \
ncp netgraph nfs ntfs nullfs \
nwfs portal procfs rl sf sis sk ste ti tl \
ugen uhid ukbd ulpt umapfs umass umodem ums union usb vn vr wb xl
ugen uhid ukbd ulpt umapfs umass umodem ums union usb vn vpo vr wb xl
# XXX some of these can move to the general case when de-i386'ed
.if ${MACHINE_ARCH} == "i386"

11
sys/modules/vpo/Makefile Normal file
View file

@ -0,0 +1,11 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/ppbus
KMOD= vpo
SRCS= bus_if.h device_if.h ppbus_if.h \
opt_cam.h opt_scsi.h opt_vpo.h \
immio.c vpo.c vpoio.c
NOMAN=
CFLAGS+= ${DEBUG_FLAGS}
.include <bsd.kmod.mk>