Home | History | Annotate | Line # | Download | only in sun
files.sun revision 1.5
      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 
     11 define	firm_events
     12 file	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.
     18 device kbd: firm_events
     19 file	dev/sun/kbd.c			kbd needs-flag
     20 file	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?)
     36 device ms: firm_events
     37 file	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).
     58 include	"dev/rasops/files.rasops"
     59 
     60 # Brooktree DAC attribute
     61 define	bt_dac
     62 file	dev/sun/bt_subr.c		bt_dac
     63 
     64 # Include /dev/fb driver only if a framebuffer card is included
     65 define	fb
     66 file	dev/sun/fb.c			fb needs-flag
     67 
     68 # pfour `add-on'; used by several drivers
     69 define	pfour
     70 file	dev/sun/pfour_subr.c		pfour needs-flag
     71 
     72 device bwtwo: fb, rasops1, pfour
     73 file	dev/sun/bwtwo.c			bwtwo needs-flag
     74 
     75 device cgthree: bt_dac, fb, rasops8
     76 file	dev/sun/cgthree.c		cgthree needs-flag
     77 
     78 device cgsix: bt_dac, fb, rasops8, pfour
     79 file	dev/sun/cgsix.c			cgsix needs-flag
     80