files.hppa revision 1.21 1 # $NetBSD: files.hppa,v 1.21 2019/05/08 13:40:15 isaki Exp $
2 #
3 # $OpenBSD: files.hppa,v 1.31 2001/06/26 02:41:25 mickey Exp $
4 #
5 # hppa-specific configuration info
6
7 # maxpartitions must be the first item in files.${ARCH}
8 maxpartitions 16
9
10 maxusers 2 8 64
11
12 # Processor type options.
13 defflag opt_cputype.h HP7000_CPU HP7100_CPU HP7150_CPU HP7100LC_CPU
14 HP7200_CPU HP7250_CPU HP7300LC_CPU
15 HP8000_CPU HP8200_CPU HP8500_CPU HP8600_CPU
16
17 # Status LEDs
18 defflag USELEDS
19
20 #
21 # Compatibility
22 #
23 include "compat/ossaudio/files.ossaudio"
24
25 include "compat/linux/files.linux"
26 file arch/hppa/hppa/linux_machdep.c compat_linux
27
28
29 include "dev/pckbport/files.pckbport"
30
31 #
32 # Machine-independent SCSI drivers
33 #
34 include "dev/scsipi/files.scsipi"
35
36 #
37 # Machine-independent ATA drivers
38 #
39 include "dev/ata/files.ata"
40
41 #
42 # Machine-independent I2O drivers
43 #
44 include "dev/i2o/files.i2o"
45
46 #
47 # Machine-independent USB drivers
48 #
49 include "dev/usb/files.usb"
50
51 #
52 # Machine-independent IEEE1394 drivers
53 #
54 include "dev/ieee1394/files.ieee1394"
55
56 #
57 # PCI Bus support
58 #
59 include "dev/pci/files.pci"
60
61 #
62 # ISA Bus support
63 #
64 include "dev/isa/files.isa"
65
66 #
67 # EISA Bus support
68 #
69 include "dev/eisa/files.eisa"
70
71 #
72 # HIL Human Interface Loop devices
73 #
74 include "dev/hil/files.hil"
75
76 #
77 # Gonzo System Connect Bus
78 # (GSC, GSC-1X, GSC+, GSC-1.5X, GSC-2X)
79 #
80 define gscbus { }
81
82 #
83 # Mainbus
84 #
85
86 define gedoens {[irq = -1]}: sysmon_power, sysmon_taskq
87 device mainbus: gedoens
88 attach mainbus at root
89 file arch/hppa/hppa/mainbus.c mainbus
90
91 device pdc
92 attach pdc at gedoens
93 file arch/hppa/dev/pdc.c pdc
94
95 device power
96 attach power at gedoens
97 file arch/hppa/dev/power.c power needs-flag
98
99 device lcd
100 attach lcd at gedoens
101 file arch/hppa/dev/lcd.c lcd needs-flag
102
103 device mem
104 attach mem at gedoens
105 file arch/hppa/dev/mem.c mem
106
107 device cpu
108 attach cpu at gedoens
109 file arch/hppa/dev/cpu.c cpu
110
111 device fpu
112 attach fpu at gedoens
113 file arch/hppa/dev/fpu.c fpu
114
115 # Phantom PseudoBC GSC+ Port
116 device phantomas: gedoens
117 attach phantomas at gedoens
118 file arch/hppa/dev/phantomas.c phantomas
119
120 # GeckoBOA BC GSC+ port
121 device gecko: gedoens
122 attach gecko at gedoens
123 file arch/hppa/dev/gecko.c gecko
124
125 # U2/Uturn, Runway to GSC Bus bridge & IOA
126 device uturn: gedoens
127 attach uturn at gedoens
128 file arch/hppa/dev/uturn.c uturn
129
130 # Astro memory & I/O controller
131 device astro: gedoens
132 attach astro at gedoens
133 file arch/hppa/dev/astro.c astro
134
135 # 1FT1-0002, 1FU2-0002
136 # as goes w/ 7100LC, 7300LC, 7200, 8000, 8200, 8500
137 device lasi: gscbus
138 attach lasi at gedoens
139 file arch/hppa/dev/lasi.c lasi
140
141 # all the older systems
142 device asp: gscbus
143 attach asp at gedoens
144 file arch/hppa/dev/asp.c asp
145
146 # 1FT4-0001, ASIC used on gecko cards
147 device wax: gscbus
148 attach wax at gedoens
149 file arch/hppa/dev/wax.c wax
150
151 device mongoose: isabus, eisabus
152 attach mongoose at gedoens
153 file arch/hppa/dev/mongoose.c mongoose
154
155 # Dino, GSC-PCI bridge. Includes ps/2, serial, and flying toaster interfaces
156 # Cujo is a 64-bit data path Dino
157 device dino { } : pcibus, gedoens
158 attach dino at gedoens
159 file arch/hppa/dev/dino.c dino
160
161 attach com at dino with com_dino
162 file arch/hppa/dev/com_dino.c com_dino
163
164 # Elroy, Ropes to PCI Bridge. Supports 4X PCI and dual address cycle.
165 # Mercury; QuickSilver is an AGP also
166 device elroy: pcibus
167 attach elroy at gedoens
168 file arch/hppa/dev/elroy.c elroy
169 file arch/hppa/dev/apic.c elroy
170
171 attach sti at gedoens with sti_gedoens
172 file arch/hppa/dev/sti_sgc.c sti_gedoens
173 file arch/hppa/dev/sti_pci_machdep.c sti_pci
174
175 attach siop at gedoens with siop_gedoens
176 file arch/hppa/dev/siop_sgc.c siop_gedoens
177
178 device ssio {[irq = -1]}
179 attach ssio at pci
180 file arch/hppa/dev/ssio.c ssio
181
182 attach com at ssio with com_ssio
183 file arch/hppa/dev/com_ssio.c com_ssio
184
185 attach lpt at ssio with lpt_ssio
186 file arch/hppa/dev/lpt_ssio.c lpt_ssio
187
188 ###
189
190 #
191 # GSC bus devices
192 #
193
194 device gsc {[irq = -1]}
195 attach gsc at gscbus
196 file arch/hppa/gsc/gscbus.c gsc
197
198 # com and lpt are both on WD 16C552
199 attach com at gsc with com_gsc
200 file arch/hppa/gsc/com_gsc.c com
201
202 attach lpt at gsc with lpt_gsc
203 file arch/hppa/gsc/lpt_gsc.c lpt
204
205 # Floppy disk controller
206 #device fdc {drive = -1}: isadma
207 #file dev/isa/fd.c fdc needs-flag
208
209 #attach fdc at isa with fdc_isa
210 #file dev/isa/fdc_isa.c fdc_isa
211
212 #attach fdc at gsc with fdc_gsc
213 #file arch/hppa/gsc/fdc_gsc.c fdc_gsc
214
215 #device fd: disk
216 #attach fd at fdc
217
218 device ie: ifnet, ether, arp, i82586
219 attach ie at gsc with ie_gsc
220 file arch/hppa/gsc/if_ie_gsc.c ie_gsc
221
222 device iee: ifnet, ether, arp, i82596
223 attach iee at gsc with iee_gsc
224 file arch/hppa/gsc/if_iee_gsc.c iee_gsc
225
226 attach siop at gsc with siop_gsc
227 file arch/hppa/gsc/siop_gsc.c siop_gsc
228
229 attach osiop at gsc with osiop_gsc
230 file arch/hppa/gsc/osiop_gsc.c osiop_gsc
231
232 attach oosiop at gsc with oosiop_gsc
233 file arch/hppa/gsc/oosiop_gsc.c oosiop_gsc
234
235 attach hil at gsc with hil_gsc
236 file arch/hppa/gsc/hil_gsc.c hil_gsc
237
238 device gsckbc: pckbport
239 attach gsckbc at gsc
240 file arch/hppa/gsc/gsckbc.c gsckbc
241
242 # PSB 2160-N based 8bit mono audio (705, 710, 745i/*, 747i/*)
243 device aone: audiobus
244 attach aone at gsc
245 file arch/hppa/gsc/aone.c aone
246
247 # CS4215/AD1849 based 16bit mono/stereo audio iface (most of others not w/ aone)
248 # a.k.a. Audio Type 2 (optional beeper)
249 device harmony {} : audiobus
250 attach harmony at gsc
251 file arch/hppa/gsc/harmony.c harmony
252
253 # fax/modem/voice on harmony
254 attach com at harmony with com_harmony
255 file arch/hppa/gsc/com_harmony.c com_harmony
256
257 # HPA4011A/B w/ TMS380C26PQL, TMS38054FNL
258 #device tms: tokenring
259 #attach tms at gsc
260 #file arch/hppa/gsc/if_tms.c tms
261
262 # these we don't know yet
263 # AMD Supernet2 FDDI ?
264 #device medusa: fddi
265 #attach medusa at gsc
266 #file arch/hppa/gsc/medusa.c medusa
267
268 # XXX should not be here
269 # ANSI/VITA 26-1998 Gbit packet switching network iface
270 #device myri: ether
271 #attach myri at pci
272 #file dev/pci/myri.c myri
273
274
275 # Memory Disk
276 file dev/md_root.c memory_disk_hooks
277
278 #
279 # Non-device files
280 #
281 file arch/hppa/hppa/autoconf.c
282 file arch/hppa/hppa/conf.c
283 file arch/hppa/hppa/core_machdep.c coredump
284 file arch/hppa/hppa/db_interface.c ddb
285 file arch/hppa/hppa/db_disasm.c ddb
286 file arch/hppa/hppa/db_memrw.c ddb | kgdb
287 file arch/hppa/hppa/db_trace.c ddb
288 file arch/hppa/hppa/db_machdep.c ddb
289 file arch/hppa/hppa/disksubr.c disk
290 file arch/hppa/hppa/fpu.c
291 file arch/hppa/hppa/ipifuncs.c multiprocessor
292 file arch/hppa/hppa/kgdb_hppa.c kgdb
293 file arch/hppa/hppa/kobj_machdep.c modular
294 file arch/hppa/hppa/hppa_machdep.c
295 file arch/hppa/hppa/idle_machdep.c
296 file arch/hppa/hppa/intr.c
297 file arch/hppa/hppa/lock_stubs.S
298 file arch/hppa/hppa/machdep.c
299 file arch/hppa/hppa/pmap.c
300 file arch/hppa/hppa/process_machdep.c
301 file arch/hppa/hppa/sig_machdep.c
302 file arch/hppa/hppa/sys_machdep.c
303 file arch/hppa/hppa/trap.c
304 file arch/hppa/hppa/vm_machdep.c
305 file arch/hppa/hppa/procfs_machdep.c procfs
306 file arch/hppa/dev/clock.c
307
308 file dev/cons.c
309 file dev/cninit.c
310
311 include "arch/hppa/conf/majors.hppa"
312