|
|
@ -1,4 +1,4 @@ |
|
|
|
vers(a, {-$OpenBSD: MAKEDEV.common,v 1.45 2009/08/13 15:12:36 deraadt Exp $-})dnl |
|
|
|
vers(a, {-$OpenBSD: MAKEDEV.common,v 1.46 2009/09/23 15:39:56 miod Exp $-})dnl |
|
|
|
dnl |
|
|
|
dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> |
|
|
|
dnl |
|
|
@ -350,14 +350,18 @@ _mkdev({-wsdisp-}, tty[C-J]*, {-U=${i##tty[C-J]} |
|
|
|
*) echo bad unit $U for $i; exit 1;; |
|
|
|
esac-})dnl |
|
|
|
__devitem(wskbd, wskbd*, wscons keyboards)dnl |
|
|
|
_mkdev(wskbd, wskbd*, {-M wskbd$U c major_wskbd_c $U 600-})dnl |
|
|
|
dnl XXX wskbd[0-9]* instead of wskbd* in case this appears before |
|
|
|
dnl XXX ``wsmux|wsmouse|wskbd'' in the final MAKEDEV. |
|
|
|
_mkdev(wskbd, wskbd[0-9]*, {-M wskbd$U c major_wskbd_c $U 600-})dnl |
|
|
|
__devitem(wsmux, wsmux, wscons keyboard/mouse mux devices)dnl |
|
|
|
_mkdev(wsmux, wsmux|wsmouse|wskbd, {-M wsmouse c major_wsmux_c 0 600 |
|
|
|
M wskbd c major_wsmux_c 1 600-})dnl |
|
|
|
__devitem(pcons, console, PROM console)dnl |
|
|
|
__devtitle(point, Pointing devices)dnl |
|
|
|
__devitem(wsmouse, wsmouse*, wscons mice)dnl |
|
|
|
_mkdev(wsmouse, wsmouse*, {-M wsmouse$U c major_wsmouse_c $U 600-})dnl |
|
|
|
dnl XXX wsmouse[0-9]* instead of wsmouse* in case this appears before |
|
|
|
dnl XXX ``wsmux|wsmouse|wskbd'' in the final MAKEDEV. |
|
|
|
_mkdev(wsmouse, wsmouse[0-9]*, {-M wsmouse$U c major_wsmouse_c $U 600-})dnl |
|
|
|
__devtitle(pty, Pseudo terminals)dnl |
|
|
|
__devitem(ptm, ptm, pty master device)dnl |
|
|
|
_mkdev(ptm, ptm, {-M ptm c major_ptm_c 0 666-})dnl |
|
|
|