Browse Source

from leo:

Add an nvram-driver. This driver makes it possible to read/write the
configuration info stored in the nvram on the mc146818
OPENBSD_2_0
deraadt 29 years ago
parent
commit
6e1c629d43
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      src/etc/etc.atari/MAKEDEV

+ 3
- 2
src/etc/etc.atari/MAKEDEV View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $NetBSD: MAKEDEV,v 1.4 1995/08/17 18:02:31 thorpej Exp $
# $NetBSD: MAKEDEV,v 1.5 1996/01/06 20:19:59 leo Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -96,13 +96,14 @@ floppy)
;; ;;
std) std)
rm -f console drum kmem mem reload null zero tty
rm -f console drum kmem mem nvram reload null zero tty
rm -f klog stdin stdout stderr rm -f klog stdin stdout stderr
mknod console c 0 0 mknod console c 0 0
mknod drum c 3 0 ; chmod 640 drum ; chgrp kmem drum mknod drum c 3 0 ; chmod 640 drum ; chgrp kmem drum
mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem mknod kmem c 2 1 ; chmod 640 kmem ; chgrp kmem kmem
mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem mknod mem c 2 0 ; chmod 640 mem ; chgrp kmem mem
mknod reload c 2 20 ; chmod 640 mem ; chgrp kmem mem mknod reload c 2 20 ; chmod 640 mem ; chgrp kmem mem
mknod nvram c 2 11 ; chmod 640 mem ; chgrp kmem mem
mknod zero c 2 12 ; chmod 666 zero mknod zero c 2 12 ; chmod 666 zero
mknod null c 2 2 ; chmod 666 null mknod null c 2 2 ; chmod 666 null
mknod tty c 1 0 ; chmod 666 tty mknod tty c 1 0 ; chmod 666 tty


Loading…
Cancel
Save