summaryrefslogtreecommitdiff
path: root/etc/MAKEDEV.common
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-12-27 19:02:43 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-12-27 19:02:43 +0000
commitb5940e5764a61c80d0c6109fb5a38d1c0519b3d8 (patch)
tree36edb37efb5e58b60e7aecfa32c2fbc2cc890026 /etc/MAKEDEV.common
parent10af75e8c8734e232e552263b1b77ebe7e79ac9a (diff)
Target for basic wscons devices is `wscons', not `ttyC0'; also fix the
dev/fd comment and point to fd(4).
Diffstat (limited to 'etc/MAKEDEV.common')
-rw-r--r--etc/MAKEDEV.common6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/MAKEDEV.common b/etc/MAKEDEV.common
index 348d1d792d6..a1d3a42e03f 100644
--- a/etc/MAKEDEV.common
+++ b/etc/MAKEDEV.common
@@ -1,4 +1,4 @@
-vers(a, {-$OpenBSD: MAKEDEV.common,v 1.22 2005/12/06 20:18:56 pedro Exp $-})dnl
+vers(a, {-$OpenBSD: MAKEDEV.common,v 1.23 2005/12/27 19:02:42 miod Exp $-})dnl
divert(1)dnl
dnl
dnl Common device definitions.
@@ -310,7 +310,7 @@ show_disks2()dnl
__mkdev({-disks-}){--}dnl
dnl
__devtitle(cons, Console ports)dnl
-__devitem(wscons, ttyC0, Minimal wscons devices)dnl
+__devitem(wscons, wscons, Minimal wscons devices)dnl
twrget(wscons, wscons, ttyC, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl
target(wscons, wsmux)dnl
target(wscons, wskbd, 0, 1, 2, 3)dnl
@@ -466,7 +466,7 @@ _mkdev(music, music*, {-M music$U c major_music_c $U
__devitem(radio, radio*, FM tuner devices)dnl
_mkdev(radio, radio*, {-M radio$U c major_radio_c $U
MKlist[${#MKlist[*]}]=";[ -e radio ] || ln -s radio$U radio"-})dnl
-__devitem(fdesc, fd, fd/* nodes for the file descriptor pseudo-device)dnl
+__devitem(fdesc, fd, fd/* nodes, fd)dnl
_mkdev(fdesc, fd, {-RMlist[${#RMlist[*]}]=";mkdir -p fd;rm -f" n=0
while [ $n -lt 64 ];do M fd/$n c major_fdesc_c $n;n=Add($n, 1);done
MKlist[${#MKlist[*]}]=";chmod 555 fd"-})dnl