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