xref: /netbsd-src/sys/dev/wscons/files.wscons (revision 4b896b232495b7a9b8b94a1cf1e21873296d53b8)
1# $NetBSD: files.wscons,v 1.30 2004/05/28 21:42:29 christos Exp $
2
3#
4# "Workstation Console" glue; attaches frame buffer to emulator & keyboard,
5# plus deals with kernel mouse drivers.
6#
7# These files are included with strange conditions because of the hairy
8# interactions between them.  In particular, chunks of the glue,
9# keyboard, and mouse code are called directly by other chunks.  Also,
10# each hardware driver can make calls into its (child) interface driver.
11# This could all be cleaned up, but it's not clear that it's worth the
12# trouble.
13#
14
15defparam opt_wsemul.h		WSEMUL_DEFAULT
16defflag	opt_wsemul.h		WSEMUL_NO_DUMB WSEMUL_SUN WSEMUL_VT100
17defparam opt_wskernattr.h	WS_KERNEL_FG WS_KERNEL_BG
18				WS_KERNEL_COLATTR WS_KERNEL_MONOATTR
19				WSDISPLAY_SCROLLCOMBO
20defparam opt_wsemul.h		WSEMUL_VT100_HILIT_FG WSEMUL_VT100_UNDERLINE_FG
21				WSEMUL_VT100_HILIT_BG WSEMUL_VT100_UNDERLINE_BG
22defflag	opt_wsdisplay_compat.h	WSDISPLAY_COMPAT_USL
23				WSDISPLAY_COMPAT_RAWKBD
24				WSDISPLAY_COMPAT_PCVT WSDISPLAY_COMPAT_SYSCONS
25				WSDISPLAY_CHARFUNCS
26				WSCONS_SUPPORT_PCVTFONTS
27				WSCONS_SUPPORT_ISO7FONTS
28				WSDISPLAY_SCROLLSUPPORT
29defparam opt_wsdisplay_compat.h	WSCOMPAT_USL_SYNCTIMEOUT
30				WSDISPLAY_DEFAULTSCREENS
31
32# this loses, but there's no way to define attributes which have attributes
33device	wsdisplay #tty?
34attach	wsdisplay at wsemuldisplaydev with wsdisplay_emul
35attach	wsdisplay at wsdisplaydev with wsdisplay_noemul
36device	wskbd
37attach	wskbd at wskbddev
38device	wsmouse
39attach	wsmouse at wsmousedev
40
41file	dev/wscons/wsdisplay.c		wsdisplay		needs-flag
42file	dev/wscons/wsdisplay_compat_usl.c wsdisplay & wsdisplay_compat_usl
43file	dev/wscons/wsemulconf.c		wsdisplay
44file	dev/wscons/wsemul_dumb.c	wsdisplay & !wsemul_no_dumb
45file	dev/wscons/wsemul_sun.c		wsdisplay & wsemul_sun
46file	dev/wscons/wsemul_vt100.c	wsdisplay & wsemul_vt100
47file	dev/wscons/wsemul_vt100_subr.c	wsdisplay & wsemul_vt100
48file	dev/wscons/wsemul_vt100_chars.c	wsdisplay & wsemul_vt100
49file	dev/wscons/wsemul_vt100_keys.c	wsdisplay & wsemul_vt100
50file	dev/wscons/wsevent.c		wsdisplay | wskbd | wsmouse | wsmux
51file	dev/wscons/wskbd.c		wskbd			needs-flag
52file	dev/wscons/wskbdutil.c		wskbd			needs-flag
53file	dev/wscons/wsmouse.c		wsmouse			needs-flag
54
55# rcons bit-depth options
56include "dev/rcons/files.rcons"
57
58file	dev/wscons/wscons_rinit.c	wsrasteremulops
59file	dev/wscons/wscons_rops.c	wsrasteremulops
60
61defpseudo	wsmux
62file	dev/wscons/wsmux.c		wsmux			needs-flag
63
64define	tpcalib
65file	dev/wscons/tpcalib.c		tpcalib
66file	dev/wscons/mra.c		tpcalib
67