files.sparc64 revision 1.28 1 # $NetBSD: files.sparc64,v 1.28 2000/04/22 17:05:59 mrg Exp $
2
3 # @(#)files.sparc64 8.1 (Berkeley) 7/19/93
4 # sparc64-specific configuration info
5
6 # maxpartitions must be first item in files.${ARCH}
7 maxpartitions 8
8
9 maxusers 2 8 1024
10
11 define mainbus {}
12 device mainbus: pcibus, mainbus
13 attach mainbus at root
14
15 include "dev/sbus/files.sbus"
16 attach sbus at mainbus
17 file arch/sparc64/dev/sbus.c sbus
18
19 device psycho: pcibus
20 attach psycho at mainbus
21 include "dev/pci/files.pci"
22 file arch/sparc64/dev/psycho.c psycho
23 file arch/sparc64/dev/pci_machdep.c psycho
24
25 # IOMMU is for both
26 file arch/sparc64/dev/iommu.c sbus | psycho
27
28 # can't use ppb for SUNW,simba
29 device simba: pcibus
30 attach simba at pci
31 file arch/sparc64/dev/simba.c simba
32
33 include "dev/ata/files.ata"
34 file arch/sparc64/dev/pciide_machdep.c pciide
35
36 device ebus {[addr = -1]}: pcibus
37 attach ebus at pci
38 file arch/sparc64/dev/ebus.c ebus
39
40 # network devices MII bus
41 include "dev/mii/files.mii"
42
43 device clock
44 attach clock at mainbus, sbus with clock_sbus
45 attach clock at ebus with clock_ebus
46
47 device timer
48 attach timer at mainbus, sbus
49
50 device eeprom
51 attach eeprom at sbus, ebus
52 file arch/sparc64/sparc64/clock.c
53
54 device power
55 attach power at sbus, ebus
56 file arch/sparc64/dev/power.c power
57
58 device cpu
59 attach cpu at mainbus
60 file arch/sparc64/sparc64/cpu.c
61
62 device zs {channel = -1}
63 attach zs at mainbus, sbus
64 file arch/sparc64/dev/zs.c zs needs-count
65 file dev/ic/z8530sc.c zs
66
67 # siemens SAB82532; found on U5/U10/... for tty ports.
68 #device sab {channel = -1}
69 #attach sab at ebus
70 #file arch/sparc64/dev/sab_ebus.c sab
71 #file dev/ic/sab82532.c sab
72
73 # "com" attachments for the kbd/mouse of the U5/U10/...
74 #device ucom {}
75 #attach ucom at ebus with com
76 #file arch/sparc64/dev/ucom_ebus.c ucom
77
78 # XXX bogus; this is in dev/isa/files.isa. fix me please!
79 # XXX we should attach a `bpp'-style device here rather than
80 # `lpt' because the `bpp' driver supports DMA.
81 device lpt
82 file dev/ic/lpt.c lpt needs-flag
83
84 device auxio
85 attach auxio at ebus with auxio_ebus
86 attach auxio at sbus with auxio_sbus
87 file arch/sparc64/dev/auxio.c auxio
88
89 attach lpt at ebus with lpt_ebus
90 file arch/sparc64/dev/lpt_ebus.c lpt_ebus
91
92 device fdc {}
93 attach fdc at mainbus, sbus, ebus
94 # attach fdc at ebus
95 device fd: disk
96 attach fd at fdc
97 file dev/sun/fd.c fdc | fd needs-flag
98 file arch/sparc64/sparc64/bsd_fdintr.s fdc
99
100 attach audiocs at ebus with audiocs_ebus
101 file arch/sparc64/dev/cs4231_ebus.c audiocs_ebus
102
103 #
104 # Console (zs) related stuff
105 #
106
107 device zstty: tty
108 attach zstty at zs
109 file dev/ic/z8530tty.c zstty needs-flag
110 file arch/sparc/dev/zs_kgdb.c kgdb
111
112 #device sabtty: tty
113 #attach sabtty at sab
114 #file dev/ic/sabtty.c sabtty needs-flag
115
116 define zsevent
117 file dev/sun/event.c zsevent
118
119 device kbd: zsevent
120 attach kbd at zs with kbd_zs
121 #attach kbd at ucom with kbd_ucom
122 file dev/sun/kbd_zs.c kbd_zs
123 file dev/sun/kbd.c kbd needs-flag
124 file dev/sun/kbd_tables.c kbd
125 file arch/sparc64/dev/kd.c kbd
126 #file arch/sparc64/dev/kbd_ucom.c kbd_ucom
127
128 device ms: zsevent
129 attach ms at zs with ms_zs
130 #attach ms at ucom with ms_ucom
131 file dev/sun/ms_zs.c ms_zs
132 file dev/sun/ms.c ms needs-flag
133 #file arch/sparc64/dev/ms_ucom.c ms_ucom
134
135
136 #
137 # Machine-independent SCSI drivers
138 #
139 include "dev/scsipi/files.scsipi"
140
141 major { cd = 18 }
142 major { fd = 16 }
143 major { md = 5 }
144 major { sd = 7 }
145 major { wd = 12 }
146
147 # RAIDframe
148 major { raid = 25 }
149
150 # Brooktree DAC attribute
151 define bt_dac
152
153 device bwtwo
154 attach bwtwo at sbus
155 file arch/sparc64/dev/bwtwo.c bwtwo needs-flag
156
157 device cgtwo
158 attach cgtwo at sbus
159 file arch/sparc64/dev/cgtwo.c cgtwo needs-flag
160
161 device cgthree: bt_dac
162 attach cgthree at sbus
163 file arch/sparc64/dev/cgthree.c cgthree needs-flag
164
165 device cgfour: bt_dac
166 attach cgfour at sbus
167 file arch/sparc64/dev/cgfour.c cgfour needs-flag
168
169 device cgsix: bt_dac
170 attach cgsix at sbus
171 file arch/sparc64/dev/cgsix.c cgsix needs-flag
172 file arch/sparc64/dev/cgsix_sbus.c cgsix needs-flag
173
174 device cgeight: bt_dac
175 attach cgeight at sbus
176 file arch/sparc64/dev/cgeight.c cgeight needs-flag
177
178 device tcx: bt_dac
179 attach tcx at sbus
180 file arch/sparc64/dev/tcx.c tcx needs-flag
181
182 device cgfourteen
183 attach cgfourteen at sbus
184 file arch/sparc64/dev/cgfourteen.c cgfourteen needs-flag
185
186 file arch/sparc64/dev/bt_subr.c bt_dac
187
188 #
189 # Generic Sun stuff
190 #
191
192 file dev/cons.c
193 file arch/sparc64/dev/fb.c
194 file arch/sparc64/dev/consinit.c
195
196 file arch/sparc64/fpu/fpu.c
197 file arch/sparc64/fpu/fpu_add.c
198 file arch/sparc64/fpu/fpu_compare.c
199 file arch/sparc64/fpu/fpu_div.c
200 file arch/sparc64/fpu/fpu_explode.c
201 file arch/sparc64/fpu/fpu_implode.c
202 file arch/sparc64/fpu/fpu_mul.c
203 file arch/sparc64/fpu/fpu_sqrt.c
204 file arch/sparc64/fpu/fpu_subr.c
205
206 # N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
207 # identified the exact problem yet. NOOPT_C suffices for now.
208 file arch/sparc64/sparc64/autoconf.c
209 file arch/sparc64/sparc64/cache.c
210 file arch/sparc64/sparc64/conf.c
211 file arch/sparc64/sparc64/emul.c
212 file arch/sparc64/sparc64/in_cksum.c
213 file netinet/in4_cksum.c inet
214 file arch/sparc64/sparc64/intr.c
215 file arch/sparc64/sparc64/kgdb_machdep.c kgdb
216 # sparc/sparc/locore.s is handled specially in the makefile,
217 # because it must come first in the "ld" command line.
218 file arch/sparc64/sparc64/locore2.c
219 file arch/sparc64/sparc64/machdep.c
220 file arch/sparc64/sparc64/process_machdep.c
221 file arch/sparc64/sparc64/mem.c
222 file arch/sparc64/sparc64/openprom.c
223 file arch/sparc64/sparc64/openfirm.c
224 file arch/sparc64/sparc64/ofw_machdep.c
225 file arch/sparc64/sparc64/pmap.c
226 # the following overrides the generic "sys_process.c"
227 # commented out by deraadt
228 #file arch/sparc64/sparc64/sys_process.c
229 file arch/sparc64/sparc64/sys_machdep.c
230 file arch/sparc64/sparc64/trap.c
231 file arch/sparc64/sparc64/vm_machdep.c
232 file arch/sparc64/sparc64/disksubr.c
233
234 file arch/sparc64/sparc64/db_interface.c ddb | kgdb
235 file arch/sparc64/sparc64/db_trace.c ddb
236 file arch/sparc64/sparc64/db_disasm.c ddb
237 #file ddb/db_aout.c ddb_aout
238 #file ddb/db_elf.c ddb
239
240 #
241 # Raster Console
242 #
243 include "dev/rcons/files.rcons"
244 include "dev/rasops/files.rasops"
245 include "dev/wsfont/files.wsfont"
246
247 #
248 # Compatibility modules
249 #
250
251 # Binary compatiblity with previous NetBSD releases.
252 file arch/sparc64/sparc64/compat_13_machdep.c compat_13
253
254 # NetBSD/sparc 32-bit Binary compatibility (COMPAT_NETBSD32)
255 include "compat/netbsd32/files.netbsd32"
256 file arch/sparc64/sparc64/netbsd32_machdep.c compat_netbsd32
257
258 # NetBSD a.out Binary Compatibility (COMPAT_AOUT)
259 include "compat/aout/files.aout"
260
261 # SVR4 Binary Compatibility (COMPAT_SVR4)
262 include "compat/svr4/files.svr4"
263 file arch/sparc64/sparc64/svr4_machdep.c compat_svr4
264
265 # SunOS Binary Compatibility (COMPAT_SUNOS)
266 include "compat/sunos/files.sunos"
267 file arch/sparc64/sparc64/sunos_machdep.c compat_sunos
268
269 # Miscellaneous
270 file netns/ns_cksum.c ns
271
272 file arch/sparc64/dev/md_root.c memory_disk_hooks
273