1# $NetBSD: files.sun,v 1.5 2002/10/03 16:13:25 uwe 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 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 19file dev/sun/kbd.c kbd needs-flag 20file dev/sun/kbd_tables.c kbd 21 22# e.g. - lower layer: sun keyboard at zs 23#attach kbd at zs with kbd_zs 24#file dev/sun/kbd_zs.c kbd_zs 25 26# e.g. - lower layer: sun keyboard at a line discipline 27#attach kbd at zstty, com with kbd_tty 28#file dev/sun/sunkbd.c kbd_tty 29 30# e.g. - middle layer: serial attachment of sun keyboard 31#file dev/sun/kbdsun.c kbd_zs | kbd_tty 32 33 34# upper layer of sun ms driver 35# XXX: middle layer for sun serial mice (split out?) 36device ms: firm_events 37file dev/sun/ms.c ms needs-flag 38 39# e.g. - lower layer: sun (mouse systems) mouse at zs 40#attach ms at zs with ms_zs 41#file dev/sun/ms_zs.c ms_zs 42 43# e.g. - lower layer: sun (mouse systems) mouse at a line discipline 44#attach ms at zstty, com with ms_tty 45#file dev/sun/sunms.c ms_tty 46 47# XXX: middle layer for sun (mouse systems) serial mice consists of 48# just one function in dev/sun/ms.c. It probably should be split out 49# for consistency into a separate middle-layer file. 50 51 52 53# 54# Framebuffer drivers 55# 56 57# Raster operations for RASTERCONSOLE (this is here so dependencies work). 58include "dev/rasops/files.rasops" 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 65define fb 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 73file dev/sun/bwtwo.c bwtwo needs-flag 74 75device cgthree: bt_dac, fb, rasops8 76file dev/sun/cgthree.c cgthree needs-flag 77 78device cgsix: bt_dac, fb, rasops8, pfour 79file dev/sun/cgsix.c cgsix needs-flag 80