1 # $NetBSD: files.algor,v 1.19.6.1 2006/04/22 11:37:10 simonb 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/clock.c 39 file arch/algor/algor/disksubr.c 40 file arch/algor/algor/interrupt.c 41 file arch/algor/algor/led.c 42 file arch/algor/algor/machdep.c 43 file arch/algor/algor/pmon.c 44 45 file arch/mips/mips/softintr.c 46 47 # 48 # The autoconfiguration root. 49 # 50 device mainbus { [addr = -1] } 51 attach mainbus at root 52 file arch/algor/dev/mainbus.c mainbus 53 54 device cpu 55 attach cpu at mainbus 56 file arch/algor/algor/cpu.c cpu 57 58 device mcclock 59 file arch/algor/dev/mcclock.c mcclock 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 WS console drivers 78 # 79 include "dev/wscons/files.wscons" 80 81 # 82 # Machine-independent PC-style keyboard controller drivers 83 # 84 include "dev/pckbport/files.pckbport" 85 86 # 87 # Machine-independent USB device support 88 # 89 include "dev/usb/files.usb" 90 91 # Memory Disk 92 file dev/md_root.c memory_disk_hooks 93 94 # Console glue. 95 file dev/cons.c 96 97 include "dev/pci/files.pci" 98 include "dev/isa/files.isa" 99 100 # 101 # PCI bus support. 102 # 103 device vtpbc: pcibus 104 file arch/algor/pci/vtpbc.c vtpbc 105 106 attach vtpbc at mainbus with vtpbc_mainbus 107 file arch/algor/dev/vtpbc_mainbus.c vtpbc_mainbus 108 109 device bonito: pcibus 110 file arch/mips/bonito/bonito_pci.c bonito 111 file arch/mips/bonito/bonito_iobc.c bonito 112 113 attach bonito at mainbus with bonito_mainbus 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/algor/pci/pciide_machdep.c pciide_common 122 123 # 124 # ISA bus support. 125 # 126 attach mcclock at isa with mcclock_isa 127 file arch/algor/isa/mcclock_isa.c mcclock_isa 128 129 file arch/algor/isa/isadma_bounce.c isa & (algor_p5064 | 130 algor_p6032) 131 132 # ISA speaker generates keyboard beep 133 #device isabeep 134 #attach isabeep at pcppi 135 136 # Floppy disk controller 137 device fdc { drive = -1 }: isadma 138 file dev/isa/fd.c fdc needs-flag 139 140 attach fdc at isa with fdc_isa 141 file dev/isa/fdc_isa.c fdc_isa 142 143 device fd: disk 144 attach fd at fdc 145 146 # ISA Plug and Play devices 147 file arch/algor/isa/isapnp_machdep.c isapnp 148 149 # PCIC pcmcia controller 150 defparam PCIC_ISA_ALLOC_IOBASE 151 defparam PCIC_ISA_ALLOC_IOSIZE 152 defparam PCIC_ISA_INTR_ALLOC_MASK 153 154 device pcic: pcmciabus 155 file dev/ic/i82365.c pcic 156 157 # PCIC pcmcia controller on ISA bus. 158 attach pcic at isa with pcic_isa 159 file dev/isa/i82365_isa.c pcic_isa 160 161 # PCIC pcmcia controller on PnP board 162 attach pcic at isapnp with pcic_isapnp 163 file dev/isapnp/i82365_isapnp.c pcic_isapnp 164 165 # Code common to ISA and ISAPnP attachments 166 file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp 167 168 # Machine-independent PCMCIA drivers 169 include "dev/pcmcia/files.pcmcia" 170 171 # 172 # Devices on the P-4032 local I/O bus. 173 # 174 attach mcclock at mainbus with mcclock_mainbus 175 file arch/algor/dev/mcclock_mainbus.c mcclock_mainbus & algor_p4032 176 177 attach com at mainbus with com_mainbus 178 file arch/algor/dev/com_mainbus.c com_mainbus & algor_p4032 179 180 attach lpt at mainbus with lpt_mainbus 181 file arch/algor/dev/lpt_mainbus.c lpt_mainbus & algor_p4032 182 183 include "arch/algor/conf/majors.algor" 184