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