1# $NetBSD: files.sun,v 1.18 2012/07/12 01:20:22 macallan Exp $
2#
3# Configuration file for devices found on Sun machines.
4#
5
6
7#
8# Sun keyboard and mouse drivers
9#
10
11define	firm_events
12file	dev/sun/event.c			firm_events needs-flag
13
14
15# upper layer of sun kbd driver
16# examples for lower and middle layers follows.  cannot move them here
17# because zs/zstty attachments are slightly different on each sun port.
18device kbd: firm_events, wskbddev
19file	dev/sun/kbd.c			kbd needs-flag
20file	dev/sun/kbd_tables.c 		kbd
21
22defflag	opt_sunkbd.h	SPARCBOOK_CMD KBD_HIJACK_VOLUME_BUTTONS
23file	dev/sun/wskbdmap_sun.c		kbd & wskbd
24
25# e.g. - lower layer: sun keyboard at zs
26#attach kbd at zs with kbd_zs
27#file	dev/sun/kbd_zs.c		kbd_zs
28
29# e.g. - lower layer: sun keyboard at a line discipline
30#attach kbd at zstty, com with kbd_tty
31#file	dev/sun/sunkbd.c		kbd_tty
32
33# e.g. - middle layer: serial attachment of sun keyboard
34#file	dev/sun/kbdsun.c		kbd_zs | kbd_tty
35
36
37# upper layer of sun ms driver
38# XXX: middle layer for sun serial mice (split out?)
39device ms: firm_events, wsmousedev
40file	dev/sun/ms.c			ms needs-flag
41
42# e.g. - lower layer: sun (mouse systems) mouse at zs
43#attach ms at zs with ms_zs
44#file	dev/sun/ms_zs.c			ms_zs
45
46# e.g. - lower layer: sun (mouse systems) mouse at a line discipline
47#attach ms at zstty, com with ms_tty
48#file	dev/sun/sunms.c			ms_tty
49
50# XXX: middle layer for sun (mouse systems) serial mice consists of
51# just one function in dev/sun/ms.c.  It probably should be split out
52# for consistency into a separate middle-layer file.
53
54
55
56#
57# Framebuffer drivers
58#
59
60# Brooktree DAC attribute
61define	bt_dac
62file	dev/sun/bt_subr.c		bt_dac
63
64# Include /dev/fb driver only if a framebuffer card is included
65# The attribute "fb" is already defined in src/sys/conf/files
66file	dev/sun/fb.c			fb needs-flag
67
68# pfour `add-on'; used by several drivers
69define	pfour
70file	dev/sun/pfour_subr.c		pfour needs-flag
71
72device bwtwo: fb, rasops1, pfour, wsemuldisplaydev, vcons
73file	dev/sun/bwtwo.c			bwtwo needs-flag
74
75device cgthree: bt_dac, fb, rasops8, wsemuldisplaydev, vcons
76file	dev/sun/cgthree.c		cgthree needs-flag
77
78device cgsix: bt_dac, fb, rasops8, pfour, wsemuldisplaydev, vcons, glyphcache
79file	dev/sun/cgsix.c			cgsix needs-flag
80