1 # $NetBSD: files.algor,v 1.29.2.1 2012/10/30 17:18:39 yamt Exp $ 2 3 # Algorithmics evaluation board specific configuration info. 4 5 ifndef evbmips 6 # maxpartitions must be the first item in files.${ARCH} 7 maxpartitions 8 8 9 maxusers 8 16 64 10 11 # Platform support option headers. 12 defflag ALGOR_P4032 # Algorithmics P-4032 13 defflag ALGOR_P5064 # Algorithmics P-5064 14 defflag ALGOR_P6032 # Algorithmics P-6032 15 16 # Various items that a buggy PMON might not provide us. 17 defparam MEMSIZE 18 defparam ETHADDR 19 endif 20 21 # Platform support files 22 file arch/algor/algor/algor_p4032_bus_io.c algor_p4032 23 file arch/algor/algor/algor_p4032_bus_locio.c algor_p4032 24 file arch/algor/algor/algor_p4032_bus_mem.c algor_p4032 25 file arch/algor/algor/algor_p4032_dma.c algor_p4032 26 file arch/algor/algor/algor_p4032_intr.c algor_p4032 27 28 file arch/algor/algor/algor_p5064_bus_io.c algor_p5064 29 file arch/algor/algor/algor_p5064_bus_mem.c algor_p5064 30 file arch/algor/algor/algor_p5064_dma.c algor_p5064 31 file arch/algor/algor/algor_p5064_intr.c algor_p5064 32 33 file arch/algor/algor/algor_p6032_bus_io.c algor_p6032 34 file arch/algor/algor/algor_p6032_bus_mem.c algor_p6032 35 file arch/algor/algor/algor_p6032_dma.c algor_p6032 36 file arch/algor/algor/algor_p6032_intr.c algor_p6032 37 38 file arch/algor/algor/autoconf.c 39 file arch/algor/algor/algor_intr.c 40 file arch/algor/algor/led.c 41 file arch/algor/algor/machdep.c 42 file arch/algor/algor/pmon.c 43 44 ifdef evbmips 45 file arch/evbmips/evbmips/interrupt.c 46 endif 47 file arch/evbmips/evbmips/disksubr.c 48 49 file arch/mips/mips/bus_dma.c 50 file arch/mips/mips/mips3_clock.c 51 file arch/mips/mips/mips3_clockintr.c 52 53 file dev/bus_dma/bus_dmamem_common.c 54 55 # 56 # The autoconfiguration root. 57 # 58 device mainbus { [addr = -1] } 59 attach mainbus at root 60 file arch/algor/dev/mainbus.c mainbus 61 62 device cpu 63 attach cpu at mainbus 64 file arch/evbmips/evbmips/cpu.c cpu 65 66 device mcclock: mc146818 67 68 # 69 # Machine-independent I2O drivers. 70 # 71 include "dev/i2o/files.i2o" 72 73 # 74 # Machine-independent SCSI drivers 75 # 76 include "dev/scsipi/files.scsipi" 77 78 # 79 # Machine-independent ATA drivers 80 # 81 include "dev/ata/files.ata" 82 83 # 84 # Machine-independent PC-style keyboard controller drivers 85 # 86 include "dev/pckbport/files.pckbport" 87 88 # 89 # Machine-independent USB device support 90 # 91 include "dev/usb/files.usb" 92 93 # Memory Disk 94 file dev/md_root.c memory_disk_hooks 95 96 # Console glue. 97 ifndef evbmips 98 file dev/cons.c 99 endif 100 101 include "dev/pci/files.pci" 102 include "dev/isa/files.isa" 103 104 # 105 # PCI bus support. 106 # 107 device vtpbc: pcibus 108 file arch/algor/pci/vtpbc.c vtpbc 109 110 attach vtpbc at mainbus with vtpbc_mainbus 111 file arch/algor/dev/vtpbc_mainbus.c vtpbc_mainbus 112 113 include "arch/mips/conf/files.bonito" 114 file arch/algor/dev/bonito_mainbus.c bonito_mainbus 115 116 device pcib: isabus 117 attach pcib at pci 118 file arch/algor/pci/pcib.c pcib & (algor_p5064 | 119 algor_p6032) 120 121 file arch/mips/pci/pciide_machdep.c pciide_common 122 123 # 124 # ISA bus support. 125 # 126 attach mcclock at isa with mcclock_isa 127 file arch/evbmips/isa/mcclock_isa.c mcclock_isa 128 129 file arch/evbmips/isa/isadma_bounce.c isa & (algor_p5064|algor_p6032) 130 131 # ISA speaker generates keyboard beep 132 #device isabeep 133 #attach isabeep at pcppi 134 135 # Floppy disk controller 136 device fdc { drive = -1 }: isadma 137 file dev/isa/fd.c fdc needs-flag 138 139 attach fdc at isa with fdc_isa 140 file dev/isa/fdc_isa.c fdc_isa 141 142 device fd: disk 143 attach fd at fdc 144 145 # ISA Plug and Play devices 146 file arch/algor/isa/isapnp_machdep.c isapnp 147 148 # PCIC pcmcia controller 149 defparam PCIC_ISA_ALLOC_IOBASE 150 defparam PCIC_ISA_ALLOC_IOSIZE 151 defparam PCIC_ISA_INTR_ALLOC_MASK 152 153 device pcic: pcmciabus 154 file dev/ic/i82365.c pcic 155 156 # PCIC pcmcia controller on ISA bus. 157 attach pcic at isa with pcic_isa 158 file dev/isa/i82365_isa.c pcic_isa 159 160 # PCIC pcmcia controller on PnP board 161 attach pcic at isapnp with pcic_isapnp 162 file dev/isapnp/i82365_isapnp.c pcic_isapnp 163 164 # Code common to ISA and ISAPnP attachments 165 file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp 166 167 # Machine-independent PCMCIA drivers 168 include "dev/pcmcia/files.pcmcia" 169 170 # 171 # Devices on the P-4032 local I/O bus. 172 # 173 attach mcclock at mainbus with mcclock_mainbus 174 file arch/algor/dev/mcclock_mainbus.c mcclock_mainbus & algor_p4032 175 176 attach com at mainbus with com_mainbus 177 file arch/algor/dev/com_mainbus.c com_mainbus & algor_p4032 178 179 attach lpt at mainbus with lpt_mainbus 180 file arch/algor/dev/lpt_mainbus.c lpt_mainbus & algor_p4032 181 182 ifndef evbmips 183 include "arch/algor/conf/majors.algor" 184 endif 185