files.i386 revision 1.96
1# $NetBSD: files.i386,v 1.96 1998/01/12 18:59:04 thorpej Exp $ 2# 3# new style config file for i386 architecture 4# 5 6# maxpartitions must be first item in files.${ARCH}.newconf 7maxpartitions 8 8 9maxusers 2 16 64 10 11file arch/i386/i386/autoconf.c 12file arch/i386/i386/conf.c 13file arch/i386/i386/db_disasm.c ddb 14file arch/i386/i386/db_interface.c ddb 15file arch/i386/i386/db_memrw.c ddb | kgdb 16file arch/i386/i386/db_trace.c ddb 17file arch/i386/i386/disksubr.c disk 18file arch/i386/i386/gdt.c 19file arch/i386/i386/in_cksum.s inet 20file arch/i386/i386/kgdb_machdep.c kgdb 21file arch/i386/i386/machdep.c 22file arch/i386/i386/math_emulate.c math_emulate 23file arch/i386/i386/mem.c 24file arch/i386/i386/microtime.s 25file arch/i386/i386/ns_cksum.c ns 26file arch/i386/i386/pmap.c 27file arch/i386/i386/process_machdep.c 28file arch/i386/i386/random.s 29file arch/i386/i386/sys_machdep.c 30file arch/i386/i386/trap.c 31file arch/i386/i386/vm_machdep.c 32file dev/cons.c 33major {vnd = 14} 34 35# 36# Machine-independent SCSI drivers 37# 38 39include "../../../dev/scsipi/files.scsipi" 40major {sd = 4} 41major {st = 5} 42major {cd = 6} 43 44# Memory Disk for install floppy 45file arch/i386/i386/md_root.c memory_disk_hooks 46major {md = 17} 47 48# 49# System bus types 50# 51 52define mainbus { } 53device mainbus class dull: isabus, eisabus, pcibus, mainbus 54attach mainbus at root 55file arch/i386/i386/mainbus.c mainbus 56 57# attribute used to bring in BIOS trampoline code for real-mode probing 58# of certain devices/BIOS features 59define bioscall 60file arch/i386/i386/bioscall.s bioscall needs-flag 61 62#device mca at root {...} 63 64# 65# PCI-only drivers 66# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 67# XXX devices to 'pci'. 68# 69 70include "../../../dev/pci/files.pci" 71file arch/i386/pci/pci_machdep.c pci 72 73# PCI-Host bridge chipsets 74device pchb class dull: pcibus 75attach pchb at pci 76file arch/i386/pci/pchb.c pchb 77 78# PCI-ISA bridges 79device pcib class dull: isabus 80attach pcib at pci 81file arch/i386/pci/pcib.c pcib 82 83# 84# ISA and mixed ISA+EISA or ISA+PCI drivers 85# 86 87include "../../../dev/isa/files.isa" 88major {mcd = 7} 89#major {scd = 15} 90major {wd = 0} 91major {wt = 3} 92 93file arch/i386/isa/isa_machdep.c isa 94 95# PC clock 96file arch/i386/isa/clock.c isa 97 98# Numeric Processing Extension; Math Co-processor 99device npx class dull 100attach npx at isa 101file arch/i386/isa/npx.c npx needs-flag 102 103# attribute used to represent the "keyboard controller" 104# XXX should be a real device 105define pckbd { [irq = -1], [port = -1] } 106 107# PC console support a la "pccons" 108device pc class tty: tty, pckbd 109attach pc at isa 110file arch/i386/isa/pccons.c pc needs-flag 111 112# PC console support a la "pcvt" 113device vt class tty: tty, pckbd 114attach vt at isa 115file arch/i386/isa/pcvt/pcvt_drv.c vt needs-flag 116file arch/i386/isa/pcvt/pcvt_ext.c vt needs-flag 117file arch/i386/isa/pcvt/pcvt_kbd.c vt needs-flag 118file arch/i386/isa/pcvt/pcvt_out.c vt needs-flag 119file arch/i386/isa/pcvt/pcvt_sup.c vt needs-flag 120file arch/i386/isa/pcvt/pcvt_vtf.c vt needs-flag 121 122# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 123device lms class dull 124attach lms at isa 125file arch/i386/isa/lms.c lms needs-flag 126device mms class dull 127attach mms at isa 128file arch/i386/isa/mms.c mms needs-flag 129device pms class dull 130attach pms at pckbd 131file arch/i386/isa/pms.c pms needs-flag 132 133# Floppy disk controller 134device fdc class dull {drive = -1} 135attach fdc at isa 136device fd class disk: disk, isadma 137attach fd at fdc 138file arch/i386/isa/fd.c fdc needs-flag 139major {fd = 2} 140 141# PC speaker 142device spkr class dull: tty 143attach spkr at pckbd 144file arch/i386/isa/spkr.c spkr needs-flag 145 146# Game adapter (joystick) 147device joy class dull 148file arch/i386/isa/joy.c joy needs-flag 149 150attach joy at isa with joy_isa 151file arch/i386/isa/joy_isa.c joy_isa 152 153# Adaptec AHA-284x VL SCSI controllers 154# device declaration in sys/conf/files 155attach ahc at isa with ahc_isa 156file arch/i386/isa/ahc_isa.c ahc_isa 157 158# 159# EISA-only drivers 160# 161 162include "../../../dev/eisa/files.eisa" 163file arch/i386/eisa/eisa_machdep.c eisa 164 165# ISA Plug 'n Play devices 166# IT IS IMPORTANT THAT THIS IS INCLUDED AFTER ALL ISA DEVICES! 167# DO NOT MOVE IT! (Thanks, The Mgmt.) 168include "dev/isapnp/files.isapnp" 169file arch/i386/isa/isapnp_machdep.c isapnp 170 171attach joy at isapnp with joy_isapnp 172file arch/i386/isa/joy_isapnp.c joy_isapnp 173 174# 175# Other mainbus-attached devices 176# 177 178# Advanced Power Management support (APM) 179device apm class dull: bioscall 180attach apm at mainbus 181file arch/i386/i386/apm.c apm needs-count 182file arch/i386/i386/apmcall.s apm 183 184# 185# Compatibility modules 186# 187 188# VM86 mode 189file arch/i386/i386/vm86.c vm86 190 191# SVR4 binary compatibility (COMPAT_SVR4) 192include "../../../compat/svr4/files.svr4" 193file arch/i386/i386/svr4_machdep.c compat_svr4 194 195# iBCS-2 binary compatibility (COMPAT_IBCS2) 196include "../../../compat/ibcs2/files.ibcs2" 197file arch/i386/i386/ibcs2_machdep.c compat_ibcs2 198 199# Linux binary compatibility (COMPAT_LINUX) 200include "../../../compat/linux/files.linux" 201file arch/i386/i386/linux_machdep.c compat_linux 202 203# FreeBSD binary compatibility (COMPAT_FREEBSD) 204include "../../../compat/freebsd/files.freebsd" 205file arch/i386/i386/freebsd_machdep.c compat_freebsd 206 207# OSS audio driver compatibility 208include "../../../compat/ossaudio/files.ossaudio" 209 210# network devices MII bus 211include "../../../dev/mii/files.mii" 212 213# XXXX pcic here because it needs to be late. The catch: pcic needs 214# to be late, so devices which attach to it are attached late. But it 215# needs to be before its isa and pci attachments. This answer is 216# non-optimal, but I don't have a better answer right now. 217 218# PCIC pcmcia contoller 219# XXX this needs to be done very late, so it's done here. This feels 220# like a kludge, but it might be for the best. 221 222defopt PCIC_ISA_ALLOC_IOBASE 223defopt PCIC_ISA_ALLOC_IOSIZE 224defopt PCIC_ISA_INTR_ALLOC_MASK 225 226device pcic class dull {[controller = -1], [socket = -1]} 227file dev/ic/i82365.c pcic 228 229# PCIC pcmcia contoller 230attach pcic at isa with pcic_isa 231file dev/isa/i82365_isa.c pcic_isa 232 233# PCIC pcmcia contoller 234attach pcic at pci with pcic_pci 235file dev/pci/i82365_pci.c pcic_pci 236 237 238# this wants to be probed as late as possible. 239# 240# Machine-independent PCMCIA drivers 241# 242include "dev/pcmcia/files.pcmcia" 243 244 245