Disable dmf* and dmz* entries and add warns "not integrated yet."

Also note tty[EFGH]? have been used by MI wscons and new tty node names
should be assigned once dmf(4) is committed.

Ok'ed by ragge@ on port-vax@.
 https://mail-index.netbsd.org/port-vax/2024/02/13/msg004859.html
This commit is contained in:
tsutsui 2024-04-27 14:42:21 +00:00
parent fc7f5da782
commit aa367d9f1e
1 changed files with 27 additions and 22 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: MAKEDEV.conf,v 1.20 2024/02/01 22:22:05 tsutsui Exp $ # $NetBSD: MAKEDEV.conf,v 1.21 2024/04/27 14:42:21 tsutsui Exp $
all_md) all_md)
makedev mt0 mt1 ts0 ts1 st0 st1 uk0 ss0 cd0 vt0 makedev mt0 mt1 ts0 ts1 st0 st1 uk0 ss0 cd0 vt0
@ -129,29 +129,34 @@ dhu[0-9]*|dh[0-9]*|dmf[0-9]*|dmz[0-9]*|vt[0-9]*)
esac esac
;; ;;
dmz*) name=dmz; major=37; count=24 dmz*) name=dmz; major=37; count=24
unit=${i#dmz} warn "$i is not integrated yet"
case $unit in # unit=${i#dmz}
0) ch=a ;; # case $unit in
1) ch=b ;; # 0) ch=a ;;
2) ch=c ;; # 1) ch=b ;;
3) ch=e ;; # 2) ch=c ;;
4) ch=f ;; # 3) ch=e ;;
*) warn "bad unit for $name in: $i" ;; # 4) ch=f ;;
esac # *) warn "bad unit for $name in: $i" ;;
# esac
;; ;;
dmf*) name=dmf; major=22; count=8 dmf*) name=dmf; major=22; count=8
unit=${i#dmf} warn "$i is not integrated yet"
case $unit in ## XXX:
0) ch=A ;; ## tty[EFGH]? have already been used by MI wscons so
1) ch=B ;; ## new tty node names should be assigned once dmf(4) is committed
2) ch=C ;; # unit=${i#dmf}
3) ch=E ;; # case $unit in
4) ch=F ;; # 0) ch=A ;;
5) ch=G ;; # 1) ch=B ;;
6) ch=H ;; # 2) ch=C ;;
7) ch=I ;; # 3) ch=E ;;
*) warn "bad unit for $name in: $i" ;; # 4) ch=F ;;
esac # 5) ch=G ;;
# 6) ch=H ;;
# 7) ch=I ;;
# *) warn "bad unit for $name in: $i" ;;
# esac
;; ;;
dhu*) name=dhu; major=34; count=16 dhu*) name=dhu; major=34; count=16
unit=${i#dhu} unit=${i#dhu}