Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc sync with reality, put back some entries mistakely omitted
details: https://anonhg.NetBSD.org/src/rev/7845e0964b05
branches: trunk
changeset: 554011:7845e0964b05
user: jdolecek <jdolecek%NetBSD.org@localhost>
date: Fri Oct 24 08:20:26 2003 +0000
description:
sync with reality, put back some entries mistakely omitted
in the initial conversion from MD MAKEDEV
diffstat:
etc/etc.amiga/MAKEDEV.conf | 14 ++++++++++----
etc/etc.atari/MAKEDEV.conf | 15 +++++++++++++--
etc/etc.bebox/MAKEDEV.conf | 5 ++---
etc/etc.cats/MAKEDEV.conf | 13 +++++++++++--
etc/etc.evbsh3/MAKEDEV.conf | 4 ++--
etc/etc.evbsh5/MAKEDEV.conf | 4 ++--
etc/etc.hp300/MAKEDEV.conf | 7 ++++++-
etc/etc.hpcarm/MAKEDEV.conf | 13 +++++++++++--
etc/etc.hpcmips/MAKEDEV.conf | 3 +--
etc/etc.ibmnws/MAKEDEV.conf | 12 +++---------
etc/etc.mac68k/MAKEDEV.conf | 8 ++++++--
etc/etc.macppc/MAKEDEV.conf | 20 +++++++++++++++++++-
etc/etc.mmeye/MAKEDEV.conf | 9 ++++-----
etc/etc.mvme68k/MAKEDEV.conf | 6 +++---
etc/etc.mvmeppc/MAKEDEV.conf | 10 +++-------
etc/etc.ofppc/MAKEDEV.conf | 13 ++++---------
etc/etc.pc532/MAKEDEV.conf | 33 ++++++++++++++++++++++++++++++++-
etc/etc.pmppc/MAKEDEV.conf | 8 +++-----
etc/etc.shark/MAKEDEV.conf | 7 +++----
etc/etc.sparc/MAKEDEV.conf | 27 +++++++++++++++++++++++++--
etc/etc.sparc64/MAKEDEV.conf | 18 ++++++++++++++----
etc/etc.sun2/MAKEDEV.conf | 4 ++--
etc/etc.sun3/MAKEDEV.conf | 4 +++-
etc/etc.vax/MAKEDEV.conf | 4 ++--
etc/etc.x68k/MAKEDEV.conf | 15 +++++++++++++--
25 files changed, 197 insertions(+), 79 deletions(-)
diffs (truncated from 632 to 300 lines):
diff -r 381dc4827a9d -r 7845e0964b05 etc/etc.amiga/MAKEDEV.conf
--- a/etc/etc.amiga/MAKEDEV.conf Fri Oct 24 08:18:36 2003 +0000
+++ b/etc/etc.amiga/MAKEDEV.conf Fri Oct 24 08:20:26 2003 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: MAKEDEV.conf,v 1.3 2003/10/19 19:07:26 jdolecek Exp $
+# $NetBSD: MAKEDEV.conf,v 1.4 2003/10/24 08:20:26 jdolecek Exp $
all_md)
- makedev wscons fd0 fd1 fd2 fd3 kbd mouse0 mouse1 par0
- makedev lpt0 lpt1 lpt2 lpt3
+ makedev wscons std_amiga fd0 fd1 fd2 fd3 kbd mouse0 mouse1 par0
+ makedev lpt0 lpt1 lpt2 lpt3 lpa0 lpa1 lpa2 lpa3
makedev ttye0 ttye1 ttye2 ttye3 ttye4 ttye5 ttye6 ttye7
makedev grf0 grf1 grf2 grf3 grf4 grf5 grf6 grf7
makedev tty00 ttyA0 ttyA1
@@ -11,6 +11,7 @@
makedev view00 view01 view02 view03 view04 view05
makedev sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 cd0 st0 wd0 wd1
makedev ss0 ch0 uk0 uk1
+ makedev vnd4 vnd5 vnd6
makedev audio
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
@@ -25,8 +26,13 @@
makedev cd0 cd1 cd2 st0 wd0 wd1 md0
;;
-ttyA*|ttyB*)
+std_amiga)
+ mknod reload c 2 20 ; chmod 600 reload
+ ;;
+
+tty0*|ttyA*|ttyB*)
case $i in
+ tty0*) name=tty0; mname=ttym; unit=${i#tty0}; chr=12; mult=1; add=128;;
ttyA*) name=ttyA; mname=ttyAm; unit=${i#ttyA}; chr=17; mult=1; add=128;;
ttyB*) name=ttyB; mname=ttyBm; unit=${i#ttyB}; chr=31; mult=2; add=1;;
esac
diff -r 381dc4827a9d -r 7845e0964b05 etc/etc.atari/MAKEDEV.conf
--- a/etc/etc.atari/MAKEDEV.conf Fri Oct 24 08:18:36 2003 +0000
+++ b/etc/etc.atari/MAKEDEV.conf Fri Oct 24 08:20:26 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: MAKEDEV.conf,v 1.3 2003/10/19 19:07:26 jdolecek Exp $
+# $NetBSD: MAKEDEV.conf,v 1.4 2003/10/24 08:20:26 jdolecek Exp $
all_md)
- makedev st0 ttye0 ttye1 ttye2 ttye3 ttye4 ttye5 grf0 grf1
+ makedev std_atari st0 ttye0 ttye1 ttye2 ttye3 ttye4 ttye5 grf0 grf1
makedev grf2 grf3 grf4 grf5 mouse0 mouse1 rtc etvme leo0
makedev kbd sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9
makedev view00 view01 view02 view03 view04 view05
@@ -20,6 +20,11 @@
makedev ttyA0 ttyA1 ttyB0 opty
;;
+std_atari)
+ mknod nvram c 2 11 ; chmod 640 nvram ; chgrp kmem nvram
+ mknod reload c 2 20 ; chmod 640 reload ; chgrp kmem reload
+ ;;
+
ttyA*|ttyB*)
case $i in
ttyA*) name=tyA; unit=${i#ttyA}; major=7; minor=$(($unit * 16));;
@@ -31,3 +36,9 @@
mknod d$name$unit c $major $(($minor + $dialout ))
chown uucp t$name$unit d$name$unit
;;
+
+lpt*)
+ unit=${i#lpt}
+ rm -f lpt$unit
+ mknod lpt$unit c 29 $unit
+ ;;
diff -r 381dc4827a9d -r 7845e0964b05 etc/etc.bebox/MAKEDEV.conf
--- a/etc/etc.bebox/MAKEDEV.conf Fri Oct 24 08:18:36 2003 +0000
+++ b/etc/etc.bebox/MAKEDEV.conf Fri Oct 24 08:20:26 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MAKEDEV.conf,v 1.3 2003/10/19 19:07:27 jdolecek Exp $
+# $NetBSD: MAKEDEV.conf,v 1.4 2003/10/24 08:20:26 jdolecek Exp $
all_md)
makedev wt0 fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
@@ -6,9 +6,8 @@
makedev st0 st1 ch0 cd0 cd1 lpa0 lpa1 lpa2
makedev lpt0 lpt1 lpt2 ttyv0 tun0 tun1
makedev ss0 ch0 uk0 uk1 ttyCY0
- makedev speaker mms0 lms0 audio joy0 joy1 apm satlink0
+ makedev speaker mms0 lms0 audio joy0 joy1 satlink0
makedev ttyv0 ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7 ttyE8
- makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev isdns
;;
diff -r 381dc4827a9d -r 7845e0964b05 etc/etc.cats/MAKEDEV.conf
--- a/etc/etc.cats/MAKEDEV.conf Fri Oct 24 08:18:36 2003 +0000
+++ b/etc/etc.cats/MAKEDEV.conf Fri Oct 24 08:20:26 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: MAKEDEV.conf,v 1.2 2003/10/19 19:07:27 jdolecek Exp $
+# $NetBSD: MAKEDEV.conf,v 1.3 2003/10/24 08:20:26 jdolecek Exp $
all_md)
- makedev wscons fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3
+ makedev wscons std_cats fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3
makedev tty0 tty1 st0 st1 ch0 cd0 cd1
makedev uk0 uk1 ss0
makedev ttyv0
@@ -13,6 +13,15 @@
makedev audio
;;
+std_cats)
+ rm -f kbd kbdctl vidcconsole0
+ mknod kbd c 11 0 ; chmod 666 kbd
+ mknod kbdctl c 11 1 ; chmod 666 kbdctl
+ mknod vidcconsole0 c 37 0 ; chmod 640 vidcconsole0
+ ln -fs vidcconsole0 vidc
+ ln -fs vidcconsole0 vidcvideo0 ; # backwards compatible for X (XXX)
+ ;;
+
ramdisk|floppy)
makedev std fd0 fd1 wd0 wd1 wd2 wd3 md0 md1 sd0 sd1 sd2 sd3
makedev tty0 tty1 opty ttyv0
diff -r 381dc4827a9d -r 7845e0964b05 etc/etc.evbsh3/MAKEDEV.conf
--- a/etc/etc.evbsh3/MAKEDEV.conf Fri Oct 24 08:18:36 2003 +0000
+++ b/etc/etc.evbsh3/MAKEDEV.conf Fri Oct 24 08:20:26 2003 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: MAKEDEV.conf,v 1.2 2003/10/19 19:07:27 jdolecek Exp $
+# $NetBSD: MAKEDEV.conf,v 1.3 2003/10/24 08:20:26 jdolecek Exp $
all_md)
- makedev fd0
makedev tty0 tty1
+ makedev audio
;;
ramdisk)
diff -r 381dc4827a9d -r 7845e0964b05 etc/etc.evbsh5/MAKEDEV.conf
--- a/etc/etc.evbsh5/MAKEDEV.conf Fri Oct 24 08:18:36 2003 +0000
+++ b/etc/etc.evbsh5/MAKEDEV.conf Fri Oct 24 08:20:26 2003 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: MAKEDEV.conf,v 1.2 2003/10/19 19:07:27 jdolecek Exp $
+# $NetBSD: MAKEDEV.conf,v 1.3 2003/10/24 08:20:26 jdolecek Exp $
all_md)
- makedev fd0
makedev tty0 tty1
+ makedev audio
;;
ramdisk)
diff -r 381dc4827a9d -r 7845e0964b05 etc/etc.hp300/MAKEDEV.conf
--- a/etc/etc.hp300/MAKEDEV.conf Fri Oct 24 08:18:36 2003 +0000
+++ b/etc/etc.hp300/MAKEDEV.conf Fri Oct 24 08:20:26 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MAKEDEV.conf,v 1.3 2003/10/19 19:07:27 jdolecek Exp $
+# $NetBSD: MAKEDEV.conf,v 1.4 2003/10/24 08:20:26 jdolecek Exp $
all_md)
makedev ct0 ct1 rd0 rd1 rd
@@ -130,3 +130,8 @@
chmod 666 hil*
# echo "hil: use $0.hpux to make HP-UX names for devices"
;;
+
+rd*)
+ name=rd; unit=${i#rd}; blk=2; chr=9
+ %MKDISK% $name $unit $blk $chr
+ ;;
diff -r 381dc4827a9d -r 7845e0964b05 etc/etc.hpcarm/MAKEDEV.conf
--- a/etc/etc.hpcarm/MAKEDEV.conf Fri Oct 24 08:18:36 2003 +0000
+++ b/etc/etc.hpcarm/MAKEDEV.conf Fri Oct 24 08:20:26 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: MAKEDEV.conf,v 1.2 2003/10/19 19:07:27 jdolecek Exp $
+# $NetBSD: MAKEDEV.conf,v 1.3 2003/10/24 08:20:26 jdolecek Exp $
all_md)
- makedev wscons fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3
+ makedev wscons std_hpcarm fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3
makedev tty0 tty1 st0 st1 ch0 cd0 cd1
makedev uk0 uk1 ss0
makedev ttyv0 ttyS0
@@ -14,6 +14,15 @@
makedev apm
;;
+std_hpcarm)
+ rm -f kbd kbdctl vidcconsole0
+ mknod kbd c 11 0 ; chmod 666 kbd
+ mknod kbdctl c 11 1 ; chmod 666 kbdctl
+ mknod vidcconsole0 c 37 0 ; chmod 640 vidcconsole0
+ ln -fs vidcconsole0 vidc
+ ln -fs vidcconsole0 vidcvideo0 ; # backwards compatible for X (XXX)
+ ;;
+
ramdisk|floppy)
makedev std fd0 fd1 wd0 wd1 wd2 wd3 md0 md1 sd0 sd1 sd2 sd3
makedev tty0 tty1 opty ttyv0
diff -r 381dc4827a9d -r 7845e0964b05 etc/etc.hpcmips/MAKEDEV.conf
--- a/etc/etc.hpcmips/MAKEDEV.conf Fri Oct 24 08:18:36 2003 +0000
+++ b/etc/etc.hpcmips/MAKEDEV.conf Fri Oct 24 08:20:26 2003 +0000
@@ -1,10 +1,9 @@
-# $NetBSD: MAKEDEV.conf,v 1.2 2003/10/19 19:07:27 jdolecek Exp $
+# $NetBSD: MAKEDEV.conf,v 1.3 2003/10/24 08:20:26 jdolecek Exp $
all_md)
makedev wscons fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
makedev tty0 tty1 tty2
makedev st0 st1 ch0 cd0 cd1
- makedev lpt0 lpt1 lpt2
makedev ss0 ch0 uk0 uk1
makedev usbs isdns
makedev scsibus0 scsibus1 scsibus2 scsibus3
diff -r 381dc4827a9d -r 7845e0964b05 etc/etc.ibmnws/MAKEDEV.conf
--- a/etc/etc.ibmnws/MAKEDEV.conf Fri Oct 24 08:18:36 2003 +0000
+++ b/etc/etc.ibmnws/MAKEDEV.conf Fri Oct 24 08:20:26 2003 +0000
@@ -1,17 +1,11 @@
-# $NetBSD: MAKEDEV.conf,v 1.3 2003/10/19 19:08:59 jdolecek Exp $
+# $NetBSD: MAKEDEV.conf,v 1.4 2003/10/24 08:20:26 jdolecek Exp $
all_md)
- makedev wscons fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
+ makedev sd0 sd1 sd2 sd3 sd4
makedev tty0 tty1
makedev st0 st1 ch0 cd0 cd1
- makedev lpt0 lpt1 lpt2 ttyv0
+ makedev lpt0 lpt1 lpt2
makedev ss0 ch0 uk0 uk1
- makedev speaker audio joy0 joy1
- makedev ttyCY0
- makedev music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
- makedev scsibus0 scsibus1 scsibus2 scsibus3
- makedev isdns
- makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev systrace
;;
diff -r 381dc4827a9d -r 7845e0964b05 etc/etc.mac68k/MAKEDEV.conf
--- a/etc/etc.mac68k/MAKEDEV.conf Fri Oct 24 08:18:36 2003 +0000
+++ b/etc/etc.mac68k/MAKEDEV.conf Fri Oct 24 08:20:26 2003 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: MAKEDEV.conf,v 1.2 2003/10/19 19:07:27 jdolecek Exp $
+# $NetBSD: MAKEDEV.conf,v 1.3 2003/10/24 08:20:26 jdolecek Exp $
all_md)
- makedev wscons sd0 sd1 sd2 sd3 wd0 wd1 wd2 wd3 tty0 tty1
+ makedev wscons std_mac68k sd0 sd1 sd2 sd3 wd0 wd1 wd2 wd3 tty0 tty1
makedev st0 st1 ch0 cd0 cd1 fd0 fd1
makedev ss0 uk0 uk1
makedev ttye0 adb grf0 grf1 grf2 grf3
@@ -10,6 +10,10 @@
makedev scsibus0 scsibus1 scsibus2 scsibus3 cfs0
;;
+std_mac68k)
+ mknod reload c 2 20 ; chmod 640 reload ; chgrp kmem reload
+ ;;
+
raminst)
makedev std
makedev sd0 sd1 sd2 sd3 wd0 wd1 wd2 wd3 st0 st1 cd0 cd1 md0
diff -r 381dc4827a9d -r 7845e0964b05 etc/etc.macppc/MAKEDEV.conf
--- a/etc/etc.macppc/MAKEDEV.conf Fri Oct 24 08:18:36 2003 +0000
+++ b/etc/etc.macppc/MAKEDEV.conf Fri Oct 24 08:20:26 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: MAKEDEV.conf,v 1.2 2003/10/19 19:07:27 jdolecek Exp $
+# $NetBSD: MAKEDEV.conf,v 1.3 2003/10/24 08:20:26 jdolecek Exp $
all_md)
makedev wscons sd0 sd1 sd2 st0 st1 cd0 cd1 wd0 wd1
@@ -22,3 +22,21 @@
makedev st0 st1 cd0 cd1 wd0 wd1 md0
makedev ttyE0 wsmouse0 wskbd0 ttyEcfg
;;
+
+tty1[0-9])
+ # Mac uses special mapping - tty0[01] are the zstty ports,
+ # tty1? are 'com' ports; for 'com' ports, we need to start
+ # at correct offset, i.e. substract 10
+ ounit=${i#tty}
+ ounit=$(($ounit + 0))
+ if [ $ounit -lt 10 ]; then
+ unit=0$ounit
+ else
+ unit=$ounit
+ fi
+ ounit=$(($ounit - 10))
+ rm -f tty$unit dty$unit
+ mknod tty$unit c 45 $(($ounit + $dialin ))
+ mknod dty$unit c 45 $(($ounit + $dialout))
+ chown uucp tty$unit dty$unit
+ ;;
diff -r 381dc4827a9d -r 7845e0964b05 etc/etc.mmeye/MAKEDEV.conf
--- a/etc/etc.mmeye/MAKEDEV.conf Fri Oct 24 08:18:36 2003 +0000
+++ b/etc/etc.mmeye/MAKEDEV.conf Fri Oct 24 08:20:26 2003 +0000
@@ -1,12 +1,11 @@
-# $NetBSD: MAKEDEV.conf,v 1.2 2003/10/19 19:07:27 jdolecek Exp $
+# $NetBSD: MAKEDEV.conf,v 1.3 2003/10/24 08:20:26 jdolecek Exp $
all_md)
- makedev wt0 fd0 fd1 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
Home |
Main Index |
Thread Index |
Old Index