1 # $NetBSD: files.alpha,v 1.180 2008/11/19 18:35:57 ad Exp $
3 # alpha-specific configuration info
5 # maxpartitions must be first item in files.${ARCH}.newconf
10 # CPU support option headers
11 defflag DEC_2000_300 # "Jensen": 2000/300 (DECpc AXP 150)
12 defflag DEC_2100_A50 # Avanti etc: AlphaStation 400, 200, etc.
13 defflag DEC_2100_A500 # Sable etc: AlphaServer 2100
14 defflag DEC_2100A_A500 # Lynx etc: AlphaServer 2100A
15 defflag DEC_3000_300 # Pelican etc: 3000/300*
16 defflag DEC_3000_500 # Flamingo etc: 3000/[4-9]00*
17 defflag DEC_550 # Miata: Personal Workstation (550)
18 defflag DEC_AXPPCI_33 # NoName: AXPpci33, etc.
19 defflag DEC_EB164 # EB164: AlphaPC 164
20 defflag DEC_EB64PLUS # EB64+: AlphaPC 64, etc.
21 defflag DEC_KN20AA # KN20AA: AlphaStation 500 and 600
22 defflag DEC_KN8AE # KN8AE: AlphaServer 8200 and 8400
23 defflag DEC_KN300 # KN300: AlphaServer 4X00
24 defflag AVALON_A12 # Avalon: A12T1, A12M Parallel Supercomputer
25 defflag DEC_1000 # Mikasa etc: AlphaServer 1000
26 defflag DEC_1000A # Corelle etc: AlphaServer 800 and 1000A
27 defflag DEC_ALPHABOOK1 # AlphaBook1: Tadpole/DEC AlphaBook
28 defflag DEC_EB66 # EB66: 21066 Evaluation Board
29 defflag DEC_6600 # EV6 Various EV6 Systems
30 defflag API_UP1000 # EV6 Alpha Processor, Inc. UP1000
32 # Miscellaneous CPU-specific option headers
33 defflag FIX_UNALIGNED_VAX_FP
36 # realtime clock compatible to OSF/1
37 defflag CLOCK_COMPAT_OSF1
39 # this loses, but there's no way to define attributes which have attributes
40 define alpha_shared_intr
41 file arch/alpha/common/shared_intr.c alpha_shared_intr | dec_eb164 |
42 dec_eb64plus | dec_kn20aa | dec_kn8ae |
43 dec_kn300 | dec_550 | dec_1000 |
44 dec_1000a | dec_eb66 | dec_6600
46 file arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500
49 # Bus-independent devices
52 device mainbus { } # no locators (yet?)
53 attach mainbus at root
55 device cpu { } # not really optional
57 file arch/alpha/alpha/cpu.c cpu
60 # Machine-independent I2O drivers.
63 include "dev/i2o/files.i2o"
66 # Machine-independent SCSI drivers
69 include "dev/scsipi/files.scsipi"
72 # Machine-independent ATA drivers
75 include "dev/ata/files.ata"
78 file dev/md_root.c memory_disk_hooks
81 # TurboLaser Bus Support
84 device tlsb { node = -1, offset = -1 }
85 attach tlsb at mainbus
86 file arch/alpha/tlsb/tlsb.c tlsb & dec_kn8ae
90 file arch/alpha/tlsb/kftxx.c kft
93 attach tlsbmem at tlsb
94 file arch/alpha/tlsb/tlsbmem.c tlsbmem
96 device gbus { offset = -1 }
98 file arch/alpha/tlsb/gbus.c gbus
104 device mcbus { mid = -1 }
105 attach mcbus at mainbus
106 file arch/alpha/mcbus/mcbus.c mcbus & dec_kn300
109 attach mcmem at mcbus
110 file arch/alpha/mcbus/mcmem.c mcmem
113 # Bus-independent support for DEC devices
115 include "dev/dec/files.dec"
118 # TURBOchannel Devices
120 include "dev/tc/files.tc"
122 # TC attachment is MD
126 attach tcasic at mainbus
127 file arch/alpha/tc/tcasic.c tcasic
128 file arch/alpha/tc/tc_bus_mem.c tcasic
129 file arch/alpha/tc/tc_dma.c tcasic
130 file arch/alpha/tc/tc_dma_3000_300.c tcasic & dec_3000_300
131 file arch/alpha/tc/tc_dma_3000_500.c tcasic & dec_3000_500
132 file arch/alpha/tc/tc_sgmap.c tcasic & dec_3000_500
133 file arch/alpha/tc/tc_3000_500.c tcasic & dec_3000_500
134 file arch/alpha/tc/tc_3000_300.c tcasic & dec_3000_300
136 # the TURBOchannel IOCTL ASIC
137 # IOASIC device and attachment defined in sys/dev/tc/files.tc
138 file arch/alpha/tc/ioasic.c ioasic
140 # TC and baseboard ioasic Lance ethernet are in files.tc
146 include "dev/pci/files.pci" # XXX some ISA devs are 'at pci' too.
147 include "dev/pci/files.agp"
148 include "dev/isa/files.isa"
154 file arch/alpha/isa/isa_machdep.c isa
157 file arch/alpha/isa/isadma_bounce.c isadma_bounce
159 include "dev/pckbport/files.pckbport"
161 # ISA speaker generates keyboard beep
163 attach isabeep at pcppi
165 # Floppy disk controller
166 device fdc { drive = -1 }: isadma
167 file dev/isa/fd.c fdc needs-flag
169 attach fdc at isa with fdc_isa
170 file dev/isa/fdc_isa.c fdc_isa
175 # ISA Plug 'n Play devices
176 file arch/alpha/isa/isapnp_machdep.c isapnp
182 include "dev/eisa/files.eisa"
184 file arch/alpha/eisa/eisa_machdep.c eisa
186 device jensenio {[port = -1]}: eisabus, isabus, isadma_bounce
187 attach jensenio at mainbus
188 file arch/alpha/jensenio/jensenio.c jensenio
189 file arch/alpha/jensenio/jensenio_bus_intio.c jensenio
190 file arch/alpha/jensenio/jensenio_bus_io.c jensenio
191 file arch/alpha/jensenio/jensenio_bus_mem.c jensenio
192 file arch/alpha/jensenio/jensenio_dma.c jensenio
193 file arch/alpha/jensenio/jensenio_intr.c jensenio
195 attach com at jensenio with com_jensenio
196 file arch/alpha/jensenio/com_jensenio.c com_jensenio
198 attach lpt at jensenio with lpt_jensenio
199 file arch/alpha/jensenio/lpt_jensenio.c lpt_jensenio
201 attach pckbc at jensenio with pckbc_jensenio
202 file arch/alpha/jensenio/pckbc_jensenio.c pckbc_jensenio
208 # include "dev/pci/files.pci" XXX SEE ABOVE
210 file arch/alpha/pci/pciide_machdep.c pciide_common
212 define alpha_pci_sgmap_pte32
213 file arch/alpha/pci/pci_sgmap_pte32.c alpha_pci_sgmap_pte32
215 define alpha_pci_sgmap_pte64
216 file arch/alpha/pci/pci_sgmap_pte64.c alpha_pci_sgmap_pte64
218 device apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
219 attach apecs at mainbus
220 file arch/alpha/pci/apecs.c apecs
221 file arch/alpha/pci/apecs_bus_io.c apecs
222 file arch/alpha/pci/apecs_bus_mem.c apecs
223 file arch/alpha/pci/apecs_dma.c apecs
224 file arch/alpha/pci/apecs_pci.c apecs
226 device cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
227 attach cia at mainbus
228 file arch/alpha/pci/cia.c cia
229 file arch/alpha/pci/cia_dma.c cia
230 file arch/alpha/pci/cia_pci.c cia
231 file arch/alpha/pci/cia_bwx_bus_io.c cia
232 file arch/alpha/pci/cia_bwx_bus_mem.c cia
233 file arch/alpha/pci/cia_swiz_bus_io.c cia
234 file arch/alpha/pci/cia_swiz_bus_mem.c cia
239 device a12c { }: pcibus, a12c_xb, a12c_a12dc
240 attach a12c at mainbus
241 file arch/alpha/pci/a12c.c a12c
242 file arch/alpha/pci/a12c_bus_mem.c a12c
243 file arch/alpha/pci/a12c_dma.c a12c
244 file arch/alpha/pci/a12c_pci.c a12c
246 device dwlpx: pcibus, alpha_sgmap, alpha_pci_sgmap_pte32
248 file arch/alpha/pci/dwlpx.c dwlpx
249 file arch/alpha/pci/dwlpx_bus_io.c dwlpx
250 file arch/alpha/pci/dwlpx_bus_mem.c dwlpx
251 file arch/alpha/pci/dwlpx_dma.c dwlpx
252 file arch/alpha/pci/dwlpx_pci.c dwlpx
254 device irongate: pcibus, agpbus, agp_amd, isadma_bounce
255 attach irongate at mainbus
256 file arch/alpha/pci/irongate.c irongate
257 file arch/alpha/pci/irongate_bus_io.c irongate
258 file arch/alpha/pci/irongate_bus_mem.c irongate
259 file arch/alpha/pci/irongate_dma.c irongate
260 file arch/alpha/pci/irongate_pci.c irongate
262 device lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
263 attach lca at mainbus
264 file arch/alpha/pci/lca.c lca
265 file arch/alpha/pci/lca_bus_io.c lca
266 file arch/alpha/pci/lca_bus_mem.c lca
267 file arch/alpha/pci/lca_dma.c lca
268 file arch/alpha/pci/lca_pci.c lca
270 device mcpcia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
271 attach mcpcia at mcbus
272 file arch/alpha/pci/mcpcia.c mcpcia
273 file arch/alpha/pci/mcpcia_bus_io.c mcpcia
274 file arch/alpha/pci/mcpcia_bus_mem.c mcpcia
275 file arch/alpha/pci/mcpcia_dma.c mcpcia
276 file arch/alpha/pci/mcpcia_pci.c mcpcia
279 attach tsc at mainbus
280 file arch/alpha/pci/tsc.c dec_6600
282 device tsp: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
284 file arch/alpha/pci/tsp_dma.c tsp
285 file arch/alpha/pci/tsp_pci.c tsp
286 file arch/alpha/pci/tsp_bus_io.c tsp
287 file arch/alpha/pci/tsp_bus_mem.c tsp
289 device ttwoga { hose = -1 }
290 attach ttwoga at mainbus
291 # identical to pcibus
292 define sableiobus {[bus = -1]}
293 device ttwopci: pcibus, sableiobus, alpha_sgmap, alpha_pci_sgmap_pte64
294 attach ttwopci at ttwoga
295 file arch/alpha/pci/ttwoga.c ttwoga
296 file arch/alpha/pci/ttwoga_bus_io.c ttwoga
297 file arch/alpha/pci/ttwoga_bus_mem.c ttwoga
298 file arch/alpha/pci/ttwoga_dma.c ttwoga
299 file arch/alpha/pci/ttwoga_pci.c ttwoga
302 # Sable STDIO support
304 device sableio { port = -1 }
305 attach sableio at sableiobus
306 file arch/alpha/sableio/sableio.c sableio
308 attach com at sableio with com_sableio
309 file arch/alpha/sableio/com_sableio.c com_sableio
311 attach lpt at sableio with lpt_sableio
312 file arch/alpha/sableio/lpt_sableio.c lpt_sableio
314 attach pckbc at sableio with pckbc_sableio
315 file arch/alpha/sableio/pckbc_sableio.c pckbc_sableio
317 attach fdc at sableio with fdc_sableio
318 file arch/alpha/sableio/fdc_sableio.c fdc_sableio
321 file arch/alpha/alpha/dec_2000_300.c dec_2000_300
322 file arch/alpha/pci/pci_2100_a50.c dec_2100_a50
323 file arch/alpha/pci/pci_2100_a500.c dec_2100_a500 | dec_2100a_a500
324 file arch/alpha/pci/pci_up1000.c api_up1000
325 file arch/alpha/pci/pci_a12.c avalon_a12
326 file arch/alpha/pci/pci_alphabook1.c dec_alphabook1
327 file arch/alpha/pci/pci_axppci_33.c dec_axppci_33
328 file arch/alpha/pci/pci_eb164.c dec_eb164
329 file arch/alpha/pci/pci_eb164_intr.s dec_eb164
330 file arch/alpha/pci/pci_eb64plus.c dec_eb64plus
331 file arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus
332 file arch/alpha/pci/pci_eb66.c dec_eb66
333 file arch/alpha/pci/pci_eb66_intr.s dec_eb66
334 file arch/alpha/pci/pci_kn20aa.c dec_kn20aa
335 file arch/alpha/pci/pci_kn8ae.c dec_kn8ae
336 file arch/alpha/pci/pci_kn300.c dec_kn300
337 file arch/alpha/pci/pci_550.c dec_550
338 file arch/alpha/pci/pci_1000a.c dec_1000a
339 file arch/alpha/pci/pci_1000.c dec_1000
340 file arch/alpha/pci/pci_6600.c dec_6600
347 file arch/alpha/pci/pci_machdep.c pci
348 file arch/alpha/pci/agp_machdep.c agp
350 device sio: isabus, alpha_shared_intr, cy82c693
352 device pceb: isabus, eisabus, cy82c693, alpha_shared_intr
354 file arch/alpha/pci/sio.c sio | pceb needs-flag
355 file arch/alpha/pci/sio_pic.c sio | pceb
360 device ade: ether, ifnet, arp
362 file arch/alpha/a12/if_ade.c ade
365 # alpha/a12 platform-specific drivers
372 file arch/alpha/a12/if_xb.c xb
377 attach a12dc at a12c_a12dc
378 file arch/alpha/a12/a12dc.c a12dc needs-flag
381 # Devices that can live on multiple busses
384 device mcclock: mc146818
385 attach mcclock at ioasic with mcclock_ioasic
386 attach mcclock at isa with mcclock_isa
387 attach mcclock at gbus with mcclock_tlsb
388 attach mcclock at jensenio with mcclock_jensenio
389 file arch/alpha/alpha/mcclock.c mcclock
390 file arch/alpha/tc/mcclock_ioasic.c mcclock_ioasic
391 file arch/alpha/isa/mcclock_isa.c mcclock_isa
392 file arch/alpha/tlsb/mcclock_tlsb.c mcclock_tlsb
393 file arch/alpha/jensenio/mcclock_jensenio.c mcclock_jensenio
399 file arch/alpha/alpha/autoconf.c
400 file arch/alpha/alpha/clock.c
401 file arch/alpha/alpha/core_machdep.c coredump
402 file arch/alpha/alpha/cpuconf.c
403 file arch/alpha/alpha/interrupt.c
404 file arch/alpha/alpha/ipifuncs.c multiprocessor
405 file arch/alpha/alpha/kobj_machdep.c modular
406 file arch/alpha/alpha/machdep.c
407 file arch/alpha/alpha/mainbus.c
408 file arch/alpha/alpha/mem.c
409 file arch/alpha/alpha/patch.c
410 file arch/alpha/alpha/pmap.c
411 file arch/alpha/alpha/process_machdep.c
412 file arch/alpha/alpha/procfs_machdep.c procfs
413 file arch/alpha/alpha/prom.c
414 file arch/alpha/alpha/sys_machdep.c
415 file arch/alpha/alpha/syscall.c
416 file arch/alpha/alpha/trap.c
417 file arch/alpha/alpha/fp_complete.c
418 file arch/alpha/alpha/vm_machdep.c
419 file arch/alpha/alpha/disksubr.c
420 file arch/alpha/common/bus_dma.c
421 file arch/alpha/common/comlogout.c
423 file kern/kern_cctr.c
425 file common/bus_dma/bus_dmamem_common.c
427 # PROM console support (for ports that don't have native console support)
428 file arch/alpha/alpha/promcons.c
431 file arch/alpha/alpha/dec_2100_a50.c dec_2100_a50
432 file arch/alpha/alpha/dec_2100_a500.c dec_2100_a500 | dec_2100a_a500
433 file arch/alpha/alpha/dec_3000_300.c dec_3000_300
434 file arch/alpha/alpha/dec_3000_500.c dec_3000_500
435 file arch/alpha/alpha/dec_550.c dec_550
436 file arch/alpha/alpha/dec_alphabook1.c dec_alphabook1
437 file arch/alpha/alpha/dec_axppci_33.c dec_axppci_33
438 file arch/alpha/alpha/dec_eb164.c dec_eb164
439 file arch/alpha/alpha/dec_eb64plus.c dec_eb64plus
440 file arch/alpha/alpha/dec_eb66.c dec_eb66
441 file arch/alpha/alpha/dec_kn20aa.c dec_kn20aa
442 file arch/alpha/alpha/dec_kn8ae.c dec_kn8ae
443 file arch/alpha/alpha/dec_kn300.c dec_kn300
444 file arch/alpha/alpha/api_up1000.c api_up1000
445 file arch/alpha/alpha/avalon_a12.c avalon_a12
446 file arch/alpha/alpha/dec_1000a.c dec_1000 | dec_1000a
447 file arch/alpha/alpha/dec_6600.c dec_6600
449 # Kernel debugger support
450 file arch/alpha/alpha/db_disasm.c ddb
451 file arch/alpha/alpha/db_interface.c ddb
452 file arch/alpha/alpha/db_trace.c ddb
454 file arch/alpha/alpha/kgdb_machdep.c kgdb
456 # Binary compatibility with previous NetBSD releases (COMPAT_XX)
457 file arch/alpha/alpha/compat_13_machdep.c compat_13 | compat_osf1
458 file arch/alpha/alpha/compat_16_machdep.c compat_16 | compat_osf1
460 # OSF/1 Binary Compatibility (COMPAT_OSF1)
461 include "compat/osf1/files.osf1"
462 file arch/alpha/alpha/osf1_sigcode.s compat_osf1
463 file arch/alpha/alpha/osf1_syscall.c compat_osf1
465 # Linux Binary Compatibility (COMPAT_LINUX)
466 include "compat/linux/files.linux"
467 include "compat/linux/arch/alpha/files.linux_alpha"
468 file arch/alpha/alpha/linux_sigcode.s compat_linux
469 file arch/alpha/alpha/linux_syscall.c compat_linux
470 file arch/alpha/alpha/linux_trap.c compat_linux
473 file arch/alpha/alpha/lock_stubs.s
475 # OSS audio driver compatibility
476 include "compat/ossaudio/files.ossaudio"
478 # XXXX pcic here because it needs to be late. The catch: pcic needs
479 # to be late, so devices which attach to it are attached late. But it
480 # needs to be before its isa and pci attachments. This answer is
481 # non-optimal, but I don't have a better answer right now.
483 # PCIC pcmcia contoller
484 # XXX this needs to be done very late, so it's done here. This feels
485 # like a kludge, but it might be for the best.
487 defparam PCIC_ISA_ALLOC_IOBASE
488 defparam PCIC_ISA_ALLOC_IOSIZE
489 defparam PCIC_ISA_INTR_ALLOC_MASK
491 device pcic: pcmciabus
492 file dev/ic/i82365.c pcic
494 # PCIC pcmcia controller on ISA bus.
495 attach pcic at isa with pcic_isa
496 file dev/isa/i82365_isa.c pcic_isa
498 # PCIC pcmcia controller on PCI bus.
499 attach pcic at pci with pcic_pci
500 file dev/pci/i82365_pci.c pcic_pci
502 # PCIC pcmcia controller on PnP board
503 attach pcic at isapnp with pcic_isapnp
504 file dev/isapnp/i82365_isapnp.c pcic_isapnp
506 # Code common to ISA and ISAPnP attachments
507 file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci
510 # this wants to be probed as late as possible.
512 # Machine-independent PCMCIA drivers
514 include "dev/pcmcia/files.pcmcia"
516 # Machine-independent USB device support
518 include "dev/usb/files.usb"
520 # Machine-independent Bluetooth support
522 include "dev/bluetooth/files.bluetooth"
524 # Machine-independent IEEE 1394 device support
526 include "dev/ieee1394/files.ieee1394"
528 include "arch/alpha/conf/majors.alpha"