1 # $NetBSD: files.algor,v 1.3 2001/06/10 08:45:09 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 # Platform support files 16 file arch/algor/algor/algor_p4032_bus_io.c algor_p4032 17 file arch/algor/algor/algor_p4032_bus_locio.c algor_p4032 18 file arch/algor/algor/algor_p4032_bus_mem.c algor_p4032 19 file arch/algor/algor/algor_p4032_dma.c algor_p4032 20 file arch/algor/algor/algor_p4032_intr.c algor_p4032 21 22 file arch/algor/algor/algor_p5064_bus_io.c algor_p5064 23 file arch/algor/algor/algor_p5064_bus_mem.c algor_p5064 24 file arch/algor/algor/algor_p5064_dma.c algor_p5064 25 file arch/algor/algor/algor_p5064_intr.c algor_p5064 26 27 file arch/algor/algor/autoconf.c 28 file arch/algor/algor/bus_dma.c 29 file arch/algor/algor/clock.c 30 file dev/clock_subr.c 31 file arch/algor/algor/conf.c 32 file arch/algor/algor/disksubr.c 33 file arch/algor/algor/interrupt.c 34 file arch/algor/algor/led.c 35 file arch/algor/algor/machdep.c 36 file arch/algor/algor/pmon.c 37 38 file arch/algor/algor/procfs_machdep.c procfs 39 40 # 41 # The autoconfiguration root. 42 # 43 device mainbus { [addr = -1] } 44 attach mainbus at root 45 file arch/algor/dev/mainbus.c mainbus 46 47 device cpu 48 attach cpu at mainbus 49 file arch/algor/algor/cpu.c cpu 50 51 device mcclock 52 file arch/algor/dev/mcclock.c mcclock 53 54 # 55 # Machine-independent MII/PHY drivers. 56 # 57 include "dev/mii/files.mii" 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 major { cd = 3 } 69 major { sd = 8 } 70 71 # 72 # Machine-independent ATA drivers 73 # 74 include "dev/ata/files.ata" 75 major { wd = 4 } 76 77 # 78 # Machine-independent WS console drivers 79 # 80 include "dev/wscons/files.wscons" 81 82 # 83 # Machine-independent PC-style keyboard controller drivers 84 # 85 include "dev/pckbc/files.pckbc" 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 major { md = 6 } 95 96 # RAIDframe 97 major { raid = 16 } 98 99 # Logical disks 100 major { ld = 17 } 101 102 # Console glue. 103 file dev/cons.c 104 105 include "dev/pci/files.pci" 106 include "dev/isa/files.isa" 107 108 # 109 # PCI bus support. 110 # 111 device vtpbc: pcibus 112 file arch/algor/pci/vtpbc.c vtpbc 113 114 attach vtpbc at mainbus with vtpbc_mainbus 115 file arch/algor/dev/vtpbc_mainbus.c vtpbc_mainbus 116 117 device pcib: isabus 118 attach pcib at pci 119 file arch/algor/pci/pcib.c pcib & algor_p5064 120 121 file arch/algor/pci/pciide_machdep.c pciide 122 123 # 124 # ISA bus support. 125 # 126 attach mcclock at isa with mcclock_isa 127 file arch/algor/isa/mcclock_isa.c mcclock_isa 128 129 file arch/algor/isa/isadma_bounce.c isa & algor_p5064 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 major { fd = 0 } 145 146 # ISA Plug and Play devices 147 file arch/algor/isa/isapnp_machdep.c isapnp 148 149 # PCIC pcmcia controller 150 defopt PCIC_ISA_ALLOC_IOBASE 151 defopt PCIC_ISA_ALLOC_IOSIZE 152 defopt PCIC_ISA_INTR_ALLOC_MASK 153 154 device pcic: pcmciabus 155 file dev/ic/i82365.c pcic 156 157 # PCIC pcmcia controller on ISA bus. 158 attach pcic at isa with pcic_isa 159 file dev/isa/i82365_isa.c pcic_isa 160 161 # PCIC pcmcia controller on PnP board 162 attach pcic at isapnp with pcic_isapnp 163 file dev/isapnp/i82365_isapnp.c pcic_isapnp 164 165 # Code common to ISA and ISAPnP attachments 166 file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp 167 168 # Machine-independent PCMCIA drivers 169 include "dev/pcmcia/files.pcmcia" 170 171 # 172 # Devices on the P-4032 local I/O bus. 173 # 174 attach mcclock at mainbus with mcclock_mainbus 175 file arch/algor/dev/mcclock_mainbus.c mcclock_mainbus & algor_p4032 176 177 attach com at mainbus with com_mainbus 178 file arch/algor/dev/com_mainbus.c com_mainbus & algor_p4032 179 180 attach lpt at mainbus with lpt_mainbus 181 file arch/algor/dev/lpt_mainbus.c lpt_mainbus & algor_p4032 182