xref: /netbsd-src/sys/arch/sparc/conf/files.sparc (revision 81b108b45f75f89f1e3ffad9fb6f074e771c0935)
1#	$NetBSD: files.sparc,v 1.28 1996/06/22 02:02:52 chuck 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, obio
24file	arch/sparc/dev/amd7930.c		audio
25
26device auxreg
27attach auxreg at mainbus, obio
28file	arch/sparc/sparc/auxreg.c
29
30device clock
31attach clock at mainbus, obio
32
33device oclock
34attach oclock at obio
35
36device timer
37attach timer at mainbus, obio
38
39device eeprom
40attach eeprom at obio
41file	arch/sparc/sparc/clock.c
42
43device power
44attach power at obio
45file	arch/sparc/dev/power.c			power
46
47device cpu
48attach cpu at mainbus
49file	arch/sparc/sparc/cpu.c
50
51device memreg
52attach memreg at mainbus, obio
53file	arch/sparc/sparc/memreg.c
54
55device zs
56attach zs at mainbus, obio
57file	arch/sparc/dev/zs.c			zs needs-count
58
59device fdc {}
60attach fdc at mainbus, obio
61device fd: disk
62attach fd at fdc
63file	arch/sparc/dev/fd.c			fdc | fd needs-flag
64file	arch/sparc/sparc/bsd_fdintr.s		fdc
65
66device iommu {}
67attach iommu at mainbus
68file	arch/sparc/sparc/iommu.c		iommu
69
70device sbus { slot = -1, offset = -1 }
71attach sbus at mainbus, iommu
72file	arch/sparc/dev/sbus.c			sbus
73
74
75#
76# Machine-independent SCSI drivers
77#
78include "../../../scsi/files.scsi"
79
80major { sd = 7 }
81major { vnd = 8 }
82major { cd = 18 }
83
84device dma {}
85attach dma at sbus, obio
86device ledma {}
87attach ledma at sbus
88file	arch/sparc/dev/dma.c		dma | ledma
89
90device esp: scsi
91attach esp at sbus, dma, obio
92file	arch/sparc/dev/esp.c		esp
93
94# Brooktree DAC attribute
95define bt_dac
96
97device bwtwo
98attach bwtwo at sbus, obio, vmes, vmel
99file	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
100
101device cgtwo
102attach cgtwo at sbus, obio, vmes
103file	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
104
105device cgthree: bt_dac
106attach cgthree at sbus
107file	arch/sparc/dev/cgthree.c	cgthree needs-flag
108
109device cgfour: bt_dac
110attach cgfour at obio
111file	arch/sparc/dev/cgfour.c		cgfour needs-flag
112
113device cgsix: bt_dac
114attach cgsix at sbus, obio
115file	arch/sparc/dev/cgsix.c		cgsix needs-flag
116
117device cgeight: bt_dac
118attach cgeight at obio
119file	arch/sparc/dev/cgeight.c	cgeight needs-flag
120
121device tcx: bt_dac
122attach tcx at sbus
123file	arch/sparc/dev/tcx.c		tcx needs-flag
124
125file	arch/sparc/dev/bt_subr.c	bt_dac
126
127# device definition in sys/conf/files
128attach le at sbus, ledma, obio
129file	arch/sparc/dev/if_le.c		le
130
131device ie: ifnet, ether
132attach ie at obio, vmes, vmel
133file	arch/sparc/dev/if_ie.c		ie
134
135device xdc {drive = -1}
136attach xdc at vmel
137device xd: disk
138attach xd at xdc
139file	arch/sparc/dev/xd.c		xd needs-flag
140major	{xd = 10}
141
142device xyc {drive = -1}
143attach xyc at vmes
144device xy: disk
145attach xy at xyc
146file	arch/sparc/dev/xy.c		xy needs-flag
147major	{xy = 3}
148
149device si: scsi, ncr5380sbc
150attach si at vmes
151device sw: scsi, ncr5380sbc
152attach sw at obio
153file	arch/sparc/dev/si.c		si | sw
154
155# ENI ATM driver
156device  en: atm, ifnet
157attach  en at sbus with en_sbus
158file    arch/sparc/dev/if_en_sbus.c     en
159file    dev/ic/midway.c                 en
160
161pseudo-device	kbd
162
163#
164# Generic Sun stuff
165#
166include "../../../dev/sun/files.sun"
167
168file	arch/sparc/dev/cons.c
169file	arch/sparc/dev/fb.c
170file	arch/sparc/dev/ms.c
171file	arch/sparc/dev/kbd.c		kbd
172
173file	arch/sparc/fpu/fpu.c
174file	arch/sparc/fpu/fpu_add.c
175file	arch/sparc/fpu/fpu_compare.c
176file	arch/sparc/fpu/fpu_div.c
177file	arch/sparc/fpu/fpu_explode.c
178file	arch/sparc/fpu/fpu_implode.c
179file	arch/sparc/fpu/fpu_mul.c
180file	arch/sparc/fpu/fpu_sqrt.c
181file	arch/sparc/fpu/fpu_subr.c
182
183# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
184# identified the exact problem yet.  NOOPT_C suffices for now.
185file	arch/sparc/sparc/autoconf.c
186file	arch/sparc/sparc/amd7930intr.s	audio
187file	arch/sparc/sparc/cache.c
188file	arch/sparc/sparc/conf.c
189file	arch/sparc/sparc/in_cksum.c
190file	arch/sparc/sparc/intr.c
191file	arch/sparc/sparc/kgdb_stub.c
192# sparc/sparc/locore.s is handled specially in the makefile,
193# because it must come first in the "ld" command line.
194file	arch/sparc/sparc/locore2.c
195file	arch/sparc/sparc/machdep.c
196file	arch/sparc/sparc/process_machdep.c
197file	arch/sparc/sparc/mem.c
198file	arch/sparc/sparc/openprom.c
199file	arch/sparc/sparc/pmap.c
200# the following overrides the generic "sys_process.c"
201# commented out by deraadt
202#file	arch/sparc/sparc/sys_process.c
203file	arch/sparc/sparc/sys_machdep.c
204file	arch/sparc/sparc/trap.c
205file	arch/sparc/sparc/vm_machdep.c
206file	arch/sparc/sparc/disksubr.c
207
208file	kludge_for_in_proto.c		hy needs-flag
209
210file	arch/sparc/sparc/db_interface.c	ddb
211file	arch/sparc/sparc/db_trace.c	ddb
212file	arch/sparc/sparc/db_disasm.c	ddb
213
214#
215# Raster Console
216#
217include "../../../dev/rcons/files.rcons"
218
219#
220# Compatibility modules
221#
222
223# SVR4 Binary Compatibility (COMPAT_SVR4)
224include "../../../compat/svr4/files.svr4"
225file	arch/sparc/sparc/svr4_machdep.c	compat_svr4
226file	arch/sparc/sparc/sunos_machdep.c compat_sunos
227
228# SunOS Binary Compatibility (COMPAT_SUNOS)
229include "../../../compat/sunos/files.sunos"
230
231# Miscellaneous
232file	netns/ns_cksum.c		ns
233
234pseudo-device rd
235major	{rd = 5}
236file	arch/sparc/dev/md_root.c	ramdisk_hooks
237file	dev/ramdisk.c			rd needs-flag
238