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