files.sparc revision 1.21
1#	$NetBSD: files.sparc,v 1.21 1996/05/07 01:24:48 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, 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
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 espdma { slot = -1, offset = -1 }
87attach espdma at sbus
88device ledma { slot = -1, offset = -1 }
89attach ledma at sbus
90file	arch/sparc/dev/dma.c		dma | espdma | ledma needs-flag
91
92device esp: scsi
93attach esp at sbus, espdma, obio
94file	arch/sparc/dev/esp.c		esp needs-flag
95
96# Brooktree DAC attribute
97define bt_dac
98
99device bwtwo
100attach bwtwo at sbus, obio, vmes, vmel
101file	arch/sparc/dev/bwtwo.c		bwtwo needs-flag
102
103device cgtwo
104attach cgtwo at sbus, obio, vmes
105file	arch/sparc/dev/cgtwo.c		cgtwo needs-flag
106
107device cgthree: bt_dac
108attach cgthree at sbus
109file	arch/sparc/dev/cgthree.c	cgthree needs-flag
110
111device cgfour: bt_dac
112attach cgfour at obio
113file	arch/sparc/dev/cgfour.c		cgfour needs-flag
114
115device cgsix: bt_dac
116attach cgsix at sbus, obio
117file	arch/sparc/dev/cgsix.c		cgsix needs-flag
118
119device cgeight: bt_dac
120attach cgeight at obio
121file	arch/sparc/dev/cgeight.c	cgeight needs-flag
122
123file	arch/sparc/dev/bt_subr.c	bt_dac
124
125# device definition in sys/conf/files
126attach le at sbus, ledma, obio
127file	arch/sparc/dev/if_le.c		le
128
129device ie: ifnet, ether
130attach ie at obio, vmes, vmel
131file	arch/sparc/dev/if_ie.c		ie
132
133device xdc {drive = -1}
134attach xdc at vmel
135device xd: disk
136attach xd at xdc
137file	arch/sparc/dev/xd.c		xd needs-flag
138major	{xd = 10}
139
140device xyc {drive = -1}
141attach xyc at vmes
142device xy: disk
143attach xy at xyc
144file	arch/sparc/dev/xy.c		xy needs-flag
145major	{xy = 3}
146
147device si: scsi, ncr5380sbc
148attach si at vmes
149device sw: scsi, ncr5380sbc
150attach sw at obio
151file	arch/sparc/dev/si.c		si | sw
152
153pseudo-device	kbd
154
155file	arch/sparc/dev/cons.c
156file	arch/sparc/dev/event.c
157file	arch/sparc/dev/fb.c
158file	arch/sparc/dev/ms.c
159file	arch/sparc/dev/kbd.c		kbd
160
161file	arch/sparc/fpu/fpu.c
162file	arch/sparc/fpu/fpu_add.c
163file	arch/sparc/fpu/fpu_compare.c
164file	arch/sparc/fpu/fpu_div.c
165file	arch/sparc/fpu/fpu_explode.c
166file	arch/sparc/fpu/fpu_implode.c
167file	arch/sparc/fpu/fpu_mul.c
168file	arch/sparc/fpu/fpu_sqrt.c
169file	arch/sparc/fpu/fpu_subr.c
170
171# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
172# identified the exact problem yet.  NOOPT_C suffices for now.
173file	arch/sparc/sparc/autoconf.c
174file	arch/sparc/sparc/amd7930intr.s	audio
175file	arch/sparc/sparc/cache.c
176file	arch/sparc/sparc/conf.c
177file	arch/sparc/sparc/in_cksum.c
178file	arch/sparc/sparc/intr.c
179file	arch/sparc/sparc/kgdb_stub.c
180# sparc/sparc/locore.s is handled specially in the makefile,
181# because it must come first in the "ld" command line.
182file	arch/sparc/sparc/locore2.c
183file	arch/sparc/sparc/machdep.c
184file	arch/sparc/sparc/process_machdep.c
185file	arch/sparc/sparc/mem.c
186file	arch/sparc/sparc/openprom.c
187file	arch/sparc/sparc/pmap.c
188# the following overrides the generic "sys_process.c"
189# commented out by deraadt
190#file	arch/sparc/sparc/sys_process.c
191file	arch/sparc/sparc/sys_machdep.c
192file	arch/sparc/sparc/trap.c
193file	arch/sparc/sparc/vm_machdep.c
194file	arch/sparc/sparc/disksubr.c
195
196file	kludge_for_in_proto.c		hy needs-flag
197
198file	arch/sparc/sparc/db_interface.c	ddb
199file	arch/sparc/sparc/db_trace.c	ddb
200file	arch/sparc/sparc/db_disasm.c	ddb
201
202#
203# Raster Console
204#
205include "../../../dev/rcons/files.rcons"
206
207#
208# Compatibility modules
209#
210
211# SVR4 Binary Compatibility (COMPAT_SVR4)
212include "../../../compat/svr4/files.svr4"
213file	arch/sparc/sparc/svr4_machdep.c	compat_svr4
214file	arch/sparc/sparc/sunos_machdep.c compat_sunos
215
216# SunOS Binary Compatibility (COMPAT_SUNOS)
217include "../../../compat/sunos/files.sunos"
218
219# Miscellaneous
220file	netns/ns_cksum.c		ns
221