From 4dcfef17f091419dd5c1fcbc167ba1e7b2fa6844 Mon Sep 17 00:00:00 2001 From: wiz Date: Tue, 18 Jun 2002 13:37:44 +0000 Subject: [PATCH] Use standard names for isdn devices (not i4b any longer...). --- etc/etc.evbmips/MAKEDEV | 65 ++++++++++++++++++++-------------------- etc/etc.sbmips/MAKEDEV | 66 ++++++++++++++++++++--------------------- 2 files changed, 66 insertions(+), 65 deletions(-) diff --git a/etc/etc.evbmips/MAKEDEV b/etc/etc.evbmips/MAKEDEV index 80fc010c4ef3..e4de59e2e2ec 100644 --- a/etc/etc.evbmips/MAKEDEV +++ b/etc/etc.evbmips/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: MAKEDEV,v 1.2 2002/06/17 16:21:06 christos Exp $ +# $NetBSD: MAKEDEV,v 1.3 2002/06/18 13:37:44 wiz Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -50,6 +50,7 @@ # the MAKEDEV.local shell script with the argument "all". # usbs All USB devices. If units are expected for a device # MAKEDEV supplies the standard numbers. +# isdns make ISDN devices # # Tapes: # st* SCSI tape @@ -91,11 +92,11 @@ # ttyU* Modem # # ISDN devices: -# i4b communication between userland isdnd and kernel -# i4bctl control device -# i4brbch* raw b-channel access -# i4btel* telephony device -# i4btrc* trace device +# isdn communication between userland isdnd and kernel +# isdnctl control device +# isdnbchan* raw b-channel access +# isdntel* telephony device +# isdntrc* trace device # # Special purpose devices: # clockctl clock control for non root users @@ -147,7 +148,7 @@ all) sh $0 random satlink0 speaker mlx0 local sh $0 scsibus0 scsibus1 scsibus2 scsibus3 sh $0 lkm - sh $0 usbs isdn + sh $0 usbs isdns sh $0 music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7 sh $0 ttyCZ0 ttyCY0 sh $0 pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7 @@ -210,8 +211,8 @@ usbs) sh $0 uscanner0 uscanner1 ;; -isdn) - sh $0 i4b i4bctl i4brbch0 i4brbch1 i4btel0 i4btel1 i4btrc0 i4btrc1 +isdns) + sh $0 isdn isdnctl isdnbchan0 isdnbchan1 isdntel0 isdntel1 isdntrc0 isdntrc1 ;; std) @@ -701,37 +702,37 @@ scsibus*) chmod 644 scsibus$unit ;; -i4b) - rm -f i4b - mknod i4b c 51 0 - chmod 600 i4b +isdn) + rm -f isdn + mknod isdn c 50 0 + chmod 600 isdn ;; -i4bctl) - rm -f i4bctl - mknod i4bctl c 52 0 - chmod 600 i4bctl +isdnctl) + rm -f isdnctl + mknod isdnctl c 51 0 + chmod 600 isdnctl ;; -i4brbch*) - unit=${i#i4brbch} - rm -f i4brbch$unit - mknod i4brbch$unit c 53 $unit - chmod 600 i4brbch$unit +isdnbchan*) + unit=${i#isdnbchan} + rm -f isdnbchan$unit + mknod isdnbchan$unit c 52 $unit + chmod 600 isdnbchan$unit ;; -i4btrc*) - unit=${i#i4btrc} - rm -f i4btrc$unit - mknod i4btrc$unit c 54 $unit - chmod 600 i4btrc$unit +isdntel*) + unit=${i#isdntel} + rm -f isdntel$unit + mknod isdntel$unit c 54 $unit + chmod 600 isdntel$unit ;; -i4btel*) - unit=${i#i4btel} - rm -f i4btel$unit - mknod i4btel$unit c 55 $unit - chmod 600 i4btel$unit +isdntrc*) + unit=${i#isdntrc} + rm -f isdntrc$unit + mknod isdntrc$unit c 53 $unit + chmod 600 isdntrc$unit ;; clockctl) diff --git a/etc/etc.sbmips/MAKEDEV b/etc/etc.sbmips/MAKEDEV index 5c9898b99941..5776d9246fff 100644 --- a/etc/etc.sbmips/MAKEDEV +++ b/etc/etc.sbmips/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $NetBSD: MAKEDEV,v 1.2 2002/06/17 16:21:13 christos Exp $ +# $NetBSD: MAKEDEV,v 1.3 2002/06/18 13:37:45 wiz Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -50,7 +50,7 @@ # the MAKEDEV.local shell script with the argument "all". # usbs All USB devices. If units are expected for a device # MAKEDEV supplies the standard numbers. -# isdn make ISDN devices +# isdns make ISDN devices # # Tapes: # st* SCSI tape @@ -82,11 +82,11 @@ # ttyU* Modem # # ISDN devices: -# i4b communication between userland isdnd and kernel -# i4bctl control device -# i4brbch* raw b-channel access -# i4btel* telephony device -# i4btrc* trace device +# isdn communication between userland isdnd and kernel +# isdnctl control device +# isdnbchan* raw b-channel access +# isdntel* telephony device +# isdntrc* trace device # # Special purpose devices: # altq ALTQ control device @@ -132,7 +132,7 @@ all) sh $0 random local satlink0 mlx0 sh $0 scsibus0 scsibus1 scsibus2 scsibus3 sh $0 lkm - sh $0 usbs isdn + sh $0 usbs isdns sh $0 ttyCZ0 ttyCY0 sh $0 pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7 sh $0 altq @@ -156,8 +156,8 @@ usbs) sh $0 uscanner0 uscanner1 ;; -isdn) - sh $0 i4b i4bctl i4brbch0 i4brbch1 i4btel0 i4btel1 i4btrc0 i4btrc1 +isdns) + sh $0 isdn isdnctl isdnbchan0 isdnbchan1 isdntel0 isdntel1 isdntrc0 isdntrc1 ;; std) @@ -572,37 +572,37 @@ scsibus*) chmod 644 scsibus$unit ;; -i4b) - rm -f i4b - mknod i4b c 51 0 - chmod 600 i4b +isdn) + rm -f isdn + mknod isdn c 50 0 + chmod 600 isdn ;; -i4bctl) - rm -f i4bctl - mknod i4bctl c 52 0 - chmod 600 i4bctl +isdnctl) + rm -f isdnctl + mknod isdnctl c 51 0 + chmod 600 isdnctl ;; -i4brbch*) - unit=${i#i4brbch} - rm -f i4brbch$unit - mknod i4brbch$unit c 53 $unit - chmod 600 i4brbch$unit +isdnbchan*) + unit=${i#isdnbchan} + rm -f isdnbchan$unit + mknod isdnbchan$unit c 52 $unit + chmod 600 isdnbchan$unit ;; -i4btrc*) - unit=${i#i4btrc} - rm -f i4btrc$unit - mknod i4btrc$unit c 54 $unit - chmod 600 i4btrc$unit +isdntel*) + unit=${i#isdntel} + rm -f isdntel$unit + mknod isdntel$unit c 54 $unit + chmod 600 isdntel$unit ;; -i4btel*) - unit=${i#i4btel} - rm -f i4btel$unit - mknod i4btel$unit c 55 $unit - chmod 600 i4btel$unit +isdntrc*) + unit=${i#isdntrc} + rm -f isdntrc$unit + mknod isdntrc$unit c 53 $unit + chmod 600 isdntrc$unit ;; clockctl)