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