summaryrefslogtreecommitdiffstats
path: root/sys/modules/rc
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-10-23 15:53:09 +0000
committerjhb <jhb@FreeBSD.org>2002-10-23 15:53:09 +0000
commit5fb412a107d03e48edf582242769f2295587e78b (patch)
tree2fac07eec222a84afa37a76bf121c7d8fe886220 /sys/modules/rc
parent372485c16e67734ed4d85e216efae2e84cee4427 (diff)
downloadFreeBSD-src-5fb412a107d03e48edf582242769f2295587e78b.zip
FreeBSD-src-5fb412a107d03e48edf582242769f2295587e78b.tar.gz
- New-bussify the rc(4) device driver.
- Add detach support to the driver so that you can kldunload the module. Note that currently rc_detach() fails to detach a unit if any of its child devices are open, thus a kldunload will fail if any of the tty devices are currently open. - sys/i386/isa/ic/cd180.h was moved to sys/dev/ic/cd180.h as part of this change. Requested by: rwatson Tested by: rwatson
Diffstat (limited to 'sys/modules/rc')
-rw-r--r--sys/modules/rc/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/modules/rc/Makefile b/sys/modules/rc/Makefile
new file mode 100644
index 0000000..ffa6163
--- /dev/null
+++ b/sys/modules/rc/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/rc
+
+KMOD= rc
+SRCS= rc.c device_if.h bus_if.h isa_if.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud