blob: 9893665ea92581a67d51abe6f01ac5c331b3f4db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# $OpenBSD: files.wscons,v 1.16 2013/10/18 22:06:40 miod Exp $
# $NetBSD: files.wscons,v 1.34 2005/05/04 01:52:16 augustss Exp $
#
# "Workstation Console" glue; attaches frame buffer to emulator & keyboard,
# plus deals with kernel mouse drivers.
#
# These files are included with strange conditions because of the hairy
# interactions between them. In particular, chunks of the glue,
# keyboard, and mouse code are called directly by other chunks. Also,
# each hardware driver can make calls into its (child) interface driver.
# This could all be cleaned up, but it's not clear that it's worth the
# trouble.
#
# this loses, but there's no way to define attributes which have attributes
device wsdisplay #tty?
attach wsdisplay at wsemuldisplaydev with wsdisplay_emul
device wskbd
attach wskbd at wskbddev
device wsmouse
attach wsmouse at wsmousedev
file dev/wscons/wsdisplay.c wsdisplay needs-flag
file dev/wscons/wsdisplay_compat_usl.c wsdisplay & wsdisplay_compat_usl
file dev/wscons/wsevent.c wsdisplay | wskbd |
wsmouse | wsmux
file dev/wscons/wskbd.c wskbd needs-flag
file dev/wscons/wskbdutil.c wskbd
file dev/wscons/wsmouse.c wsmouse needs-flag
pseudo-device wsmux
file dev/wscons/wsmux.c wsmux needs-flag
# emulation code
file dev/wscons/wsemulconf.c wsdisplay
file dev/wscons/wsemul_dumb.c wsdisplay & wsemul_dumb
file dev/wscons/wsemul_subr.c wsdisplay
file dev/wscons/wsemul_sun.c wsdisplay & wsemul_sun
file dev/wscons/wsemul_vt100.c wsdisplay & !wsemul_no_vt100
file dev/wscons/wsemul_vt100_subr.c wsdisplay & !wsemul_no_vt100
file dev/wscons/wsemul_vt100_chars.c wsdisplay & !wsemul_no_vt100
file dev/wscons/wsemul_vt100_keys.c wsdisplay & !wsemul_no_vt100
|