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