Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc Group isdn devices, so "sh MAKEDEV isdn" will create the...
details: https://anonhg.NetBSD.org/src/rev/a0890c7ab9ac
branches: trunk
changeset: 501827:a0890c7ab9ac
user: martin <martin%NetBSD.org@localhost>
date: Mon Jan 08 06:21:19 2001 +0000
description:
Group isdn devices, so "sh MAKEDEV isdn" will create them all.
Add apropriate entries to the archs that already have isdn support
enabled in their cdev array.
diffstat:
etc/etc.alpha/MAKEDEV | 48 ++++++++++++++++++++++++++++++++++++++++++++++--
etc/etc.amiga/MAKEDEV | 48 +++++++++++++++++++++++++++++++++++++++++++++++-
etc/etc.atari/MAKEDEV | 48 +++++++++++++++++++++++++++++++++++++++++++++++-
etc/etc.i386/MAKEDEV | 9 +++++++--
4 files changed, 147 insertions(+), 6 deletions(-)
diffs (truncated from 314 to 300 lines):
diff -r 144960a17824 -r a0890c7ab9ac etc/etc.alpha/MAKEDEV
--- a/etc/etc.alpha/MAKEDEV Mon Jan 08 06:21:13 2001 +0000
+++ b/etc/etc.alpha/MAKEDEV Mon Jan 08 06:21:19 2001 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.66 2000/12/05 18:18:04 wrstuden Exp $
+# $NetBSD: MAKEDEV,v 1.67 2001/01/08 06:21:19 martin Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -90,6 +90,13 @@
# uscanner* Scanners
# ttyU* Modem
#
+# ISDN devices:
+# i4b comunication between userland isdnd and kernel
+# i4bctl control device
+# i4brbch* raw b-channel access
+# i4btel* telephonie device
+# i4btrc* trace device
+#
# Special purpose devices:
# audio* audio devices
# bpf* Berkeley packet filter devices
@@ -130,7 +137,7 @@
sh $0 audio0 audio1 audio2 audio3
sh $0 random satlink0 speaker local
sh $0 scsibus0 scsibus1 scsibus2 scsibus3
- sh $0 usbs wscons
+ sh $0 usbs wscons isdn
sh $0 music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
sh $0 ttyCZ0 ttyCY0
;;
@@ -167,6 +174,10 @@
sh $0 uscanner0 uscanner1
;;
+isdn)
+ sh $0 i4b i4bctl i4brbch0 i4brbch1 i4btel0 i4btel1 i4btrc0 i4btrc1
+ ;;
+
std)
rm -f console drum mem kmem null zero io tty klog stdin stdout stderr
mknod console c 0 0
@@ -599,6 +610,39 @@
chmod 644 scsibus$unit
;;
+i4b)
+ rm -f i4b
+ mknod i4b c 51 0
+ chmod 600 i4b
+ ;;
+
+i4bctl)
+ rm -f i4bctl
+ mknod i4bctl c 52 0
+ chmod 600 i4bctl
+ ;;
+
+i4brbch*)
+ unit=${i#i4brbch};
+ rm -f i4brbch$unit
+ mknod i4brbch$unit c 53 $unit
+ chmod 600 i4brbch$unit
+ ;;
+
+i4btel*)
+ unit=${i#i4btel};
+ rm -f i4btel$unit
+ mknod i4btel$unit c 54 $unit
+ chmod 600 i4btel$unit
+ ;;
+
+i4btrc*)
+ unit=${i#i4btrc};
+ rm -f i4btrc$unit
+ mknod i4btrc$unit c 55 $unit
+ chmod 600 i4btrc$unit
+ ;;
+
local)
umask 0
sh $0.local all
diff -r 144960a17824 -r a0890c7ab9ac etc/etc.amiga/MAKEDEV
--- a/etc/etc.amiga/MAKEDEV Mon Jan 08 06:21:13 2001 +0000
+++ b/etc/etc.amiga/MAKEDEV Mon Jan 08 06:21:19 2001 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.58 2000/10/29 13:03:37 tsutsui Exp $
+# $NetBSD: MAKEDEV,v 1.59 2001/01/08 06:21:19 martin Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -51,6 +51,7 @@
# floppy devices needed for install floppies
# std standard devices
# local configuration specific devices
+# isdn make ISDN devices
#
# Tapes:
# st* SCSI tapes
@@ -86,6 +87,13 @@
# par0 Amiga motherboard parallel port
# lpt* lpt parallel port (DraCo mainboard, HyperCom etc.)
#
+# ISDN devices:
+# i4b comunication between userland isdnd and kernel
+# i4bctl control device
+# i4brbch* raw b-channel access
+# i4btel* telephonie device
+# i4btrc* trace device
+#
# Special purpose devices:
# grf* custom chip (grf0), Retina Z2/Z3 (grf1/grf2),
# Cirrus boards (grf3), A2410 (grf4) video,
@@ -132,6 +140,7 @@
sh $0 tun0 tun1 lkm ipl random local
sh $0 audio0 audio1 audio2 audio3
sh $0 scsibus0 scsibus1 scsibus2 scsibus3
+ sh $0 isdn
;;
floppy)
@@ -142,6 +151,10 @@
sh $0 sd0 sd1 sd2 sd3 sd4 sd5 sd6 sd7 sd8 sd9 cd0 st0 wd0 wd1 md0
;;
+isdn)
+ sh $0 i4b i4bctl i4brbch0 i4brbch1 i4btel0 i4btel1 i4btrc0 i4btrc1
+ ;;
+
std)
rm -f console drum kmem mem reload null zero tty
rm -f klog stdin stdout stderr
@@ -549,6 +562,39 @@
chmod 644 scsibus$unit
;;
+i4b)
+ rm -f i4b
+ mknod i4b c 45 0
+ chmod 600 i4b
+ ;;
+
+i4bctl)
+ rm -f i4bctl
+ mknod i4bctl c 46 0
+ chmod 600 i4bctl
+ ;;
+
+i4brbch*)
+ unit=${i#i4brbch};
+ rm -f i4brbch$unit
+ mknod i4brbch$unit c 47 $unit
+ chmod 600 i4brbch$unit
+ ;;
+
+i4btel*)
+ unit=${i#i4btel};
+ rm -f i4btel$unit
+ mknod i4btel$unit c 49 $unit
+ chmod 600 i4btel$unit
+ ;;
+
+i4btrc*)
+ unit=${i#i4btrc};
+ rm -f i4btrc$unit
+ mknod i4btrc$unit c 48 $unit
+ chmod 600 i4btrc$unit
+ ;;
+
local)
umask 0
sh $0.local all
diff -r 144960a17824 -r a0890c7ab9ac etc/etc.atari/MAKEDEV
--- a/etc/etc.atari/MAKEDEV Mon Jan 08 06:21:13 2001 +0000
+++ b/etc/etc.atari/MAKEDEV Mon Jan 08 06:21:19 2001 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.41 2000/07/27 18:43:19 mason Exp $
+# $NetBSD: MAKEDEV,v 1.42 2001/01/08 06:21:19 martin Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -51,6 +51,7 @@
# floppy devices needed for install floppies
# std standard devices
# local configuration specific devices
+# isdn make ISDN devices
#
# Tapes:
# st* SCSI tapes
@@ -82,6 +83,13 @@
# Pseudo terminals:
# pty* set of 16 master and slave pseudo terminals
#
+# ISDN devices:
+# i4b comunication between userland isdnd and kernel
+# i4bctl control device
+# i4brbch* raw b-channel access
+# i4btel* telephonie device
+# i4btrc* trace device
+#
# Special purpose devices:
# aconf autoconfig information (not yet)
# audio* audio devices
@@ -128,6 +136,7 @@
sh $0 tun0 tun1 lkm ttyA0 ttyA1 ttyB0 lpt0 local
sh $0 scsibus0 scsibus1 scsibus2 scsibus3
sh $0 audio audio0 audio1 audio2 audio3
+ sh $0 isdn
;;
floppy)
@@ -136,6 +145,10 @@
sh $0 ttyA0 ttyA1 ttyB0 pty0
;;
+isdn)
+ sh $0 i4b i4bctl i4brbch0 i4brbch1 i4btel0 i4btel1 i4btrc0 i4btrc1
+ ;;
+
std)
rm -f console drum kmem mem nvram reload null zero tty
rm -f klog stdin stdout stderr
@@ -538,6 +551,39 @@
chmod 666 $audio $sound $mixer $audioctl
;;
+i4b)
+ rm -f i4b
+ mknod i4b c 44 0
+ chmod 600 i4b
+ ;;
+
+i4bctl)
+ rm -f i4bctl
+ mknod i4bctl c 45 0
+ chmod 600 i4bctl
+ ;;
+
+i4brbch*)
+ unit=${i#i4brbch};
+ rm -f i4brbch$unit
+ mknod i4brbch$unit c 46 $unit
+ chmod 600 i4brbch$unit
+ ;;
+
+i4btel*)
+ unit=${i#i4btel};
+ rm -f i4btel$unit
+ mknod i4btel$unit c 48 $unit
+ chmod 600 i4btel$unit
+ ;;
+
+i4btrc*)
+ unit=${i#i4btrc};
+ rm -f i4btrc$unit
+ mknod i4btrc$unit c 47 $unit
+ chmod 600 i4btrc$unit
+ ;;
+
local)
umask 0
sh $0.local all
diff -r 144960a17824 -r a0890c7ab9ac etc/etc.i386/MAKEDEV
--- a/etc/etc.i386/MAKEDEV Mon Jan 08 06:21:13 2001 +0000
+++ b/etc/etc.i386/MAKEDEV Mon Jan 08 06:21:19 2001 +0000
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $NetBSD: MAKEDEV,v 1.133 2001/01/06 13:47:44 martin Exp $
+# $NetBSD: MAKEDEV,v 1.134 2001/01/08 06:21:19 martin Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -38,6 +38,7 @@
# std standard devices
# local configuration specific devices
# usbs make USB devices
+# isdn make ISDN devices
#
# Tapes:
# wt* QIC-interfaced (e.g. not SCSI) 3M cartridge tape
@@ -157,6 +158,7 @@
sh $0 speaker lkm mms0 lms0 pms0 joy0 joy1 apm local satlink0 iop0
sh $0 audio
sh $0 usbs
+ sh $0 isdn
sh $0 music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
sh $0 scsibus0 scsibus1 scsibus2 scsibus3
sh $0 wscons
@@ -164,7 +166,6 @@
sh $0 sysmon
sh $0 bktr
sh $0 ttyCZ0 ttyCY0
- sh $0 i4b i4bctl i4brbch0 i4brbch1 i4btel0 i4btel1 i4btrc0 i4btrc1
Home |
Main Index |
Thread Index |
Old Index