1 # $NetBSD: files.algor,v 1.31 2014/07/20 10:22:54 alnsn 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 # Stack-less Just-In-Time compiler 70 # 71 include "external/bsd/sljit/conf/files.sljit" 72 73 # 74 # Machine-independent I2O drivers. 75 # 76 include "dev/i2o/files.i2o" 77 78 # 79 # Machine-independent SCSI drivers 80 # 81 include "dev/scsipi/files.scsipi" 82 83 # 84 # Machine-independent ATA drivers 85 # 86 include "dev/ata/files.ata" 87 88 # 89 # Machine-independent PC-style keyboard controller drivers 90 # 91 include "dev/pckbport/files.pckbport" 92 93 # 94 # Machine-independent USB device support 95 # 96 include "dev/usb/files.usb" 97 98 # Memory Disk 99 file dev/md_root.c memory_disk_hooks 100 101 # Console glue. 102 ifndef evbmips 103 file dev/cons.c 104 endif 105 106 include "dev/pci/files.pci" 107 include "dev/isa/files.isa" 108 109 # 110 # PCI bus support. 111 # 112 device vtpbc: pcibus 113 file arch/algor/pci/vtpbc.c vtpbc 114 115 attach vtpbc at mainbus with vtpbc_mainbus 116 file arch/algor/dev/vtpbc_mainbus.c vtpbc_mainbus 117 118 include "arch/mips/conf/files.bonito" 119 file arch/algor/dev/bonito_mainbus.c bonito_mainbus 120 121 device pcib: isabus 122 attach pcib at pci 123 file arch/algor/pci/pcib.c pcib & (algor_p5064 | 124 algor_p6032) 125 126 file arch/mips/pci/pciide_machdep.c pciide_common 127 128 # 129 # ISA bus support. 130 # 131 attach mcclock at isa with mcclock_isa 132 file arch/evbmips/isa/mcclock_isa.c mcclock_isa 133 134 file arch/evbmips/isa/isadma_bounce.c isa & (algor_p5064|algor_p6032) 135 136 # ISA speaker generates keyboard beep 137 #device isabeep 138 #attach isabeep at pcppi 139 140 # Floppy disk controller 141 device fdc { drive = -1 }: isadma 142 file dev/isa/fd.c fdc needs-flag 143 144 attach fdc at isa with fdc_isa 145 file dev/isa/fdc_isa.c fdc_isa 146 147 device fd: disk 148 attach fd at fdc 149 150 # ISA Plug and Play devices 151 file arch/algor/isa/isapnp_machdep.c isapnp 152 153 # PCIC pcmcia controller 154 defparam PCIC_ISA_ALLOC_IOBASE 155 defparam PCIC_ISA_ALLOC_IOSIZE 156 defparam PCIC_ISA_INTR_ALLOC_MASK 157 158 device pcic: pcmciabus 159 file dev/ic/i82365.c pcic 160 161 # PCIC pcmcia controller on ISA bus. 162 attach pcic at isa with pcic_isa 163 file dev/isa/i82365_isa.c pcic_isa 164 165 # PCIC pcmcia controller on PnP board 166 attach pcic at isapnp with pcic_isapnp 167 file dev/isapnp/i82365_isapnp.c pcic_isapnp 168 169 # Code common to ISA and ISAPnP attachments 170 file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp 171 172 # Machine-independent PCMCIA drivers 173 include "dev/pcmcia/files.pcmcia" 174 175 # 176 # Devices on the P-4032 local I/O bus. 177 # 178 attach mcclock at mainbus with mcclock_mainbus 179 file arch/algor/dev/mcclock_mainbus.c mcclock_mainbus & algor_p4032 180 181 attach com at mainbus with com_mainbus 182 file arch/algor/dev/com_mainbus.c com_mainbus & algor_p4032 183 184 attach lpt at mainbus with lpt_mainbus 185 file arch/algor/dev/lpt_mainbus.c lpt_mainbus & algor_p4032 186 187 ifndef evbmips 188 include "arch/algor/conf/majors.algor" 189 endif 190