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