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