1 # $NetBSD: files.algor,v 1.25 2009/08/11 03:37:26 matt Exp $
3 # Algorithmics evaluation board specific configuration info.
5 # maxpartitions must be the first item in files.${ARCH}
10 # Platform support option headers.
11 defflag ALGOR_P4032 # Algorithmics P-4032
12 defflag ALGOR_P5064 # Algorithmics P-5064
13 defflag ALGOR_P6032 # Algorithmics P-6032
15 # Various items that a buggy PMON might not provide us.
19 # Platform support files
20 file arch/algor/algor/algor_p4032_bus_io.c algor_p4032
21 file arch/algor/algor/algor_p4032_bus_locio.c algor_p4032
22 file arch/algor/algor/algor_p4032_bus_mem.c algor_p4032
23 file arch/algor/algor/algor_p4032_dma.c algor_p4032
24 file arch/algor/algor/algor_p4032_intr.c algor_p4032
26 file arch/algor/algor/algor_p5064_bus_io.c algor_p5064
27 file arch/algor/algor/algor_p5064_bus_mem.c algor_p5064
28 file arch/algor/algor/algor_p5064_dma.c algor_p5064
29 file arch/algor/algor/algor_p5064_intr.c algor_p5064
31 file arch/algor/algor/algor_p6032_bus_io.c algor_p6032
32 file arch/algor/algor/algor_p6032_bus_mem.c algor_p6032
33 file arch/algor/algor/algor_p6032_dma.c algor_p6032
34 file arch/algor/algor/algor_p6032_intr.c algor_p6032
36 file arch/algor/algor/autoconf.c
37 file arch/algor/algor/bus_dma.c
38 file arch/algor/algor/disksubr.c
39 file arch/algor/algor/interrupt.c
40 file arch/algor/algor/led.c
41 file arch/algor/algor/machdep.c
42 file arch/algor/algor/pmon.c
44 file arch/mips/mips/softintr.c
45 file arch/mips/mips/mips3_clock.c
46 file arch/mips/mips/mips3_clockintr.c
48 file common/bus_dma/bus_dmamem_common.c
51 # The autoconfiguration root.
53 device mainbus { [addr = -1] }
54 attach mainbus at root
55 file arch/algor/dev/mainbus.c mainbus
59 file arch/algor/algor/cpu.c cpu
61 device mcclock: mc146818
64 # Machine-independent I2O drivers.
66 include "dev/i2o/files.i2o"
69 # Machine-independent SCSI drivers
71 include "dev/scsipi/files.scsipi"
74 # Machine-independent ATA drivers
76 include "dev/ata/files.ata"
79 # Machine-independent PC-style keyboard controller drivers
81 include "dev/pckbport/files.pckbport"
84 # Machine-independent USB device support
86 include "dev/usb/files.usb"
89 file dev/md_root.c memory_disk_hooks
94 include "dev/pci/files.pci"
95 include "dev/isa/files.isa"
101 file arch/algor/pci/vtpbc.c vtpbc
103 attach vtpbc at mainbus with vtpbc_mainbus
104 file arch/algor/dev/vtpbc_mainbus.c vtpbc_mainbus
106 include "arch/mips/conf/files.bonito"
107 file arch/algor/dev/bonito_mainbus.c bonito_mainbus
111 file arch/algor/pci/pcib.c pcib & (algor_p5064 |
114 file arch/algor/pci/pciide_machdep.c pciide_common
119 attach mcclock at isa with mcclock_isa
120 file arch/algor/isa/mcclock_isa.c mcclock_isa
122 file arch/algor/isa/isadma_bounce.c isa & (algor_p5064 |
125 # ISA speaker generates keyboard beep
127 #attach isabeep at pcppi
129 # Floppy disk controller
130 device fdc { drive = -1 }: isadma
131 file dev/isa/fd.c fdc needs-flag
133 attach fdc at isa with fdc_isa
134 file dev/isa/fdc_isa.c fdc_isa
139 # ISA Plug and Play devices
140 file arch/algor/isa/isapnp_machdep.c isapnp
142 # PCIC pcmcia controller
143 defparam PCIC_ISA_ALLOC_IOBASE
144 defparam PCIC_ISA_ALLOC_IOSIZE
145 defparam PCIC_ISA_INTR_ALLOC_MASK
147 device pcic: pcmciabus
148 file dev/ic/i82365.c pcic
150 # PCIC pcmcia controller on ISA bus.
151 attach pcic at isa with pcic_isa
152 file dev/isa/i82365_isa.c pcic_isa
154 # PCIC pcmcia controller on PnP board
155 attach pcic at isapnp with pcic_isapnp
156 file dev/isapnp/i82365_isapnp.c pcic_isapnp
158 # Code common to ISA and ISAPnP attachments
159 file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp
161 # Machine-independent PCMCIA drivers
162 include "dev/pcmcia/files.pcmcia"
165 # Devices on the P-4032 local I/O bus.
167 attach mcclock at mainbus with mcclock_mainbus
168 file arch/algor/dev/mcclock_mainbus.c mcclock_mainbus & algor_p4032
170 attach com at mainbus with com_mainbus
171 file arch/algor/dev/com_mainbus.c com_mainbus & algor_p4032
173 attach lpt at mainbus with lpt_mainbus
174 file arch/algor/dev/lpt_mainbus.c lpt_mainbus & algor_p4032
176 include "arch/algor/conf/majors.algor"