Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/etc.atari WS keyboard device.



details:   https://anonhg.NetBSD.org/src/rev/3a6d1311e058
branches:  trunk
changeset: 542609:3a6d1311e058
user:      thomas <thomas%NetBSD.org@localhost>
date:      Sun Feb 02 18:05:08 2003 +0000

description:
WS keyboard device.

diffstat:

 etc/etc.atari/MAKEDEV |  20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r 7099a309d26a -r 3a6d1311e058 etc/etc.atari/MAKEDEV
--- a/etc/etc.atari/MAKEDEV     Sun Feb 02 17:56:54 2003 +0000
+++ b/etc/etc.atari/MAKEDEV     Sun Feb 02 18:05:08 2003 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.62 2002/10/21 04:14:50 lukem Exp $
+#      $NetBSD: MAKEDEV,v 1.63 2003/02/02 18:05:08 thomas Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -70,6 +70,7 @@
 # Console ports:
 #      ttye*   ite bitmapped consoles
 #      ttyE*   wscons
+#      wskbd*  wskbd for use with wscons
 #
 # Pointing devices:
 #      mouse*  Atari mice
@@ -160,7 +161,7 @@
        makedev audio audio0 audio1 audio2 audio3
        makedev isdns
        makedev clockctl
-       makedev wscons
+       makedev wscons wskbd0 ttyEcfg
        makedev systrace
        ;;
 
@@ -386,6 +387,21 @@
        sh $0 ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7
        ;;
 
+wskbd*)
+       chr=55; unit=${i#wskbd}
+       rm -f wskbd$uni
+       mknod wskbd$unit c $chr $unit
+       chown root.wheel wskbd$unit
+       chmod 600 wskbd$unit
+       ;;
+ttyEcfg)
+       chr=41
+       rm -f ttyEcfg
+       mknod ttyEcfg c $chr 255
+       chown root.wheel ttyEcfg
+       chmod 600 ttyEcfg
+       ;;
+
 ttyE*)
        chr=41; unit=${i#ttyE}
        rm -f ttyE$unit



Home | Main Index | Thread Index | Old Index