Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/etc.dreamcast - remove redundant wscons devices in targe...
details: https://anonhg.NetBSD.org/src/rev/1905ebc339ad
branches: trunk
changeset: 533327:1905ebc339ad
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Thu Jun 27 16:22:35 2002 +0000
description:
- remove redundant wscons devices in target "all"
- add wsmux devices
- make correct md devices
diffstat:
etc/etc.dreamcast/MAKEDEV | 43 ++++++++++++++++++++++++++++++++++---------
1 files changed, 34 insertions(+), 9 deletions(-)
diffs (80 lines):
diff -r b280c48bd383 -r 1905ebc339ad etc/etc.dreamcast/MAKEDEV
--- a/etc/etc.dreamcast/MAKEDEV Thu Jun 27 16:10:03 2002 +0000
+++ b/etc/etc.dreamcast/MAKEDEV Thu Jun 27 16:22:35 2002 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.21 2002/06/19 15:08:40 wiz Exp $
+# $NetBSD: MAKEDEV,v 1.22 2002/06/27 16:22:35 tsutsui Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -103,7 +103,7 @@
makedev std wscons fd gdrom0 maple
makedev scif0 sci0 pty0
makedev vnd0 vnd1
- makedev ttyE0 ttyEcfg wsmouse0 wskbd0 bpf0 bpf1 bpf2 bpf3 tun0 tun1 ipl
+ makedev bpf0 bpf1 bpf2 bpf3 tun0 tun1 ipl
makedev ccd0 ccd1 ccd2 ccd3 md0 random
makedev lkm audio local
makedev clockctl
@@ -120,6 +120,8 @@
makedev ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7
makedev wsmouse0 wsmouse1 wsmouse2 wsmouse3
makedev wskbd0 wskbd1 wskbd2 wskbd3
+ makedev wsmux0 wsmux1 wsmux2 wsmux3
+ makedev wsmouse wskbd
makedev ttyEcfg
;;
@@ -167,13 +169,11 @@
esac
rm -f $name$unit? r$name$unit?
mknod ${name}${unit}a b $blk $(($unit * 8 + 0))
- mknod ${name}${unit}b b $blk $(($unit * 8 + 1))
- mknod ${name}${unit}c b $blk $(($unit * 8 + 2))
- mknod r${name}${unit}a c $chr $(($unit * 8 + 0))
- mknod r${name}${unit}b c $chr $(($unit * 8 + 1))
- mknod r${name}${unit}c c $chr $(($unit * 8 + 2))
- chgrp operator $name$unit? r$name$unit?
- chmod 640 $name$unit? r$name$unit?
+ mknod ${name}${unit}d b $blk $(($unit * 8 + 3))
+# mknod r${name}${unit}a c $chr $(($unit * 8 + 0))
+# mknod r${name}${unit}d c $chr $(($unit * 8 + 3))
+ chgrp operator $name$unit? #r$name$unit?
+ chmod 640 $name$unit? #r$name$unit?
;;
ccd*|fd*|sd*|vnd*|wd*)
@@ -354,6 +354,31 @@
chmod 640 lkm
;;
+wsmouse)
+ rm -f wsmouse
+ mknod wsmouse c 56 0
+ chmod 600 wsmouse
+ ;;
+
+wskbd)
+ rm -f wskbd
+ mknod wskbd c 56 1
+ chmod 600 wskbd
+ ;;
+
+wsmux*)
+ unit=${i#wsmux}
+ unitctl=$(($unit + 128))
+ wsmux=wsmux$unit
+ wsmuxctl=wsmuxctl$unit
+ major=56
+ rm -f $wsmux $wsmuxctl
+ mknod $wsmux c $major $unit
+ chmod 600 $wsmux
+ mknod $wsmuxctl c $major $unitctl
+ chmod 200 $wsmuxctl
+ ;;
+
wskbd*)
unit=${i#wskbd}
wskbd=wskbd$unit
Home |
Main Index |
Thread Index |
Old Index