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