xref: /netbsd-src/sys/arch/sparc/conf/files.sparc (revision 4d7e773266e3c3f48566c86c0ad52d51c6454fd1)
1#	$NetBSD: files.sparc,v 1.45 1997/10/17 23:59:57 gwr 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}
7maxpartitions 8
8
9maxusers 2 8 1024
10
11device mainbus {}
12attach mainbus at root
13
14device obio { [addr = -1], [level = -1] }
15attach obio at mainbus
16
17device iommu {}
18attach iommu at mainbus
19file	arch/sparc/sparc/iommu.c		iommu
20
21device vme {}
22attach vme at iommu
23
24device vmel { [addr = -1], [level = -1], [vect = -1] }
25attach vmel at mainbus, vme
26device vmes { [addr = -1], [level = -1], [vect = -1] }
27attach vmes at mainbus, vme
28file	arch/sparc/dev/obio.c		obio | vmel | vmes | vme
29
30device auxreg
31attach auxreg at mainbus, obio
32file	arch/sparc/sparc/auxreg.c
33
34device clock
35attach clock at mainbus, obio
36
37device oclock
38attach oclock at obio
39
40device timer
41attach timer at mainbus, obio
42
43device eeprom
44attach eeprom at obio
45file	arch/sparc/sparc/clock.c
46
47device power
48attach power at obio
49file	arch/sparc/dev/power.c			power
50
51device cpu
52attach cpu at mainbus
53file	arch/sparc/sparc/cpu.c
54
55device memreg
56attach memreg at mainbus, obio
57file	arch/sparc/sparc/memreg.c
58
59device zs {channel = -1}
60attach zs at mainbus, obio
61file	arch/sparc/dev/zs.c			zs needs-count
62file	dev/ic/z8530sc.c			zs
63
64device fdc {}
65attach fdc at mainbus, obio
66device fd: disk
67attach fd at fdc
68file	arch/sparc/dev/fd.c			fdc | fd needs-flag
69file	arch/sparc/sparc/bsd_fdintr.s		fdc
70
71device sbus { slot = -1, offset = -1 }
72attach sbus at mainbus, iommu
73file	arch/sparc/dev/sbus.c			sbus
74
75#
76# Console (zs) related stuff
77#
78
79device zstty: tty
80attach zstty at zs
81file dev/ic/z8530tty.c			zstty needs-flag
82file arch/sparc/dev/zs_kgdb.c		kgdb
83
84define zsevent
85file dev/sun/event.c			zsevent
86
87device kbd: zsevent
88attach kbd at zs
89file dev/sun/kbd.c			kbd needs-flag
90file dev/sun/kbd_tables.c 		kbd
91file arch/sparc/dev/kd.c 		kbd
92
93device ms: zsevent
94attach ms at zs
95file dev/sun/ms.c			ms needs-flag
96
97
98#
99# Machine-independent SCSI drivers
100#
101include "../../../dev/scsipi/files.scsipi"
102
103major { sd = 7 }
104major { vnd = 8 }
105major { cd = 18 }
106
107device dma {}
108attach dma at sbus, obio
109device ledma {}
110attach ledma at sbus
111file	arch/sparc/dev/dma.c		dma | ledma
112device lebuffer {}
113attach lebuffer at sbus
114file	arch/sparc/dev/lebuffer.c	lebuffer
115
116device esp: scsi, ncr53c9x
117attach esp at sbus, dma, obio
118file	arch/sparc/dev/esp.c		esp
119
120device audioamd: audio
121attach audioamd at mainbus, obio, sbus
122file	arch/sparc/dev/amd7930.c		audio
123file	arch/sparc/sparc/amd7930intr.s		audio
124
125# Brooktree DAC attribute
126define bt_dac
127
128device bwtwo
129attach bwtwo at sbus, obio, vmes, vmel
130file	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
131
132device cgtwo
133attach cgtwo at sbus, obio, vmes
134file	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
135
136device cgthree: bt_dac
137attach cgthree at sbus
138file	arch/sparc/dev/cgthree.c	cgthree needs-flag
139
140device cgfour: bt_dac
141attach cgfour at obio
142file	arch/sparc/dev/cgfour.c		cgfour needs-flag
143
144device cgsix: bt_dac
145attach cgsix at sbus, obio
146file	arch/sparc/dev/cgsix.c		cgsix needs-flag
147
148device cgeight: bt_dac
149attach cgeight at obio
150file	arch/sparc/dev/cgeight.c	cgeight needs-flag
151
152device tcx: bt_dac
153attach tcx at sbus
154file	arch/sparc/dev/tcx.c		tcx needs-flag
155
156device cgfourteen
157attach cgfourteen at obio
158file	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
159
160file	arch/sparc/dev/bt_subr.c	bt_dac
161
162# device definition in sys/conf/files
163attach le at sbus, ledma, lebuffer, obio
164file	arch/sparc/dev/if_le.c		le
165
166device ie: ifnet, ether, arp
167attach ie at obio, vmes, vmel
168file	arch/sparc/dev/if_ie.c		ie
169
170device xdc {drive = -1}
171attach xdc at vmel
172device xd: disk
173attach xd at xdc
174file	arch/sparc/dev/xd.c		xd needs-flag
175major	{xd = 10}
176
177device xyc {drive = -1}
178attach xyc at vmes
179device xy: disk
180attach xy at xyc
181file	arch/sparc/dev/xy.c		xy needs-flag
182major	{xy = 3}
183
184device si: scsi, ncr5380sbc
185attach si at vmes
186device sw: scsi, ncr5380sbc
187attach sw at obio
188file	arch/sparc/dev/si.c		si | sw
189
190# Efficient Networks, Inc. ATM interface
191# device declaration in sys/conf/files
192attach  en at sbus with en_sbus
193file    arch/sparc/dev/if_en_sbus.c     en_sbus
194
195# Qlogic ISP 10x0 (Sbus) family
196# device declaration in sys/conf/files
197attach isp at sbus with isp_sbus
198file	arch/sparc/dev/isp_sbus.c	isp_sbus
199
200#
201# Generic Sun stuff
202#
203
204file	dev/cons.c
205file	arch/sparc/dev/fb.c
206
207file	arch/sparc/fpu/fpu.c
208file	arch/sparc/fpu/fpu_add.c
209file	arch/sparc/fpu/fpu_compare.c
210file	arch/sparc/fpu/fpu_div.c
211file	arch/sparc/fpu/fpu_explode.c
212file	arch/sparc/fpu/fpu_implode.c
213file	arch/sparc/fpu/fpu_mul.c
214file	arch/sparc/fpu/fpu_sqrt.c
215file	arch/sparc/fpu/fpu_subr.c
216
217# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
218# identified the exact problem yet.  NOOPT_C suffices for now.
219file	arch/sparc/sparc/autoconf.c
220file	arch/sparc/sparc/cache.c
221file	arch/sparc/sparc/conf.c
222file	arch/sparc/sparc/emul.c
223file	arch/sparc/sparc/in_cksum.c
224file	arch/sparc/sparc/intr.c
225file	arch/sparc/sparc/kgdb_machdep.c	kgdb
226# sparc/sparc/locore.s is handled specially in the makefile,
227# because it must come first in the "ld" command line.
228file	arch/sparc/sparc/locore2.c
229file	arch/sparc/sparc/machdep.c
230file	arch/sparc/sparc/process_machdep.c
231file	arch/sparc/sparc/mem.c
232file	arch/sparc/sparc/openprom.c
233file	arch/sparc/sparc/pmap.c
234# the following overrides the generic "sys_process.c"
235# commented out by deraadt
236#file	arch/sparc/sparc/sys_process.c
237file	arch/sparc/sparc/sys_machdep.c
238file	arch/sparc/sparc/trap.c
239file	arch/sparc/sparc/vm_machdep.c
240file	arch/sparc/sparc/disksubr.c
241
242file	kludge_for_in_proto.c		hy needs-flag
243
244file	arch/sparc/sparc/db_interface.c	ddb | kgdb
245file	arch/sparc/sparc/db_trace.c	ddb
246file	arch/sparc/sparc/db_disasm.c	ddb
247
248#
249# Raster Console
250#
251include "../../../dev/rcons/files.rcons"
252
253#
254# Compatibility modules
255#
256
257# SVR4 Binary Compatibility (COMPAT_SVR4)
258include "../../../compat/svr4/files.svr4"
259file	arch/sparc/sparc/svr4_machdep.c	compat_svr4
260file	arch/sparc/sparc/sunos_machdep.c compat_sunos
261
262# SunOS Binary Compatibility (COMPAT_SUNOS)
263include "../../../compat/sunos/files.sunos"
264
265# Miscellaneous
266file	netns/ns_cksum.c		ns
267
268major	{md = 5}
269file	arch/sparc/dev/md_root.c	memory_disk_hooks
270