summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-01-23 15:26:15 +0000
committerpeter <peter@FreeBSD.org>2000-01-23 15:26:15 +0000
commit6542b31f776796400859598f0a22db81ffef1d18 (patch)
tree9e64a49b5e96a5996c129a0eff6df6bd6b429027 /sys
parentb675bb30c4e40e043bd182a478c730ae511b15a9 (diff)
downloadFreeBSD-src-6542b31f776796400859598f0a22db81ffef1d18.zip
FreeBSD-src-6542b31f776796400859598f0a22db81ffef1d18.tar.gz
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 :-).
Diffstat (limited to 'sys')
-rw-r--r--sys/modules/Makefile2
-rw-r--r--sys/modules/vpo/Makefile11
2 files changed, 12 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index 339da07..f4ec818 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -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"
diff --git a/sys/modules/vpo/Makefile b/sys/modules/vpo/Makefile
new file mode 100644
index 0000000..8c29762
--- /dev/null
+++ b/sys/modules/vpo/Makefile
@@ -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>
OpenPOWER on IntegriCloud