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