summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorjoshua stein <jcs@cvs.openbsd.org>2004-10-03 21:28:35 +0000
committerjoshua stein <jcs@cvs.openbsd.org>2004-10-03 21:28:35 +0000
commit07213120b6c32c6aa12e0a83ac2101eca62e7a47 (patch)
treef7a3ddd795023aebd94d90e3622ab554e5b8b18b /etc
parentc9bf6a6b57e48177a91b3e065f6745a671922e83 (diff)
nvram driver for i386 through /dev/nvram
currently read-only ok grange@, marius@
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.i386/MAKEDEV.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/etc.i386/MAKEDEV.md b/etc/etc.i386/MAKEDEV.md
index b8935c7634a..246531eabd1 100644
--- a/etc/etc.i386/MAKEDEV.md
+++ b/etc/etc.i386/MAKEDEV.md
@@ -1,5 +1,5 @@
vers(__file__,
- {-$OpenBSD: MAKEDEV.md,v 1.27 2004/09/06 10:06:05 deraadt Exp $-},
+ {-$OpenBSD: MAKEDEV.md,v 1.28 2004/10/03 21:28:34 jcs Exp $-},
etc.MACHINE)dnl
dnl
dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
@@ -17,6 +17,8 @@ dnl ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
dnl
dnl
+__devitem(nvram, nvram, NVRAM access)dnl
+_mkdev(nvram, nvram, {-M nvram c major_nvram_c 0 440 kmem-})dnl
_TITLE(make)
_DEV(all)
_DEV(ramdisk)
@@ -76,6 +78,7 @@ _DEV(iop, 75)
_DEV(joy, 26)
_DEV(lkm, 28)
_DEV(music, 53)
+_DEV(nvram, 84)
_DEV(pci, 72)
_DEV(pctr, 46)
_DEV(pf, 73)
@@ -127,6 +130,7 @@ target(all, vnd, 0, 1, 2, 3)dnl
target(all, ccd, 0, 1, 2, 3)dnl
target(all, bktr, 0)dnl
target(all, gpio, 0, 1, 2)dnl
+target(all, nvram)dnl
target(ramd, tty0, 0, 1, 2, 3)dnl
twrget(ramd, wsdisp, ttyC, 0)dnl
target(ramd, wt, 0)dnl