files.i386 revision 1.251
11.104Sthorpej# $NetBSD: files.i386,v 1.251 2004/03/14 08:04:38 minoura Exp $ 21.25Scgd# 31.55Sgwr# new style config file for i386 architecture 41.55Sgwr# 51.12Sglass 61.12Sglass# maxpartitions must be first item in files.${ARCH}.newconf 71.55Sgwrmaxpartitions 8 81.55Sgwr 91.55Sgwrmaxusers 2 16 128 101.12Sglass 111.12Sglass# APM options 121.12Sglassdefflag opt_apm.h APM_DISABLE APM_FORCE_64K_SEGMENTS APM_NO_IDLE 131.12Sglass APM_NO_STANDBY APM_V10_ONLY APM_NO_V12 APMDEBUG 141.12Sglass APM_POWER_PRINT APM_ALLOW_BOGUS_SEGMENTS 151.12Sglass APM_USE_KVM86 161.12Sglassdefparam opt_apm.h APMDEBUG_VALUE APM_DISABLE_INTERRUPTS 171.12Sglass 181.12Sglass# Processor type options. 191.55Sgwrdefflag opt_cputype.h I386_CPU I486_CPU I586_CPU I686_CPU 201.55Sgwr 211.55Sgwr# delay before cpu_reset() for reboot. 221.58Sgwrdefparam CPURESET_DELAY 231.58Sgwr 241.55Sgwr# VM86 emulation 251.55Sgwrdefflag VM86 261.55Sgwrdefflag KVM86 271.55Sgwr 281.55Sgwr# Floating point emulation 291.55Sgwrdefflag MATH_EMULATE 301.12Sglass 311.83Slukem# User-settable LDT (used by WINE) 321.83Slukemdefflag USER_LDT 331.104Sthorpej 341.74Sjonathan# X server support in console drivers 351.74Sjonathandefflag opt_xserver.h XSERVER XSERVER_DDB 361.93Sapb 371.12Sglass# The REAL{BASE,EXT}MEM options 381.21Sgwrdefparam opt_realmem.h REALBASEMEM REALEXTMEM 391.17Sglass 401.17Sglass# understand boot device passed by pre-1.3 bootblocks 411.20Sgwrdefflag COMPAT_OLDBOOT 421.77Schs 431.77Schs# PCI BIOS options 441.4Sglassdefflag opt_pcibios.h PCIBIOS PCIBIOSVERBOSE 451.75Smrg PCIBIOS_ADDR_FIXUP PCIBIOS_BUS_FIXUP 461.4Sglass PCIBIOS_INTR_FIXUP PCIBIOS_INTR_FIXUP_FORCE 471.100Stsutsui PCIBIOS_INTR_GUESS PCIINTR_DEBUG 481.100Stsutsuidefparam opt_pcibios.h PCIBIOS_IRQS_HINT 491.17Sglass 501.56Sgwr# Large page size 511.47Sgwrdefflag LARGEPAGES 521.72Sgwr 531.72Sgwr# No unmapped page below kernel stack 541.17Sglassdefflag NOREDZONE 551.72Sgwr 561.17Sglass# kernel stack debug 571.104Sthorpejdefflag opt_kstack_dr0.h KSTACK_CHECK_DR0 581.4Sglass 591.72Sgwr# Beep on halt 601.58Sgwrdefflag opt_beep.h BEEP_ONHALT 611.72Sgwrdefparam opt_beep.h BEEP_ONHALT_COUNT 621.73Sgwrdefparam opt_beep.h BEEP_ONHALT_PITCH BEEP_ONHALT_PERIOD 631.26Sgwr 641.82Sraggefile arch/i386/i386/autoconf.c 651.82Sraggefile arch/i386/i386/db_dbgreg.S ddb | kstack_check_dr0 661.33Sgwrfile arch/i386/i386/db_disasm.c ddb 671.33Sgwrfile arch/i386/i386/db_interface.c ddb 681.33Sgwrfile arch/i386/i386/db_memrw.c ddb | kgdb 691.33Sgwrfile arch/i386/i386/db_trace.c ddb 701.33Sgwrfile kern/subr_disk_mbr.c disk 711.77Schsfile arch/i386/i386/gdt.c 721.77Schsfile arch/i386/i386/in_cksum.S inet | inet6 731.33Sgwrfile arch/i386/i386/ipkdb_glue.c ipkdb 741.71Sgwrfile arch/i386/i386/kgdb_machdep.c kgdb 751.39Sgwrfile arch/i386/i386/machdep.c 761.1Sglassfile arch/i386/i386/identcpu.c 771.62Sgwrfile arch/i386/i386/math_emulate.c math_emulate 781.62Sgwrfile arch/i386/i386/mem.c 791.62Sgwrfile kern/kern_microtime.c i586_cpu | i686_cpu 801.62Sgwrfile arch/i386/i386/mtrr_k6.c mtrr 811.62Sgwrfile netns/ns_cksum.c ns 821.76Stsutsuifile arch/i386/i386/pmap.c 831.76Stsutsuifile arch/i386/i386/process_machdep.c 841.61Sthorpejfile arch/i386/i386/procfs_machdep.c procfs 851.27Sgwrfile arch/i386/i386/sys_machdep.c 861.27Sgwrfile arch/i386/i386/syscall.c 871.27Sgwrfile arch/i386/i386/trap.c 881.1Sglassfile arch/i386/i386/vm_machdep.c 891.72Sgwrfile dev/cons.c 901.85Stsutsui 911.28Sgwrfile arch/i386/i386/mptramp.S multiprocessor 921.4Sglassfile arch/i386/i386/ipifuncs.c multiprocessor 931.65Sgwr 941.65Sgwrfile arch/i386/i386/pmc.c perfctrs 951.65Sgwr 961.65Sgwrfile crypto/des/arch/i386/des_enc.S des 971.65Sgwrfile crypto/des/arch/i386/des_cbc.S des 981.65Sgwr 991.65Sgwrfile crypto/blowfish/arch/i386/bf_enc.S blowfish 1001.10Sglassfile crypto/blowfish/arch/i386/bf_cbc.S blowfish & !i386_cpu 1011.7Sglass 1021.58Sgwr# 1031.84Schs# Machine-independent SCSI drivers 1041.56Sgwr# 1051.84Schs 1061.84Schsinclude "dev/scsipi/files.scsipi" 1071.56Sgwr 1081.92Sad# 1091.84Schs# Machine-independent ATA drivers 1101.58Sgwr# 1111.42Sgwr 1121.42Sgwrinclude "dev/ata/files.ata" 1131.42Sgwr 1141.101Stsutsui# Memory Disk for install floppy 1151.84Schsfile dev/md_root.c memory_disk_hooks 1161.42Sgwr 1171.77Schs# 1181.77Schs# Machine-independent I2O drivers 1191.77Schs# 1201.77Schs 1211.73Sgwrinclude "dev/i2o/files.i2o" 1221.77Schs 1231.77Schs# attribute used to bring in BIOS trampoline code for real-mode probing 1241.77Schs# of certain devices/BIOS features 1251.77Schsdefine bioscall 1261.77Schsfile arch/i386/i386/bioscall.S bioscall needs-flag 1271.77Schs 1281.77Schs# BIOS32 routines 1291.77Schsdefine bios32 1301.77Schsfile arch/i386/i386/bios32.c bios32 needs-flag 1311.77Schs 1321.42Sgwr# 1331.42Sgwr# System bus types 1341.77Schs# 1351.42Sgwr 1361.73Sgwr# XXX BIOS32 only if something that uses it is configured! 1371.77Schsdevice mainbus: isabus, eisabus, mcabus, pcibus, mainbus, bios32, acpibus 1381.77Schsattach mainbus at root 1391.77Schsfile arch/i386/i386/mainbus.c mainbus 1401.77Schs 1411.77Schs# 1421.77Schs# PCI-only drivers 1431.77Schs# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 1441.77Schs# XXX devices to 'pci'. 1451.102Sriastrad# 1461.102Sriastrad 1471.77Schsinclude "dev/pci/files.pci" 1481.77Schsinclude "dev/pci/files.agp" 1491.77Schsfile arch/i386/pci/agp_machdep.c agp 1501.73Sgwrfile arch/i386/pci/pcibios.c pcibios 1511.73Sgwrfile arch/i386/pci/pci_intr_fixup.c pcibios & pcibios_intr_fixup 1521.73Sgwrfile arch/i386/pci/piix.c pcibios & pcibios_intr_fixup 1531.73Sgwrfile arch/i386/pci/opti82c558.c pcibios & pcibios_intr_fixup 1541.73Sgwrfile arch/i386/pci/opti82c700.c pcibios & pcibios_intr_fixup 1551.73Sgwrfile arch/i386/pci/sis85c503.c pcibios & pcibios_intr_fixup 1561.77Schsfile arch/i386/pci/via82c586.c pcibios & pcibios_intr_fixup 1571.86Sthorpejfile arch/i386/pci/amd756.c pcibios & pcibios_intr_fixup 1581.99Stsutsuifile arch/i386/pci/ali1543.c pcibios & pcibios_intr_fixup 1591.77Schsfile arch/i386/pci/pci_bus_fixup.c pcibios & pcibios_bus_fixup 1601.77Schsfile arch/i386/pci/pci_addr_fixup.c pcibios & pcibios_addr_fixup 1611.42Sgwrdefparam PCI_CONF_MODE 1621.42Sgwrfile arch/i386/pci/pcic_pci_machdep.c pcic_pci 1631.77Schs 1641.77Schs# Atheros 5210/5211/5212 Hardware Abstraction Layer (HAL) 1651.77Schsinclude "dev/pci/files.ath" 1661.42Sgwrobject ../contrib/sys/arch/i386/dev/athhal-elf.o ath 1671.80Ssoren 1681.27Sgwr# PCI-Host bridge chipsets 1691.27Sgwrdevice pchb: pcibus, agpbus, agp_ali, agp_amd, agp_i810, agp_intel, agp_sis, 1701.70Sgwr agp_via 1711.103Sniaattach pchb at pci 1721.70Sgwrfile arch/i386/pci/pchb.c pchb needs-flag 1731.70Sgwrfile arch/i386/pci/pchb_rnd.c pchb & rnd 1741.81Sthorpej 1751.70Sgwr# AMD Elan SC520 System Controller (PCI-Host bridge) 1761.70Sgwrdevice elansc: sysmon_wdog 1771.27Sgwrattach elansc at pci 1781.101Stsutsuifile arch/i386/pci/elan520.c elansc 1791.84Schs 1801.3Sglass# PCI-EISA bridges 1811.78Stsutsuidevice pceb: eisabus, isabus 1821.58Sgwrattach pceb at pci 1831.27Sgwrfile arch/i386/pci/pceb.c pceb 1841.70Sgwr 1851.70Sgwr# PCI-ISA bridges 1861.70Sgwrdevice pcib: isabus 1871.27Sgwrattach pcib at pci 1881.73Sgwrfile arch/i386/pci/pcib.c pcib | ichlpcib 1891.92Sad 1901.42Sgwr# PCI-LPC bridges 1911.77Schsdevice ichlpcib: isabus, sysmon_wdog 1921.42Sgwrattach ichlpcib at pci 1931.24Sgwrfile arch/i386/pci/ichlpcib.c ichlpcib 1941.24Sgwr 1951.27Sgwr# PCI-MCA bridges 1961.72Sgwrdevice pcmb: mcabus 1971.24Sgwrattach pcmb at pci 1981.70Sgwrfile arch/i386/pci/pcmb.c pcmb 1991.27Sgwr 2001.24Sgwrdevice p64h2apic 2011.81Sthorpejattach p64h2apic at pci 2021.70Sgwrfile arch/i386/pci/p64h2apic.c p64h2apic 2031.70Sgwr 2041.81Sthorpej 2051.24Sgwr 2061.98Spooka# Game adapter (joystick) 2071.96Srmindfile arch/i386/isa/joy_timer.c joy 2081.96Srmind 2091.70Sgwr# 2101.27Sgwr# ISA and mixed ISA+EISA or ISA+PCI drivers 2111.24Sgwr# 2121.81Sthorpej 2131.24Sgwrinclude "dev/isa/files.isa" 2141.81Sthorpej 2151.96Srmind# PC clock 2161.37Sgwrfile arch/i386/isa/clock.c isa 2171.70Sgwr 2181.70Sgwr# Numeric Processing Extension; Math Co-processor 2191.3Sglassdevice npx 2201.3Sglassfile arch/i386/isa/npx.c npx needs-flag 2211.49Sgwr 2221.65Sgwrattach npx at isa with npx_isa 2231.65Sgwrfile arch/i386/isa/npx_isa.c npx_isa 2241.65Sgwr 2251.65Sgwr# PC console support a la "pccons" 2261.73Sgwrdevice pc: tty 2271.73Sgwrattach pc at isa 2281.73Sgwrdevice pcconskbd: pckbport_machdep_cnattach 2291.73Sgwrattach pcconskbd at pckbport 2301.49Sgwrfile arch/i386/isa/pccons.c pc | pcconskbd needs-flag 2311.101Stsutsui 2321.84Schs# PC Mice: Logitech-style and Microsoft-style 2331.4Sglassdevice lms: wsmousedev 2341.33Sgwrattach lms at isa 2351.24Sgwrfile arch/i386/isa/lms.c lms 2361.27Sgwrdevice mms: wsmousedev 2371.33Sgwrattach mms at isa 2381.72Sgwrfile arch/i386/isa/mms.c mms 2391.72Sgwr 2401.59Sgwrinclude "dev/wscons/files.wscons" 2411.59Sgwrinclude "dev/wsfont/files.wsfont" 2421.33Sgwr 2431.72Sgwrinclude "dev/pckbport/files.pckbport" 2441.24Sgwr 2451.27Sgwrdevice sysbeep 2461.86Sthorpejattach sysbeep at pcppi 2471.24Sgwr 2481.24Sgwr# Floppy disk controller 2491.49Sgwrdevice fdc {drive = -1}: isadma 2501.24Sgwrfile dev/isa/fd.c fdc needs-flag 2511.27Sgwr 2521.86Sthorpejattach fdc at isa with fdc_isa 2531.24Sgwrfile dev/isa/fdc_isa.c fdc_isa 2541.27Sgwr 2551.49Sgwrdevice fd: disk 2561.24Sgwrattach fd at fdc 2571.27Sgwr 2581.86Sthorpej# Adaptec AHA-284x VL SCSI controllers 2591.24Sgwr# device declaration in sys/conf/files 2601.24Sgwrattach ahc at isa with ahc_isa: ahc_aic77xx, smc93cx6 2611.49Sgwrfile arch/i386/isa/ahc_isa.c ahc_isa 2621.89Sthorpej 2631.24Sgwr# 2641.27Sgwr# EISA-only drivers 2651.86Sthorpej# 2661.27Sgwr 2671.27Sgwrinclude "dev/eisa/files.eisa" 2681.49Sgwrfile arch/i386/eisa/eisa_machdep.c eisa 2691.89Sthorpej 2701.27Sgwr# 2711.27Sgwr# MCA-only drivers 2721.86Sthorpej# 2731.24Sgwr 2741.27Sgwrdevice mca {[slot = -1]} : bioscall 2751.101Stsutsuiinclude "dev/mca/files.mca" 2761.89Sthorpejfile arch/i386/mca/mca_machdep.c mca 2771.44Sgwr 2781.44Sgwr# ISA Plug 'n Play devices 2791.40Sgwrfile arch/i386/isa/isapnp_machdep.c isapnp 2801.24Sgwr 2811.27Sgwr# 2821.86Sthorpej# VME support 2831.24Sgwr# 2841.24Sgwrinclude "dev/vme/files.vme" 2851.49Sgwr 2861.89Sthorpej# 2871.24Sgwr# GPIB support 2881.27Sgwr# 2891.24Sgwrinclude "dev/gpib/files.gpib" 2901.59Sgwr 2911.59Sgwr# 2921.59Sgwr# Other mainbus-attached devices 2931.59Sgwr# 2941.59Sgwr 2951.59Sgwr# Advanced Power Management support (APM) 2961.24Sgwrdevice apm: bioscall 2971.4Sglassattach apm at mainbus 2981.4Sglassfile arch/i386/i386/apm.c apm needs-count 2991.7Sglassfile arch/i386/i386/apmcall.S apm 3001.27Sgwr 3011.58Sgwr# CPUS 3021.58Sgwr 3031.58Sgwrdefine cpu { [apid = -1] } 3041.58Sgwrdevice cpu 3051.27Sgwrattach cpu at mainbus 3061.101Stsutsuifile arch/i386/i386/cpu.c cpu 3071.84Schs 3081.1Sglass# 3091.100Stsutsui# Compatibility modules 3101.33Sgwr# 3111.40Sgwr 3121.79Stsutsui# VM86 mode 3131.33Sgwrfile arch/i386/i386/vm86.c vm86 3141.65Sgwr 3151.65Sgwr# VM86 in kernel 3161.33Sgwrfile arch/i386/i386/kvm86.c kvm86 3171.100Stsutsuifile arch/i386/i386/kvm86call.S kvm86 3181.100Stsutsui 3191.100Stsutsui# Binary compatibility with previous NetBSD releases (COMPAT_XX) 3201.100Stsutsuifile arch/i386/i386/compat_13_machdep.c compat_13 | compat_aout 3211.100Stsutsuifile arch/i386/i386/compat_16_machdep.c compat_16 | compat_ibcs2 3221.100Stsutsui 3231.72Sgwr# SVR4 binary compatibility (COMPAT_SVR4) 3241.72Sgwrinclude "compat/svr4/files.svr4" 3251.72Sgwrfile arch/i386/i386/svr4_machdep.c compat_svr4 3261.72Sgwrfile arch/i386/i386/svr4_sigcode.S compat_svr4 3271.65Sgwrfile arch/i386/i386/svr4_syscall.c compat_svr4 3281.33Sgwr 3291.72Sgwr# MACH binary compatibility (COMPAT_MACH) 3301.77Schsinclude "compat/mach/files.mach" 3311.27Sgwrfile arch/i386/i386/mach_machdep.c compat_mach | compat_darwin 3321.65Sgwrfile arch/i386/i386/mach_sigcode.S compat_mach | compat_darwin 3331.65Sgwrfile arch/i386/i386/mach_syscall.c compat_mach | compat_darwin 3341.65Sgwrfile arch/i386/i386/macho_machdep.c exec_macho 3351.65Sgwr 3361.65Sgwr# DARWIN binary compatibility (COMPAT_DARWIN) 3371.69Sgwrinclude "compat/darwin/files.darwin" 3381.31Sgwrfile arch/i386/i386/darwin_machdep.c compat_darwin 3391.56Sgwr 3401.56Sgwr# iBCS-2 binary compatibility (COMPAT_IBCS2) 3411.56Sgwrinclude "compat/ibcs2/files.ibcs2" 3421.56Sgwrfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 3431.31Sgwrfile arch/i386/i386/ibcs2_sigcode.S compat_ibcs2 3441.31Sgwrfile arch/i386/i386/ibcs2_syscall.c compat_ibcs2 3451.65Sgwr 3461.31Sgwr# Linux binary compatibility (COMPAT_LINUX) 3471.104Sthorpejinclude "compat/linux/files.linux" 3481.72Sgwrinclude "compat/linux/arch/i386/files.linux_i386" 3491.40Sgwrfile arch/i386/i386/linux_sigcode.S compat_linux 3501.72Sgwrfile arch/i386/i386/linux_syscall.c compat_linux 3511.72Sgwrfile arch/i386/i386/linux_trap.c compat_linux 3521.72Sgwr 3531.72Sgwr# FreeBSD binary compatibility (COMPAT_FREEBSD) 3541.72Sgwrinclude "compat/freebsd/files.freebsd" 3551.1Sglassfile arch/i386/i386/freebsd_machdep.c compat_freebsd 356file arch/i386/i386/freebsd_sigcode.S compat_freebsd 357file arch/i386/i386/freebsd_syscall.c compat_freebsd 358 359# a.out binary compatibility (COMPAT_AOUT) 360include "compat/aout/files.aout" 361 362# Win32 binary compatibility (COMPAT_PECOFF) 363include "compat/pecoff/files.pecoff" 364 365# OSS audio driver compatibility 366include "compat/ossaudio/files.ossaudio" 367 368# 369# CARDBUS 370# 371include "dev/cardbus/files.cardbus" 372file arch/i386/i386/rbus_machdep.c cardbus 373 374# XXXX pcic here because it needs to be late. The catch: pcic needs 375# to be late, so devices which attach to it are attached late. But it 376# needs to be before its isa and pci attachments. This answer is 377# non-optimal, but I don't have a better answer right now. 378 379# PCIC pcmcia controller 380# XXX this needs to be done very late, so it's done here. This feels 381# like a kludge, but it might be for the best. 382 383defparam PCIC_ISA_ALLOC_IOBASE 384defparam PCIC_ISA_ALLOC_IOSIZE 385defparam PCIC_ISA_INTR_ALLOC_MASK 386 387device pcic: pcmciabus 388file dev/ic/i82365.c pcic 389 390# PCIC pcmcia controller on ISA bus. 391attach pcic at isa with pcic_isa 392file dev/isa/i82365_isa.c pcic_isa 393 394# PCIC pcmcia controller on PCI bus. 395attach pcic at pci with pcic_pci 396file dev/pci/i82365_pci.c pcic_pci 397 398# PCIC pcmcia controller on PnP board 399attach pcic at isapnp with pcic_isapnp 400file dev/isapnp/i82365_isapnp.c pcic_isapnp 401 402# Code common to ISA and ISAPnP attachments 403file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 404 405# XXXX tcic here because it needs to be late. The catch: tcic needs 406# to be late, so devices which attach to it are attached late. But it 407# needs to be before its isa and pci attachments. This answer is 408# non-optimal, but I don't have a better answer right now. 409 410# TCIC pcmcia controller 411# XXX this needs to be done very late, so it's done here. This feels 412# like a kludge, but it might be for the best. 413 414defparam TCIC_ISA_ALLOC_IOBASE 415defparam TCIC_ISA_ALLOC_IOSIZE 416defparam TCIC_ISA_INTR_ALLOC_MASK 417 418device tcic: pcmciabus 419file dev/ic/tcic2.c tcic 420 421# TCIC pcmcia controller 422attach tcic at isa with tcic_isa 423file dev/isa/tcic2_isa.c tcic_isa 424 425# this wants to be probed as late as possible. 426# 427# Machine-independent PCMCIA drivers 428# 429include "dev/pcmcia/files.pcmcia" 430 431 432include "dev/usb/files.usb" 433 434include "dev/ieee1394/files.ieee1394" 435 436include "arch/i386/pnpbios/files.pnpbios" 437 438include "dev/acpi/files.acpi" 439file arch/i386/acpi/acpi_wakeup.c acpi 440 441# Toshiba VALD 442device vald 443attach vald at acpi with vald_acpi 444file arch/i386/acpi/vald_acpi.c vald_acpi 445 446# Sony SPIC (jog dial etc.) 447attach spic at acpi with spic_acpi 448file arch/i386/acpi/spic_acpi.c spic_acpi 449 450# Numeric Processing Extension; Math Co-processor 451attach npx at acpi with npx_acpi 452file arch/i386/acpi/npx_acpi.c npx_acpi 453 454device vesabios {} 455attach vesabios at mainbus 456file arch/i386/bios/vesabios.c vesabios needs-flag 457defflag opt_vesabios.h VESABIOSVERBOSE 458 459include "dev/rasops/files.rasops" 460 461device vesarasterviii: rasops8 462attach vesarasterviii at vesabios 463file arch/i386/bios/vesa_raster8.c vesarasterviii 464 465device vesatext 466attach vesatext at vesabios 467file arch/i386/bios/vesa_text.c vesatext 468 469include "arch/i386/conf/majors.i386" 470