1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Move 'tw*' after 'twe*' so that it's possible to create the control device

for the 'twe' driver.  This is an expedient solution for an
actually-manifesting symptom of a major problem with MAKEDEV.  Roll on
DEVFS.
This commit is contained in:
Mike Smith 2000-10-31 00:21:41 +00:00
parent e99285a4f7
commit f704b43d99
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=68017

View File

@ -1030,11 +1030,6 @@ lpt*)
mknod lpctl$unit c 16 `unit2minor \`expr $unit + 128\``
;;
tw*)
unit=`expr $i : 'tw\(.*\)'`
mknod tw$unit c 19 `unit2minor $unit` root:operator
;;
# Use this to create virtual consoles for syscons, pcvt or codrv
# ttyv0-b
# use as MAKEDEV vtyNN to create NN entries
@ -1647,6 +1642,11 @@ twe*)
mknod twe$unit c 146 `unit2minor $unit`
;;
tw*)
unit=`expr $i : 'tw\(.*\)'`
mknod tw$unit c 19 `unit2minor $unit` root:operator
;;
local)
umask 0 # XXX should be elsewhere
sh MAKEDEV.local