files.i386 revision 1.124
1# $NetBSD: files.i386,v 1.124 1998/10/13 11:43:50 bouyer 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 11# Processor type options. 12defopt opt_cputype.h I386_CPU I486_CPU I586_CPU I686_CPU 13 14# delay before cpu_reset() for reboot. 15defopt CPURESET_DELAY 16 17# VM86 emulation 18defopt VM86 19 20# Floating point emulation 21defopt MATH_EMULATE 22 23# User-settable LDT (used by WINE) 24defopt USER_LDT 25 26# Speed hack; make NOPs dummies (might break on some machines) 27defopt DUMMY_NOPS 28 29# X server support in console drivers 30defopt opt_xserver.h XSERVER XSERVER_DDB 31 32file arch/i386/i386/autoconf.c 33file arch/i386/i386/conf.c 34file arch/i386/i386/db_dbgreg.s ddb 35file arch/i386/i386/db_disasm.c ddb 36file arch/i386/i386/db_interface.c ddb 37file arch/i386/i386/db_memrw.c ddb | kgdb 38file arch/i386/i386/db_trace.c ddb 39file arch/i386/i386/disksubr.c disk 40file arch/i386/i386/gdt.c 41file arch/i386/i386/in_cksum.s inet 42file arch/i386/i386/kgdb_machdep.c kgdb 43file arch/i386/i386/machdep.c 44file arch/i386/i386/math_emulate.c math_emulate 45file arch/i386/i386/mem.c 46file arch/i386/i386/microtime.s 47file arch/i386/i386/ns_cksum.c ns 48file arch/i386/i386/pmap.c !pmap_new 49file arch/i386/i386/pmap.new.c pmap_new 50file arch/i386/i386/process_machdep.c 51file arch/i386/i386/sys_machdep.c 52file arch/i386/i386/trap.c 53file arch/i386/i386/vm_machdep.c 54file dev/cons.c 55major {vnd = 14} 56 57# 58# Machine-independent SCSI drivers 59# 60 61include "dev/scsipi/files.scsipi" 62major {sd = 4} 63major {st = 5} 64major {cd = 6} 65 66# 67# Machine-independent ATA drivers 68# 69 70include "dev/ata/files.ata" 71major {wd = 0} 72 73# Memory Disk for install floppy 74file arch/i386/i386/md_root.c memory_disk_hooks 75major {md = 17} 76 77# 78# System bus types 79# 80 81define mainbus { } 82device mainbus: isabus, eisabus, pcibus, mainbus 83attach mainbus at root 84file arch/i386/i386/mainbus.c mainbus 85 86# attribute used to bring in BIOS trampoline code for real-mode probing 87# of certain devices/BIOS features 88define bioscall 89file arch/i386/i386/bioscall.s bioscall needs-flag 90 91#device mca at root {...} 92 93# 94# PCI-only drivers 95# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 96# XXX devices to 'pci'. 97# 98 99include "dev/pci/files.pci" 100file arch/i386/pci/pci_machdep.c pci 101file arch/i386/pci/pciide_machdep.c pciide 102 103# PCI-Host bridge chipsets 104device pchb: pcibus 105attach pchb at pci 106file arch/i386/pci/pchb.c pchb 107 108# PCI-EISA bridges 109device pceb: eisabus, isabus 110attach pceb at pci 111file arch/i386/pci/pceb.c pceb 112 113# PCI-ISA bridges 114device pcib: isabus 115attach pcib at pci 116file arch/i386/pci/pcib.c pcib 117 118# 119# ISA and mixed ISA+EISA or ISA+PCI drivers 120# 121 122include "dev/isa/files.isa" 123major {mcd = 7} 124#major {scd = 15} 125major {wt = 3} 126 127# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 128# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 129# XXX (when the conf/files and files.isa bogons are fixed, this can 130# XXX be fixed as well.) 131 132attach lpt at puc with lpt_puc 133file dev/pci/lpt_puc.c lpt_puc 134 135file arch/i386/isa/isa_machdep.c isa 136 137# PC clock 138file arch/i386/isa/clock.c isa 139 140# Numeric Processing Extension; Math Co-processor 141device npx 142attach npx at isa 143file arch/i386/isa/npx.c npx needs-flag 144 145# attribute used to represent the "keyboard controller" 146# XXX should be a real device 147define pckbcport { [irq = -1], [port = -1] } 148 149# PC console support a la "pccons" 150device pc: tty, pckbcport 151attach pc at isa 152device pcconskbd 153attach pcconskbd at pckbc 154file arch/i386/isa/pccons.c pc | pcconskbd needs-flag 155 156# PC console support a la "pcvt" 157device vt: tty, pckbcport 158attach vt at isa 159file arch/i386/isa/pcvt/pcvt_drv.c vt needs-flag 160file arch/i386/isa/pcvt/pcvt_ext.c vt needs-flag 161file arch/i386/isa/pcvt/pcvt_kbd.c vt needs-flag 162file arch/i386/isa/pcvt/pcvt_out.c vt needs-flag 163file arch/i386/isa/pcvt/pcvt_sup.c vt needs-flag 164file arch/i386/isa/pcvt/pcvt_vtf.c vt needs-flag 165 166# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 167device lms 168attach lms at isa 169file arch/i386/isa/lms.c lms needs-flag 170device mms 171attach mms at isa 172file arch/i386/isa/mms.c mms needs-flag 173device pms 174attach pms at pckbcport with pms_hack 175attach pms at pckbc with pms_pckbc 176file arch/i386/isa/pms.c pms | pms_hack | pms_pckbc needs-flag 177 178include "dev/wscons/files.wscons" 179 180include "dev/pckbc/files.pckbc" 181 182device sysbeep 183attach sysbeep at pcppi 184 185# Floppy disk controller 186device fdc {drive = -1} 187attach fdc at isa 188device fd: disk, isadma 189attach fd at fdc 190file arch/i386/isa/fd.c fdc needs-flag 191major {fd = 2} 192 193# Game adapter (joystick) 194device joy 195file arch/i386/isa/joy.c joy needs-flag 196 197attach joy at isa with joy_isa 198file arch/i386/isa/joy_isa.c joy_isa 199 200# Adaptec AHA-284x VL SCSI controllers 201# device declaration in sys/conf/files 202attach ahc at isa with ahc_isa 203file arch/i386/isa/ahc_isa.c ahc_isa 204 205# 206# EISA-only drivers 207# 208 209include "dev/eisa/files.eisa" 210file arch/i386/eisa/eisa_machdep.c eisa 211 212# ISA Plug 'n Play devices 213file arch/i386/isa/isapnp_machdep.c isapnp 214 215attach joy at isapnp with joy_isapnp 216file arch/i386/isa/joy_isapnp.c joy_isapnp 217 218# 219# Other mainbus-attached devices 220# 221 222# Advanced Power Management support (APM) 223device apm: bioscall 224attach apm at mainbus 225file arch/i386/i386/apm.c apm needs-count 226file arch/i386/i386/apmcall.s apm 227 228# 229# Compatibility modules 230# 231 232# VM86 mode 233file arch/i386/i386/vm86.c vm86 234 235# Binary compatibility with previous NetBSD releases (COMPAT_XX) 236file arch/i386/i386/compat_13_machdep.c compat_13 237 238# SVR4 binary compatibility (COMPAT_SVR4) 239include "compat/svr4/files.svr4" 240file arch/i386/i386/svr4_machdep.c compat_svr4 241 242# iBCS-2 binary compatibility (COMPAT_IBCS2) 243include "compat/ibcs2/files.ibcs2" 244file arch/i386/i386/ibcs2_machdep.c compat_ibcs2 245 246# Linux binary compatibility (COMPAT_LINUX) 247include "compat/linux/files.linux" 248include "compat/linux/arch/i386/files.linux_i386" 249 250# FreeBSD binary compatibility (COMPAT_FREEBSD) 251include "compat/freebsd/files.freebsd" 252file arch/i386/i386/freebsd_machdep.c compat_freebsd 253 254# OSS audio driver compatibility 255include "compat/ossaudio/files.ossaudio" 256 257# network devices MII bus 258include "dev/mii/files.mii" 259 260# XXXX pcic here because it needs to be late. The catch: pcic needs 261# to be late, so devices which attach to it are attached late. But it 262# needs to be before its isa and pci attachments. This answer is 263# non-optimal, but I don't have a better answer right now. 264 265# PCIC pcmcia contoller 266# XXX this needs to be done very late, so it's done here. This feels 267# like a kludge, but it might be for the best. 268 269defopt PCIC_ISA_ALLOC_IOBASE 270defopt PCIC_ISA_ALLOC_IOSIZE 271defopt PCIC_ISA_INTR_ALLOC_MASK 272 273device pcic {[controller = -1], [socket = -1]} 274file dev/ic/i82365.c pcic 275 276# PCIC pcmcia controller on ISA bus. 277attach pcic at isa with pcic_isa 278file dev/isa/i82365_isa.c pcic_isa 279 280# PCIC pcmcia controller on PCI bus. 281attach pcic at pci with pcic_pci 282file dev/pci/i82365_pci.c pcic_pci 283 284# PCIC pcmcia controller on PnP board 285attach pcic at isapnp with pcic_isapnp 286file dev/isapnp/i82365_isapnp.c pcic_isapnp 287 288# Code common to ISA and ISAPnP attachments 289file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp 290 291# this wants to be probed as late as possible. 292# 293# Machine-independent PCMCIA drivers 294# 295include "dev/pcmcia/files.pcmcia" 296 297 298include "dev/usb/files.usb" 299