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