files.sparc revision 1.29
1#	$NetBSD: files.sparc,v 1.29 1996/09/30 22:43:38 abrown 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
125device cgfourteen
126attach cgfourteen at obio
127file	arch/sparc/dev/cgfourteen.c	cgfourteen needs-flag
128
129file	arch/sparc/dev/bt_subr.c	bt_dac
130
131# device definition in sys/conf/files
132attach le at sbus, ledma, obio
133file	arch/sparc/dev/if_le.c		le
134
135device ie: ifnet, ether
136attach ie at obio, vmes, vmel
137file	arch/sparc/dev/if_ie.c		ie
138
139device xdc {drive = -1}
140attach xdc at vmel
141device xd: disk
142attach xd at xdc
143file	arch/sparc/dev/xd.c		xd needs-flag
144major	{xd = 10}
145
146device xyc {drive = -1}
147attach xyc at vmes
148device xy: disk
149attach xy at xyc
150file	arch/sparc/dev/xy.c		xy needs-flag
151major	{xy = 3}
152
153device si: scsi, ncr5380sbc
154attach si at vmes
155device sw: scsi, ncr5380sbc
156attach sw at obio
157file	arch/sparc/dev/si.c		si | sw
158
159# ENI ATM driver
160device  en: atm, ifnet
161attach  en at sbus with en_sbus
162file    arch/sparc/dev/if_en_sbus.c     en
163file    dev/ic/midway.c                 en
164
165pseudo-device	kbd
166
167#
168# Generic Sun stuff
169#
170include "../../../dev/sun/files.sun"
171
172file	arch/sparc/dev/cons.c
173file	arch/sparc/dev/fb.c
174file	arch/sparc/dev/ms.c
175file	arch/sparc/dev/kbd.c		kbd
176
177file	arch/sparc/fpu/fpu.c
178file	arch/sparc/fpu/fpu_add.c
179file	arch/sparc/fpu/fpu_compare.c
180file	arch/sparc/fpu/fpu_div.c
181file	arch/sparc/fpu/fpu_explode.c
182file	arch/sparc/fpu/fpu_implode.c
183file	arch/sparc/fpu/fpu_mul.c
184file	arch/sparc/fpu/fpu_sqrt.c
185file	arch/sparc/fpu/fpu_subr.c
186
187# N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
188# identified the exact problem yet.  NOOPT_C suffices for now.
189file	arch/sparc/sparc/autoconf.c
190file	arch/sparc/sparc/amd7930intr.s	audio
191file	arch/sparc/sparc/cache.c
192file	arch/sparc/sparc/conf.c
193file	arch/sparc/sparc/in_cksum.c
194file	arch/sparc/sparc/intr.c
195file	arch/sparc/sparc/kgdb_stub.c
196# sparc/sparc/locore.s is handled specially in the makefile,
197# because it must come first in the "ld" command line.
198file	arch/sparc/sparc/locore2.c
199file	arch/sparc/sparc/machdep.c
200file	arch/sparc/sparc/process_machdep.c
201file	arch/sparc/sparc/mem.c
202file	arch/sparc/sparc/openprom.c
203file	arch/sparc/sparc/pmap.c
204# the following overrides the generic "sys_process.c"
205# commented out by deraadt
206#file	arch/sparc/sparc/sys_process.c
207file	arch/sparc/sparc/sys_machdep.c
208file	arch/sparc/sparc/trap.c
209file	arch/sparc/sparc/vm_machdep.c
210file	arch/sparc/sparc/disksubr.c
211
212file	kludge_for_in_proto.c		hy needs-flag
213
214file	arch/sparc/sparc/db_interface.c	ddb
215file	arch/sparc/sparc/db_trace.c	ddb
216file	arch/sparc/sparc/db_disasm.c	ddb
217
218#
219# Raster Console
220#
221include "../../../dev/rcons/files.rcons"
222
223#
224# Compatibility modules
225#
226
227# SVR4 Binary Compatibility (COMPAT_SVR4)
228include "../../../compat/svr4/files.svr4"
229file	arch/sparc/sparc/svr4_machdep.c	compat_svr4
230file	arch/sparc/sparc/sunos_machdep.c compat_sunos
231
232# SunOS Binary Compatibility (COMPAT_SUNOS)
233include "../../../compat/sunos/files.sunos"
234
235# Miscellaneous
236file	netns/ns_cksum.c		ns
237
238pseudo-device rd
239major	{rd = 5}
240file	arch/sparc/dev/md_root.c	ramdisk_hooks
241file	dev/ramdisk.c			rd needs-flag
242