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