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