aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/rc
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-10-23 15:53:09 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-10-23 15:53:09 +0000
commit599c57a971704afebb98afbde086803d47d8f9cf (patch)
tree2fac07eec222a84afa37a76bf121c7d8fe886220 /sys/modules/rc
parent39830509343aa566add43a18af3646c62a46bc5a (diff)
downloadsrc-599c57a971704afebb98afbde086803d47d8f9cf.tar.gz
src-599c57a971704afebb98afbde086803d47d8f9cf.zip
- 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
Notes
Notes: svn path=/head/; revision=105806
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 000000000000..ffa6163afa83
--- /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>