1 # $NetBSD: files.algor,v 1.7.8.5 2002/04/01 07:38:48 nathanw 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 dev/clock_subr.c 40 file arch/algor/algor/conf.c 41 file arch/algor/algor/disksubr.c 42 file arch/algor/algor/interrupt.c 43 file arch/algor/algor/led.c 44 file arch/algor/algor/machdep.c 45 file arch/algor/algor/pmon.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 MII/PHY drivers. 63 # 64 include "dev/mii/files.mii" 65 66 # 67 # Machine-independent I2O drivers. 68 # 69 include "dev/i2o/files.i2o" 70 71 # 72 # Machine-independent SCSI drivers 73 # 74 include "dev/scsipi/files.scsipi" 75 major { cd = 3 } 76 major { sd = 8 } 77 78 # 79 # Machine-independent ATA drivers 80 # 81 include "dev/ata/files.ata" 82 major { wd = 4 } 83 84 # 85 # Machine-independent WS console drivers 86 # 87 include "dev/wscons/files.wscons" 88 89 # 90 # Machine-independent PC-style keyboard controller drivers 91 # 92 include "dev/pckbc/files.pckbc" 93 94 # 95 # Machine-independent USB device support 96 # 97 include "dev/usb/files.usb" 98 99 # Memory Disk 100 file dev/md_root.c memory_disk_hooks 101 major { md = 6 } 102 103 # RAIDframe 104 major { raid = 16 } 105 106 # Logical disks 107 major { ld = 17 } 108 109 # Console glue. 110 file dev/cons.c 111 112 include "dev/pci/files.pci" 113 include "dev/isa/files.isa" 114 115 # 116 # PCI bus support. 117 # 118 device vtpbc: pcibus 119 file arch/algor/pci/vtpbc.c vtpbc 120 121 attach vtpbc at mainbus with vtpbc_mainbus 122 file arch/algor/dev/vtpbc_mainbus.c vtpbc_mainbus 123 124 device bonito: pcibus 125 file arch/mips/bonito/bonito_pci.c bonito 126 file arch/mips/bonito/bonito_iobc.c bonito 127 128 attach bonito at mainbus with bonito_mainbus 129 file arch/algor/dev/bonito_mainbus.c bonito_mainbus 130 131 device pcib: isabus 132 attach pcib at pci 133 file arch/algor/pci/pcib.c pcib & (algor_p5064 | 134 algor_p6032) 135 136 file arch/algor/pci/pciide_machdep.c pciide 137 138 # 139 # ISA bus support. 140 # 141 attach mcclock at isa with mcclock_isa 142 file arch/algor/isa/mcclock_isa.c mcclock_isa 143 144 file arch/algor/isa/isadma_bounce.c isa & (algor_p5064 | 145 algor_p6032) 146 147 # ISA speaker generates keyboard beep 148 #device isabeep 149 #attach isabeep at pcppi 150 151 # Floppy disk controller 152 device fdc { drive = -1 }: isadma 153 file dev/isa/fd.c fdc needs-flag 154 155 attach fdc at isa with fdc_isa 156 file dev/isa/fdc_isa.c fdc_isa 157 158 device fd: disk 159 attach fd at fdc 160 major { fd = 0 } 161 162 # ISA Plug and Play devices 163 file arch/algor/isa/isapnp_machdep.c isapnp 164 165 # PCIC pcmcia controller 166 defparam PCIC_ISA_ALLOC_IOBASE 167 defparam PCIC_ISA_ALLOC_IOSIZE 168 defparam PCIC_ISA_INTR_ALLOC_MASK 169 170 device pcic: pcmciabus 171 file dev/ic/i82365.c pcic 172 173 # PCIC pcmcia controller on ISA bus. 174 attach pcic at isa with pcic_isa 175 file dev/isa/i82365_isa.c pcic_isa 176 177 # PCIC pcmcia controller on PnP board 178 attach pcic at isapnp with pcic_isapnp 179 file dev/isapnp/i82365_isapnp.c pcic_isapnp 180 181 # Code common to ISA and ISAPnP attachments 182 file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp 183 184 # Machine-independent PCMCIA drivers 185 include "dev/pcmcia/files.pcmcia" 186 187 # 188 # Devices on the P-4032 local I/O bus. 189 # 190 attach mcclock at mainbus with mcclock_mainbus 191 file arch/algor/dev/mcclock_mainbus.c mcclock_mainbus & algor_p4032 192 193 attach com at mainbus with com_mainbus 194 file arch/algor/dev/com_mainbus.c com_mainbus & algor_p4032 195 196 attach lpt at mainbus with lpt_mainbus 197 file arch/algor/dev/lpt_mainbus.c lpt_mainbus & algor_p4032 198