files.sparc64 revision 1.4 1 # $NetBSD: files.sparc64,v 1.4 1998/07/21 17:36:04 drochner 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 device mainbus {}
12 attach mainbus at root
13
14 device obio { [addr = -1], [level = -1] }
15 attach obio at mainbus
16 file arch/sparc64/dev/obio.c obio
17
18 device iommu {}
19 attach iommu at mainbus
20 file arch/sparc64/sparc64/iommu.c iommu
21
22 device sbus { [slot = -1], [offset = -1] }
23 attach sbus at mainbus, iommu
24 file arch/sparc64/dev/sbus.c sbus
25
26 #device auxreg
27 #attach auxreg at mainbus, sbus, obio
28 #file arch/sparc64/sparc64/auxreg.c
29
30 device clock
31 attach clock at mainbus, sbus, obio
32
33 device oclock
34 attach oclock at sbus, obio
35
36 device timer
37 attach timer at mainbus, sbus, obio
38
39 device eeprom
40 attach eeprom at sbus, obio
41 file arch/sparc64/sparc64/clock.c
42
43 device power
44 attach power at sbus, obio
45 file arch/sparc64/dev/power.c power
46
47 device cpu
48 attach cpu at mainbus
49 file arch/sparc64/sparc64/cpu.c
50
51 device zs {channel = -1}
52 attach zs at mainbus, sbus, obio
53 file arch/sparc64/dev/zs.c zs needs-count
54 file dev/ic/z8530sc.c zs
55
56 device fdc {}
57 attach fdc at mainbus, sbus, obio
58 device fd: disk
59 attach fd at fdc
60 file arch/sparc64/dev/fd.c fdc | fd needs-flag
61 file arch/sparc64/sparc/bsd_fdintr.s fdc
62
63 #
64 # Console (zs) related stuff
65 #
66
67 device zstty: tty
68 attach zstty at zs
69 file dev/ic/z8530tty.c zstty needs-flag
70 file arch/sparc/dev/zs_kgdb.c kgdb
71
72 define zsevent
73 file dev/sun/event.c zsevent
74
75 device kbd: zsevent
76 attach kbd at zs
77 file dev/sun/kbd.c kbd needs-flag
78 file dev/sun/kbd_tables.c kbd
79 file arch/sparc64/dev/kd.c kbd
80
81 device ms: zsevent
82 attach ms at zs
83 file dev/sun/ms.c ms needs-flag
84
85
86 #
87 # Machine-independent SCSI drivers
88 #
89 include "../../../dev/scsipi/files.scsipi"
90
91 major { sd = 7 }
92 major { vnd = 8 }
93 major { cd = 18 }
94
95 device dma {}
96 attach dma at sbus, obio
97 device ledma {}
98 attach ledma at sbus
99 file arch/sparc64/dev/dma.c dma | ledma
100 device lebuffer {}
101 attach lebuffer at sbus
102 file arch/sparc64/dev/lebuffer.c lebuffer
103
104 device esp: scsi, ncr53c9x
105 attach esp at sbus, dma, obio
106 device fas: scsi, ncr53c9x
107 attach fas at sbus, dma, obio
108 file arch/sparc64/dev/esp.c esp | fas
109
110 #device audioamd: audio
111 #attach audioamd at mainbus, obio, sbus
112 #file arch/sparc64/dev/amd7930.c audio
113 #file arch/sparc64/sparc64/amd7930intr.s audio
114
115 # Brooktree DAC attribute
116 define bt_dac
117
118 device bwtwo
119 attach bwtwo at sbus, obio
120 file arch/sparc64/dev/bwtwo.c bwtwo needs-flag
121
122 device cgtwo
123 attach cgtwo at sbus, obio
124 file arch/sparc64/dev/cgtwo.c cgtwo needs-flag
125
126 device cgthree: bt_dac
127 attach cgthree at sbus
128 file arch/sparc64/dev/cgthree.c cgthree needs-flag
129
130 device cgfour: bt_dac
131 attach cgfour at sbus, obio
132 file arch/sparc64/dev/cgfour.c cgfour needs-flag
133
134 device cgsix: bt_dac
135 attach cgsix at sbus, obio
136 file arch/sparc64/dev/cgsix.c cgsix needs-flag
137 file arch/sparc64/dev/cgsix_sbus.c cgsix needs-flag
138
139 device cgeight: bt_dac
140 attach cgeight at sbus, obio
141 file arch/sparc64/dev/cgeight.c cgeight needs-flag
142
143 device tcx: bt_dac
144 attach tcx at sbus
145 file arch/sparc64/dev/tcx.c tcx needs-flag
146
147 device cgfourteen
148 attach cgfourteen at sbus, obio
149 file arch/sparc64/dev/cgfourteen.c cgfourteen needs-flag
150
151 file arch/sparc64/dev/bt_subr.c bt_dac
152
153 # device definition in sys/conf/files
154 attach le at sbus, ledma, lebuffer, obio: le24
155 file arch/sparc64/dev/if_le.c le
156
157 device ie: ifnet, ether, arp
158 attach ie at sbus, obio
159 file arch/sparc64/dev/if_ie.c ie
160
161 device sw: scsi, ncr5380sbc
162 attach sw at sbus, obio
163 file arch/sparc64/dev/si.c sw
164
165 # Efficient Networks, Inc. ATM interface
166 # device declaration in sys/conf/files
167 attach en at sbus with en_sbus
168 file arch/sparc64/dev/if_en_sbus.c en_sbus
169
170 # Qlogic ISP 10x0 (Sbus) family
171 # device declaration in sys/conf/files
172 attach isp at sbus with isp_sbus
173 file arch/sparc64/dev/isp_sbus.c isp_sbus
174
175 #
176 # Generic Sun stuff
177 #
178
179 file dev/cons.c
180 file arch/sparc64/dev/fb.c
181
182 file arch/sparc64/fpu/fpu.c
183 file arch/sparc64/fpu/fpu_add.c
184 file arch/sparc64/fpu/fpu_compare.c
185 file arch/sparc64/fpu/fpu_div.c
186 file arch/sparc64/fpu/fpu_explode.c
187 file arch/sparc64/fpu/fpu_implode.c
188 file arch/sparc64/fpu/fpu_mul.c
189 file arch/sparc64/fpu/fpu_sqrt.c
190 file arch/sparc64/fpu/fpu_subr.c
191
192 # N.B.: optimizer breaks pmap.c and/or cache.c somehow -- have not
193 # identified the exact problem yet. NOOPT_C suffices for now.
194 file arch/sparc64/sparc64/autoconf.c
195 file arch/sparc64/sparc64/cache.c
196 file arch/sparc64/sparc64/conf.c
197 file arch/sparc64/sparc64/emul.c
198 file arch/sparc64/sparc64/in_cksum.c
199 file arch/sparc64/sparc64/intr.c
200 file arch/sparc64/sparc64/kgdb_machdep.c kgdb
201 # sparc/sparc/locore.s is handled specially in the makefile,
202 # because it must come first in the "ld" command line.
203 file arch/sparc64/sparc64/locore2.c
204 file arch/sparc64/sparc64/machdep.c
205 file arch/sparc64/sparc64/process_machdep.c
206 file arch/sparc64/sparc64/mem.c
207 file arch/sparc64/sparc64/openprom.c
208 file arch/sparc64/sparc64/openfirm.c
209 file arch/sparc64/sparc64/ofw_machdep.c
210 file arch/sparc64/sparc64/pmap.c
211 # the following overrides the generic "sys_process.c"
212 # commented out by deraadt
213 #file arch/sparc64/sparc64/sys_process.c
214 file arch/sparc64/sparc64/sys_machdep.c
215 file arch/sparc64/sparc64/trap.c
216 file arch/sparc64/sparc64/vm_machdep.c
217 file arch/sparc64/sparc64/disksubr.c
218
219 file arch/sparc64/sparc64/db_interface.c ddb | kgdb
220 file arch/sparc64/sparc64/db_trace.c ddb
221 file arch/sparc64/sparc64/db_disasm.c ddb
222 #file ddb/db_aout.c ddb_aout
223 #file ddb/db_elf.c ddb
224
225 #
226 # Raster Console
227 #
228 include "../../../dev/rcons/files.rcons"
229
230 #
231 # Compatibility modules
232 #
233
234 # SVR4 Binary Compatibility (COMPAT_SVR4)
235 include "../../../compat/svr4/files.svr4"
236 file arch/sparc64/sparc64/svr4_machdep.c compat_svr4
237 file arch/sparc64/sparc64/sunos_machdep.c compat_sunos
238
239 # SunOS Binary Compatibility (COMPAT_SUNOS)
240 include "../../../compat/sunos/files.sunos"
241
242 # Miscellaneous
243 file netns/ns_cksum.c ns
244
245 major {md = 5}
246 file arch/sparc64/dev/md_root.c memory_disk_hooks
247