1 # $OpenBSD: files.arc,v 1.21 1999/09/11 10:20:20 niklas Exp $ 2 # 3 # maxpartitions must be first item in files.${ARCH} 4 # 5 maxpartitions 16 6 7 maxusers 2 8 64 8 9 # Required files 10 11 file arch/arc/arc/autoconf.c 12 file arch/arc/arc/conf.c 13 file arch/arc/dev/dma.c 14 file arch/arc/arc/machdep.c 15 file arch/arc/arc/pmap.c 16 file arch/arc/arc/trap.c 17 18 file arch/mips/mips/arcbios.c 19 20 # 21 # Machine-independent ATAPI drivers 22 # 23 24 include "../../../dev/atapiscsi/files.atapiscsi" 25 include "../../../dev/ata/files.ata" 26 27 # 28 # System BUS types 29 # 30 define mainbus {} 31 device mainbus 32 attach mainbus at root 33 file arch/mips/mips/mainbus.c mainbus 34 35 # Our CPU configurator 36 device cpu 37 attach cpu at mainbus # not optional 38 file arch/mips/mips/cpu.c cpu 39 40 # 41 # PICA bus autoconfiguration devices 42 # 43 device pica {} 44 attach pica at mainbus # optional 45 file arch/arc/pica/picabus.c pica 46 47 # 48 # ALGOR bus autoconfiguration devices 49 # 50 device algor {} 51 attach algor at mainbus # optional 52 file arch/arc/algor/algorbus.c algor 53 54 # 55 # ISA Bus bridge 56 # 57 device isabr {} : isabus 58 attach isabr at mainbus # optional 59 file arch/arc/isa/isabus.c isabr 60 61 # 62 # PCI Bus bridge 63 # 64 device pbcpcibr {} : pcibus 65 attach pbcpcibr at mainbus # optional 66 file arch/arc/pci/pbcpcibus.c pbcpcibr 67 68 # Ethernet chip on PICA bus 69 device sn 70 attach sn at pica: ifnet, ether 71 file arch/arc/dev/if_sn.c sn needs-count 72 73 # Use machine independent SCSI driver routines 74 include "../../../scsi/files.scsi" 75 major {sd = 0} 76 major {cd = 3} 77 78 # Symbios 53C94 SCSI interface driver on PICA bus 79 device asc: scsi 80 attach asc at pica 81 file arch/arc/dev/asc.c asc needs-count 82 83 # Floppy disk controller on PICA bus 84 device fdc {drive = -1} 85 attach fdc at pica 86 device fd: disk 87 attach fd at fdc 88 file arch/arc/dev/fd.c fdc needs-flag 89 major {fd = 7} 90 91 # 92 # Stock ISA bus support 93 # 94 define pcmcia {} # XXX dummy decl... 95 96 include "../../../dev/pci/files.pci" 97 include "../../../dev/isa/files.isa" 98 major { wd = 4 } 99 100 # Real time clock, must have one.. 101 device clock 102 attach clock at pica with clock_pica 103 attach clock at isa with clock_isa 104 attach clock at algor with clock_algor 105 file arch/arc/arc/clock_mc.c clock & (clock_isa | clock_pica | clock_algor) needs-flag 106 107 # Console driver on PC-style graphics 108 device pc: tty 109 attach pc at pica with pc_pica 110 attach pc at isa with pc_isa 111 device pms: tty 112 attach pms at pica 113 file arch/arc/dev/pccons.c pc & (pc_pica | pc_isa) needs-flag 114 115 # BusLogic BT-445C VLB SCSI Controller. Special on TYNE local bus. 116 device btl: scsi 117 attach btl at isa 118 file arch/arc/dti/btl.c btl needs-count 119 120 # 8250/16[45]50-based "com" ports 121 attach com at pica with com_pica 122 attach com at algor with com_algor 123 file arch/arc/dev/com_lbus.c com & (com_pica | com_algor) 124 125 # Game adapter (joystick) 126 device joy 127 attach joy at isa 128 file arch/arc/isa/joy.c joy needs-flag 129 130 # PC parallel ports (XXX what chip?) 131 attach lpt at pica with lpt_pica 132 attach lpt at algor with lpt_algor 133 file arch/arc/dev/lpt_lbus.c lpt & (lpt_pica | lpt_algor) 134 135 136 # 137 # PCI Bus support 138 # 139 140 # PCI VGA display driver 141 device pcivga: tty 142 attach pcivga at pci 143 file arch/arc/pci/pci_vga.c pcivga 144 145 # 146 # ISA PnP 147 # 148 149 include "../../../dev/isa/files.isapnp" 150 file arch/arc/isa/isapnp_machdep.c isapnp 151 152 # 153 # Specials. 154 # 155 # RAM disk for boot tape 156 pseudo-device rd 157 file dev/ramdisk.c rd needs-flag 158 file arch/arc/dev/rd_root.c ramdisk_hooks 159 major {rd = 8} 160 161 # 162 # Common files 163 # 164 165 file dev/cons.c 166 file dev/cninit.c 167 file netinet/in_cksum.c 168 file netns/ns_cksum.c ns 169 170 file compat/ultrix/ultrix_misc.c compat_ultrix 171 file compat/ultrix/ultrix_syscalls.c compat_ultrix 172 file compat/ultrix/ultrix_sysent.c compat_ultrix 173 174