summaryrefslogtreecommitdiffstats
path: root/sys/modules/nvram
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2007-10-26 03:23:54 +0000
committerpeter <peter@FreeBSD.org>2007-10-26 03:23:54 +0000
commit9c4d4d9a16e6f080b2248887812143e7cc0abf3f (patch)
treef39a0a61a976bda4b6ff5fcbced8330ff0a6dc72 /sys/modules/nvram
parent6349ab663a1b206161fc89983f0be884809286f7 (diff)
downloadFreeBSD-src-9c4d4d9a16e6f080b2248887812143e7cc0abf3f.zip
FreeBSD-src-9c4d4d9a16e6f080b2248887812143e7cc0abf3f.tar.gz
Split /dev/nvram driver out of isa/clock.c for i386 and amd64. I have not
refactored it to be a generic device. Instead of being part of the standard kernel, there is now a 'nvram' device for i386/amd64. It is in DEFAULTS like io and mem, and can be turned off with 'nodevice nvram'. This matches the previous behavior when it was first committed.
Diffstat (limited to 'sys/modules/nvram')
-rw-r--r--sys/modules/nvram/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/modules/nvram/Makefile b/sys/modules/nvram/Makefile
new file mode 100644
index 0000000..7af468d
--- /dev/null
+++ b/sys/modules/nvram/Makefile
@@ -0,0 +1,8 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/nvram
+
+KMOD= nvram
+SRCS= nvram.c
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud