files.sparc revision 1.16
1#	$NetBSD: files.sparc,v 1.16 1996/03/17 02:00:30 thorpej Exp $
2
3# @(#)files.sparc	8.1 (Berkeley) 7/19/93
4# sparc-specific configuration info
5
6# maxpartitions must be first item in files.${ARCH}.newconf
7maxpartitions 8
8
9maxusers 2 8 64
10
11device mainbus {}
12attach mainbus at root
13
14device obio { [addr = -1], [level = -1] }
15attach obio at mainbus
16device vmel { [addr = -1], [level = -1], [vect = -1] }
17attach vmel at mainbus
18device vmes { [addr = -1], [level = -1], [vect = -1] }
19attach vmes at mainbus
20file	arch/sparc/dev/obio.c		obio vmel vmes
21
22device audio
23attach audio at mainbus
24file	arch/sparc/dev/amd7930.c		audio needs-flag
25
26device auxreg
27attach auxreg at mainbus
28file	arch/sparc/sparc/auxreg.c
29
30device clock
31attach clock at mainbus, obio
32device oclock
33attach oclock at obio
34device timer
35attach timer at mainbus, obio
36device eeprom
37attach eeprom at obio
38file	arch/sparc/sparc/clock.c
39
40device cpu
41attach cpu at mainbus
42file	arch/sparc/sparc/cpu.c
43
44device memreg
45attach memreg at mainbus, obio
46file	arch/sparc/sparc/memreg.c
47
48device zs
49attach zs at mainbus, obio
50file	arch/sparc/dev/zs.c			zs needs-count
51
52device fdc {}
53attach fdc at mainbus
54device fd: disk
55attach fd at fdc
56file	arch/sparc/dev/fd.c			fd needs-flag
57file	arch/sparc/sparc/bsd_fdintr.s		fd
58
59device sbus { slot = -1, offset = -1 }
60attach sbus at mainbus
61file	arch/sparc/dev/sbus.c		sbus
62
63#
64# Machine-independent SCSI drivers
65#
66include "../../../scsi/files.scsi"
67
68major { sd = 7 }
69major { vnd = 8 }
70major { cd = 18 }
71
72device dma
73attach dma at sbus, obio
74device espdma { slot = -1, offset = -1 }
75attach espdma at sbus
76device ledma { slot = -1, offset = -1 }
77attach ledma at sbus
78file	arch/sparc/dev/dma.c		dma espdma ledma needs-flag
79
80device esp: scsi
81attach esp at sbus, espdma, obio
82file	arch/sparc/dev/esp.c		esp needs-flag
83
84# Brooktree DAC attribute
85define bt_dac
86
87device bwtwo
88attach bwtwo at sbus, obio, vmes, vmel
89file	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
90
91device cgtwo
92attach cgtwo at sbus, obio, vmes
93file	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
94
95device cgthree: bt_dac
96attach cgthree at sbus
97file	arch/sparc/dev/cgthree.c	cgthree needs-flag
98
99device cgfour: bt_dac
100attach cgfour at obio
101file	arch/sparc/dev/cgfour.c		cgfour needs-flag
102
103device cgsix: bt_dac
104attach cgsix at sbus, obio
105file	arch/sparc/dev/cgsix.c		cgsix needs-flag
106
107device cgeight: bt_dac
108attach cgeight at obio
109file	arch/sparc/dev/cgeight.c	cgeight needs-flag
110
111file	arch/sparc/dev/bt_subr.c	bt_dac
112
113device le: ifnet, ether
114attach le at sbus, ledma, obio
115file	arch/sparc/dev/if_le.c		le
116
117device ie: ifnet, ether
118attach ie at obio, vmes, vmel
119file	arch/sparc/dev/if_ie.c		ie
120
121device xdc {drive = -1}
122attach xdc at vmel
123device xd: disk
124attach xd at xdc
125file	arch/sparc/dev/xd.c		xd needs-flag
126major	{xd = 10}
127
128device xyc {drive = -1}
129attach xyc at vmes
130device xy: disk
131attach xy at xyc
132file	arch/sparc/dev/xy.c		xy needs-flag
133major	{xy = 3}
134
135device si: scsi, ncr5380sbc
136attach si at vmes
137device sw: scsi, ncr5380sbc
138attach sw at obio
139file	arch/sparc/dev/si.c		si sw
140
141pseudo-device	kbd
142
143file	arch/sparc/dev/cons.c
144file	arch/sparc/dev/event.c
145file	arch/sparc/dev/fb.c
146file	arch/sparc/dev/ms.c
147file	arch/sparc/dev/kbd.c		kbd
148
149file	arch/sparc/fpu/fpu.c
150file	arch/sparc/fpu/fpu_add.c
151file	arch/sparc/fpu/fpu_compare.c
152file	arch/sparc/fpu/fpu_div.c
153file	arch/sparc/fpu/fpu_explode.c
154file	arch/sparc/fpu/fpu_implode.c
155file	arch/sparc/fpu/fpu_mul.c
156file	arch/sparc/fpu/fpu_sqrt.c
157file	arch/sparc/fpu/fpu_subr.c
158
159# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
160# identified the exact problem yet.  NOOPT_C suffices for now.
161file	arch/sparc/sparc/autoconf.c
162file	arch/sparc/sparc/amd7930intr.s	audio
163file	arch/sparc/sparc/cache.c
164file	arch/sparc/sparc/conf.c
165file	arch/sparc/sparc/in_cksum.c
166file	arch/sparc/sparc/intr.c
167file	arch/sparc/sparc/kgdb_stub.c
168# sparc/sparc/locore.s is handled specially in the makefile,
169# because it must come first in the "ld" command line.
170file	arch/sparc/sparc/locore2.c
171file	arch/sparc/sparc/machdep.c
172file	arch/sparc/sparc/process_machdep.c
173file	arch/sparc/sparc/mem.c
174file	arch/sparc/sparc/openprom.c
175file	arch/sparc/sparc/pmap.c
176# the following overrides the generic "sys_process.c"
177# commented out by deraadt
178#file	arch/sparc/sparc/sys_process.c
179file	arch/sparc/sparc/sys_machdep.c
180file	arch/sparc/sparc/trap.c
181file	arch/sparc/sparc/vm_machdep.c
182file	arch/sparc/sparc/disksubr.c
183
184file	kludge_for_in_proto.c		hy needs-flag
185
186file	arch/sparc/sparc/db_interface.c	ddb
187file	arch/sparc/sparc/db_trace.c	ddb
188file	arch/sparc/sparc/db_disasm.c	ddb
189
190#
191# Raster Console
192#
193include "../../../dev/rcons/files.rcons"
194
195#
196# Compatibility modules
197#
198
199# SVR4 Binary Compatibility (COMPAT_SVR4)
200include "../../../compat/svr4/files.svr4"
201file	arch/sparc/sparc/svr4_machdep.c	compat_svr4
202file	arch/sparc/sparc/sunos_machdep.c compat_sunos
203
204# SunOS Binary Compatibility (COMPAT_SUNOS)
205include "../../../compat/sunos/files.sunos"
206
207# Miscellaneous
208file	netns/ns_cksum.c		ns
209