1 # $NetBSD: files.algor,v 1.4 2001/06/14 16:14:37 thorpej 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 defopt ALGOR_P4032 # Algorithmics P-4032 12 defopt ALGOR_P5064 # Algorithmics P-5064 13 defopt ALGOR_P6032 # Algorithmics P-6032 14 15 # Various items that a buggy PMON might not provide us. 16 defopt MEMSIZE 17 defopt 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/autoconf.c 32 file arch/algor/algor/bus_dma.c 33 file arch/algor/algor/clock.c 34 file dev/clock_subr.c 35 file arch/algor/algor/conf.c 36 file arch/algor/algor/disksubr.c 37 file arch/algor/algor/interrupt.c 38 file arch/algor/algor/led.c 39 file arch/algor/algor/machdep.c 40 file arch/algor/algor/pmon.c 41 42 file arch/algor/algor/procfs_machdep.c procfs 43 44 # 45 # The autoconfiguration root. 46 # 47 device mainbus { [addr = -1] } 48 attach mainbus at root 49 file arch/algor/dev/mainbus.c mainbus 50 51 device cpu 52 attach cpu at mainbus 53 file arch/algor/algor/cpu.c cpu 54 55 device mcclock 56 file arch/algor/dev/mcclock.c mcclock 57 58 # 59 # Machine-independent MII/PHY drivers. 60 # 61 include "dev/mii/files.mii" 62 63 # 64 # Machine-independent I2O drivers. 65 # 66 include "dev/i2o/files.i2o" 67 68 # 69 # Machine-independent SCSI drivers 70 # 71 include "dev/scsipi/files.scsipi" 72 major { cd = 3 } 73 major { sd = 8 } 74 75 # 76 # Machine-independent ATA drivers 77 # 78 include "dev/ata/files.ata" 79 major { wd = 4 } 80 81 # 82 # Machine-independent WS console drivers 83 # 84 include "dev/wscons/files.wscons" 85 86 # 87 # Machine-independent PC-style keyboard controller drivers 88 # 89 include "dev/pckbc/files.pckbc" 90 91 # 92 # Machine-independent USB device support 93 # 94 include "dev/usb/files.usb" 95 96 # Memory Disk 97 file dev/md_root.c memory_disk_hooks 98 major { md = 6 } 99 100 # RAIDframe 101 major { raid = 16 } 102 103 # Logical disks 104 major { ld = 17 } 105 106 # Console glue. 107 file dev/cons.c 108 109 include "dev/pci/files.pci" 110 include "dev/isa/files.isa" 111 112 # 113 # PCI bus support. 114 # 115 device vtpbc: pcibus 116 file arch/algor/pci/vtpbc.c vtpbc 117 118 attach vtpbc at mainbus with vtpbc_mainbus 119 file arch/algor/dev/vtpbc_mainbus.c vtpbc_mainbus 120 121 device pcib: isabus 122 attach pcib at pci 123 file arch/algor/pci/pcib.c pcib & algor_p5064 124 125 file arch/algor/pci/pciide_machdep.c pciide 126 127 # 128 # ISA bus support. 129 # 130 attach mcclock at isa with mcclock_isa 131 file arch/algor/isa/mcclock_isa.c mcclock_isa 132 133 file arch/algor/isa/isadma_bounce.c isa & algor_p5064 134 135 # ISA speaker generates keyboard beep 136 #device isabeep 137 #attach isabeep at pcppi 138 139 # Floppy disk controller 140 device fdc { drive = -1 }: isadma 141 file dev/isa/fd.c fdc needs-flag 142 143 attach fdc at isa with fdc_isa 144 file dev/isa/fdc_isa.c fdc_isa 145 146 device fd: disk 147 attach fd at fdc 148 major { fd = 0 } 149 150 # ISA Plug and Play devices 151 file arch/algor/isa/isapnp_machdep.c isapnp 152 153 # PCIC pcmcia controller 154 defopt PCIC_ISA_ALLOC_IOBASE 155 defopt PCIC_ISA_ALLOC_IOSIZE 156 defopt PCIC_ISA_INTR_ALLOC_MASK 157 158 device pcic: pcmciabus 159 file dev/ic/i82365.c pcic 160 161 # PCIC pcmcia controller on ISA bus. 162 attach pcic at isa with pcic_isa 163 file dev/isa/i82365_isa.c pcic_isa 164 165 # PCIC pcmcia controller on PnP board 166 attach pcic at isapnp with pcic_isapnp 167 file dev/isapnp/i82365_isapnp.c pcic_isapnp 168 169 # Code common to ISA and ISAPnP attachments 170 file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp 171 172 # Machine-independent PCMCIA drivers 173 include "dev/pcmcia/files.pcmcia" 174 175 # 176 # Devices on the P-4032 local I/O bus. 177 # 178 attach mcclock at mainbus with mcclock_mainbus 179 file arch/algor/dev/mcclock_mainbus.c mcclock_mainbus & algor_p4032 180 181 attach com at mainbus with com_mainbus 182 file arch/algor/dev/com_mainbus.c com_mainbus & algor_p4032 183 184 attach lpt at mainbus with lpt_mainbus 185 file arch/algor/dev/lpt_mainbus.c lpt_mainbus & algor_p4032 186