files.i386 revision 1.191
11.191Sdrochner# $NetBSD: files.i386,v 1.191 2001/09/03 17:18:22 drochner Exp $ 21.2Scgd# 31.56Scgd# new style config file for i386 architecture 41.56Scgd# 51.56Scgd 61.56Scgd# maxpartitions must be first item in files.${ARCH}.newconf 71.56Scgdmaxpartitions 8 81.94Sthorpej 91.56Scgdmaxusers 2 16 64 101.125Sthorpej 111.125Sthorpej# APM options 121.182Slukemdefopt opt_apm.h APM_DISABLE APM_FORCE_64K_SEGMENTS APM_NO_IDLE 131.182Slukem APM_NO_STANDBY APM_V10_ONLY APM_NO_V12 APMDEBUG 141.182Slukem APMDEBUG_VALUE APM_POWER_PRINT APM_DISABLE_INTERRUPTS 151.182Slukem APM_ALLOW_BOGUS_SEGMENTS 161.100Sthorpej 171.100Sthorpej# Processor type options. 181.182Slukemdefopt opt_cputype.h I386_CPU I486_CPU I586_CPU I686_CPU 191.124Sbouyer 201.124Sbouyer# delay before cpu_reset() for reboot. 211.182Slukemdefopt CPURESET_DELAY 221.101Sthorpej 231.101Sthorpej# VM86 emulation 241.101Sthorpejdefopt VM86 251.102Sthorpej 261.102Sthorpej# Floating point emulation 271.102Sthorpejdefopt MATH_EMULATE 281.103Sthorpej 291.103Sthorpej# User-settable LDT (used by WINE) 301.103Sthorpejdefopt USER_LDT 311.104Sthorpej 321.104Sthorpej# Speed hack; make NOPs dummies (might break on some machines) 331.104Sthorpejdefopt DUMMY_NOPS 341.105Sthorpej 351.167Sthorpej# Performance counter support 361.167Sthorpejdefopt PERFCTRS 371.167Sthorpej 381.105Sthorpej# X server support in console drivers 391.182Slukemdefopt opt_xserver.h XSERVER XSERVER_DDB 401.181Schs 411.181Schs# The REAL{BASE,EXT}MEM options 421.182Slukemdefopt opt_realmem.h REALBASEMEM REALEXTMEM 431.140Sdrochner 441.140Sdrochner# understand boot device passed by pre-1.3 bootblocks 451.140Sdrochnerdefopt COMPAT_OLDBOOT 461.98Sthorpej 471.142Sthorpej# PCI BIOS options 481.182Slukemdefopt opt_pcibios.h PCIBIOS PCIBIOSVERBOSE 491.164Ssoda PCIBIOS_ADDR_FIXUP PCIBIOS_BUS_FIXUP 501.164Ssoda PCIBIOS_INTR_FIXUP PCIBIOS_INTR_FIXUP_FORCE 511.164Ssoda PCIBIOS_INTR_GUESS PCIBIOS_IRQS_HINT PCIINTR_DEBUG 521.166Sthorpej 531.166Sthorpej# Large page size 541.166Sthorpejdefopt LARGEPAGES 551.142Sthorpej 561.56Scgdfile arch/i386/i386/autoconf.c 571.146Sdrochnerfile arch/i386/i386/bus_machdep.c 581.56Scgdfile arch/i386/i386/conf.c 591.145Sdrochnerfile arch/i386/i386/consinit.c 601.119Srvbfile arch/i386/i386/db_dbgreg.s ddb 611.56Scgdfile arch/i386/i386/db_disasm.c ddb 621.56Scgdfile arch/i386/i386/db_interface.c ddb 631.85Sthorpejfile arch/i386/i386/db_memrw.c ddb | kgdb 641.56Scgdfile arch/i386/i386/db_trace.c ddb 651.56Scgdfile arch/i386/i386/disksubr.c disk 661.60Smycroftfile arch/i386/i386/gdt.c 671.74Smycroftfile arch/i386/i386/in_cksum.s inet 681.152Swsfile arch/i386/i386/ipkdb_glue.c ipkdb 691.85Sthorpejfile arch/i386/i386/kgdb_machdep.c kgdb 701.56Scgdfile arch/i386/i386/machdep.c 711.56Scgdfile arch/i386/i386/math_emulate.c math_emulate 721.56Scgdfile arch/i386/i386/mem.c 731.56Scgdfile arch/i386/i386/microtime.s 741.154Sjdolecekfile netns/ns_cksum.c ns 751.134Sthorpejfile arch/i386/i386/pmap.c 761.56Scgdfile arch/i386/i386/process_machdep.c 771.180Sfvdlfile arch/i386/i386/procfs_machdep.c procfs 781.185Sthorpejfile arch/i386/i386/softintr.c 791.56Scgdfile arch/i386/i386/sys_machdep.c 801.178Smycroftfile arch/i386/i386/syscall.c 811.56Scgdfile arch/i386/i386/trap.c 821.56Scgdfile arch/i386/i386/vm_machdep.c 831.56Scgdfile dev/cons.c 841.167Sthorpej 851.167Sthorpejfile arch/i386/i386/pmc.c perfctrs 861.56Scgd 871.56Scgd# 881.56Scgd# Machine-independent SCSI drivers 891.56Scgd# 901.56Scgd 911.182Slukeminclude "dev/scsipi/files.scsipi" 921.56Scgdmajor {sd = 4} 931.56Scgdmajor {cd = 6} 941.69Sperry 951.97Scgd# 961.97Scgd# Machine-independent ATA drivers 971.97Scgd# 981.97Scgd 991.182Slukeminclude "dev/ata/files.ata" 1001.97Scgdmajor {wd = 0} 1011.97Scgd 1021.79Spk# Memory Disk for install floppy 1031.182Slukemfile arch/i386/i386/md_root.c memory_disk_hooks 1041.79Spkmajor {md = 17} 1051.149Soster 1061.149Soster# RAIDframe 1071.149Sostermajor {raid = 18} 1081.151Sad 1091.174Sad# Logical disk 1101.174Sadmajor {ld = 19} 1111.171Sad 1121.171Sad# 1131.171Sad# Machine-independent I2O drivers 1141.171Sad# 1151.171Sad 1161.182Slukeminclude "dev/i2o/files.i2o" 1171.56Scgd 1181.142Sthorpej# attribute used to bring in BIOS trampoline code for real-mode probing 1191.142Sthorpej# of certain devices/BIOS features 1201.182Slukemdefine bioscall 1211.142Sthorpejfile arch/i386/i386/bioscall.s bioscall needs-flag 1221.142Sthorpej 1231.142Sthorpej# BIOS32 routines 1241.142Sthorpejdefine bios32 1251.142Sthorpejfile arch/i386/i386/bios32.c bios32 needs-flag 1261.142Sthorpej 1271.56Scgd# 1281.56Scgd# System bus types 1291.56Scgd# 1301.65Scgd 1311.182Slukemdefine mainbus { } 1321.142Sthorpej# XXX BIOS32 only if something that uses it is configured! 1331.159Sjdolecekdevice mainbus: isabus, eisabus, mcabus, pcibus, mainbus, bios32 1341.67Sthorpejattach mainbus at root 1351.65Scgdfile arch/i386/i386/mainbus.c mainbus 1361.56Scgd 1371.55Smycroft# 1381.64Scgd# PCI-only drivers 1391.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 1401.64Scgd# XXX devices to 'pci'. 1411.64Scgd# 1421.64Scgd 1431.182Slukeminclude "dev/pci/files.pci" 1441.64Scgdfile arch/i386/pci/pci_machdep.c pci 1451.142Sthorpejfile arch/i386/pci/pcibios.c pcibios 1461.142Sthorpejfile arch/i386/pci/pci_intr_fixup.c pcibios & pcibios_intr_fixup 1471.142Sthorpejfile arch/i386/pci/piix.c pcibios & pcibios_intr_fixup 1481.142Sthorpejfile arch/i386/pci/opti82c558.c pcibios & pcibios_intr_fixup 1491.142Sthorpejfile arch/i386/pci/opti82c700.c pcibios & pcibios_intr_fixup 1501.142Sthorpejfile arch/i386/pci/sis85c503.c pcibios & pcibios_intr_fixup 1511.142Sthorpejfile arch/i386/pci/via82c586.c pcibios & pcibios_intr_fixup 1521.186Suchfile arch/i386/pci/amd756.c pcibios & pcibios_intr_fixup 1531.190Shayafile arch/i386/pci/ali1543.c pcibios & pcibios_intr_fixup 1541.143Sthorpejfile arch/i386/pci/pci_bus_fixup.c pcibios & pcibios_bus_fixup 1551.158Suchfile arch/i386/pci/pci_addr_fixup.c pcibios & pcibios_addr_fixup 1561.182Slukemdefopt PCI_CONF_MODE 1571.110Scgdfile arch/i386/pci/pciide_machdep.c pciide 1581.127Snathanwfile arch/i386/pci/pcic_pci_machdep.c pcic_pci 1591.78Sthorpej 1601.78Sthorpej# PCI-Host bridge chipsets 1611.108Sthorpejdevice pchb: pcibus 1621.78Sthorpejattach pchb at pci 1631.78Sthorpejfile arch/i386/pci/pchb.c pchb 1641.169Sthorpejfile arch/i386/pci/pchb_rnd.c pchb & rnd 1651.107Sthorpej 1661.107Sthorpej# PCI-EISA bridges 1671.108Sthorpejdevice pceb: eisabus, isabus 1681.107Sthorpejattach pceb at pci 1691.107Sthorpejfile arch/i386/pci/pceb.c pceb 1701.78Sthorpej 1711.78Sthorpej# PCI-ISA bridges 1721.108Sthorpejdevice pcib: isabus 1731.78Sthorpejattach pcib at pci 1741.78Sthorpejfile arch/i386/pci/pcib.c pcib 1751.184Sjdolecek 1761.184Sjdolecek# PCI-MCA bridges 1771.184Sjdolecekdevice pcmb: mcabus 1781.184Sjdolecekattach pcmb at pci 1791.184Sjdolecekfile arch/i386/pci/pcmb.c pcmb 1801.64Scgd 1811.153Smartin# Game adapter (joystick) 1821.153Smartindevice joy 1831.153Smartinfile arch/i386/isa/joy.c joy needs-flag 1841.153Smartin 1851.153Smartin# PCI joysticks 1861.182Slukemattach joy at pci with pci_joy 1871.153Smartinfile arch/i386/pci/joy_pci.c pci_joy 1881.153Smartin 1891.64Scgd# 1901.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 1911.55Smycroft# 1921.56Scgd 1931.182Slukeminclude "dev/isa/files.isa" 1941.56Scgdmajor {mcd = 7} 1951.56Scgd#major {scd = 15} 1961.115Scgd 1971.115Scgd# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 1981.115Scgd# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 1991.115Scgd# XXX (when the conf/files and files.isa bogons are fixed, this can 2001.115Scgd# XXX be fixed as well.) 2011.115Scgd 2021.115Scgdattach lpt at puc with lpt_puc 2031.115Scgdfile dev/pci/lpt_puc.c lpt_puc 2041.56Scgd 2051.56Scgdfile arch/i386/isa/isa_machdep.c isa 2061.56Scgd 2071.56Scgd# PC clock 2081.56Scgdfile arch/i386/isa/clock.c isa 2091.130Sdrochnerfile dev/clock_subr.c isa 2101.56Scgd 2111.56Scgd# Numeric Processing Extension; Math Co-processor 2121.108Sthorpejdevice npx 2131.56Scgdfile arch/i386/isa/npx.c npx needs-flag 2141.163Sthorpej 2151.163Sthorpejattach npx at isa with npx_isa 2161.163Sthorpejfile arch/i386/isa/npx_isa.c npx_isa 2171.56Scgd 2181.66Sthorpej# attribute used to represent the "keyboard controller" 2191.66Sthorpej# XXX should be a real device 2201.182Slukemdefine pckbcport { [irq = -1], [port = -1] } 2211.66Sthorpej 2221.56Scgd# PC console support a la "pccons" 2231.111Sdrochnerdevice pc: tty, pckbcport 2241.67Sthorpejattach pc at isa 2251.111Sdrochnerdevice pcconskbd 2261.111Sdrochnerattach pcconskbd at pckbc 2271.111Sdrochnerfile arch/i386/isa/pccons.c pc | pcconskbd needs-flag 2281.56Scgd 2291.56Scgd# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 2301.128Sdrochnerdevice olms 2311.128Sdrochnerattach olms at isa 2321.128Sdrochnerfile arch/i386/isa/olms.c olms needs-flag 2331.128Sdrochnerdevice lms: wsmousedev 2341.67Sthorpejattach lms at isa 2351.128Sdrochnerfile arch/i386/isa/lms.c lms 2361.128Sdrochnerdevice omms 2371.128Sdrochnerattach omms at isa 2381.128Sdrochnerfile arch/i386/isa/omms.c omms needs-flag 2391.128Sdrochnerdevice mms: wsmousedev 2401.67Sthorpejattach mms at isa 2411.128Sdrochnerfile arch/i386/isa/mms.c mms 2421.128Sdrochnerdevice opms 2431.128Sdrochnerattach opms at pckbcport with opms_hack 2441.128Sdrochnerattach opms at pckbc with opms_pckbc 2451.128Sdrochnerfile arch/i386/isa/pms.c opms | opms_hack | opms_pckbc needs-flag 2461.111Sdrochner 2471.182Slukeminclude "dev/wscons/files.wscons" 2481.191Sdrochnerinclude "dev/wsfont/files.wsfont" 2491.111Sdrochner 2501.182Slukeminclude "dev/pckbc/files.pckbc" 2511.113Sdrochner 2521.182Slukemdevice sysbeep 2531.182Slukemattach sysbeep at pcppi 2541.111Sdrochner 2551.56Scgd# Floppy disk controller 2561.157Sthorpejdevice fdc {drive = -1}: isadma 2571.157Sthorpejfile dev/isa/fd.c fdc needs-flag 2581.157Sthorpej 2591.157Sthorpejattach fdc at isa with fdc_isa 2601.157Sthorpejfile dev/isa/fdc_isa.c fdc_isa 2611.157Sthorpej 2621.157Sthorpejdevice fd: disk 2631.67Sthorpejattach fd at fdc 2641.56Scgdmajor {fd = 2} 2651.76Ssoda 2661.80Schristosattach joy at isa with joy_isa 2671.80Schristosfile arch/i386/isa/joy_isa.c joy_isa 2681.80Schristos 2691.76Ssoda# Adaptec AHA-284x VL SCSI controllers 2701.76Ssoda# device declaration in sys/conf/files 2711.150Sfvdlattach ahc at isa with ahc_isa: ahc_aic77xx, smc93cx6 2721.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 2731.56Scgd 2741.55Smycroft# 2751.55Smycroft# EISA-only drivers 2761.55Smycroft# 2771.56Scgd 2781.182Slukeminclude "dev/eisa/files.eisa" 2791.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 2801.154Sjdolecek 2811.154Sjdolecek# 2821.154Sjdolecek# MCA-only drivers 2831.154Sjdolecek# 2841.154Sjdolecek 2851.182Slukemdevice mca {[slot = -1]} : bioscall 2861.182Slukeminclude "dev/mca/files.mca" 2871.159Sjdolecekfile arch/i386/mca/mca_machdep.c mca 2881.187Sjdolecek 2891.187Sjdolecekmajor { ed = 20 } 2901.77Sjtk 2911.80Schristos# ISA Plug 'n Play devices 2921.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 2931.80Schristos 2941.80Schristosattach joy at isapnp with joy_isapnp 2951.80Schristosfile arch/i386/isa/joy_isapnp.c joy_isapnp 2961.130Sdrochner 2971.130Sdrochner# 2981.130Sdrochner# VME support 2991.130Sdrochner# 3001.182Slukeminclude "dev/vme/files.vme" 3011.77Sjtk 3021.77Sjtk# 3031.77Sjtk# Other mainbus-attached devices 3041.77Sjtk# 3051.77Sjtk 3061.77Sjtk# Advanced Power Management support (APM) 3071.182Slukemdevice apm: bioscall 3081.182Slukemattach apm at mainbus 3091.77Sjtkfile arch/i386/i386/apm.c apm needs-count 3101.89Sjtkfile arch/i386/i386/apmcall.s apm 3111.56Scgd 3121.55Smycroft# 3131.55Smycroft# Compatibility modules 3141.55Smycroft# 3151.61Smycroft 3161.61Smycroft# VM86 mode 3171.61Smycroftfile arch/i386/i386/vm86.c vm86 3181.120Smycroft 3191.120Smycroft# Binary compatibility with previous NetBSD releases (COMPAT_XX) 3201.135Smellonfile arch/i386/i386/compat_13_machdep.c compat_13 | compat_aout 3211.56Scgd 3221.59Smycroft# SVR4 binary compatibility (COMPAT_SVR4) 3231.182Slukeminclude "compat/svr4/files.svr4" 3241.59Smycroftfile arch/i386/i386/svr4_machdep.c compat_svr4 3251.173Sjdolecekfile arch/i386/i386/svr4_sigcode.s compat_svr4 3261.177Smycroftfile arch/i386/i386/svr4_syscall.c compat_svr4 3271.189Schristos 3281.189Schristos# MACH binary compatibility (COMPAT_MACH) 3291.189Schristosinclude "compat/mach/files.mach" 3301.189Schristosfile arch/i386/i386/mach_machdep.c compat_mach 3311.189Schristosfile arch/i386/i386/mach_sigcode.s compat_mach 3321.189Schristosfile arch/i386/i386/mach_syscall.c compat_mach 3331.189Schristosfile arch/i386/i386/macho_machdep.c exec_macho 3341.56Scgd 3351.59Smycroft# iBCS-2 binary compatibility (COMPAT_IBCS2) 3361.182Slukeminclude "compat/ibcs2/files.ibcs2" 3371.88Smycroftfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 3381.173Sjdolecekfile arch/i386/i386/ibcs2_sigcode.s compat_ibcs2 3391.176Sjdolecekfile arch/i386/i386/ibcs2_syscall.c compat_ibcs2 3401.56Scgd 3411.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 3421.182Slukeminclude "compat/linux/files.linux" 3431.182Slukeminclude "compat/linux/arch/i386/files.linux_i386" 3441.173Sjdolecekfile arch/i386/i386/linux_sigcode.s compat_linux 3451.176Sjdolecekfile arch/i386/i386/linux_syscall.c compat_linux 3461.188Schristosfile arch/i386/i386/linux_trap.c compat_linux 3471.58Smycroft 3481.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 3491.182Slukeminclude "compat/freebsd/files.freebsd" 3501.58Smycroftfile arch/i386/i386/freebsd_machdep.c compat_freebsd 3511.173Sjdolecekfile arch/i386/i386/freebsd_sigcode.s compat_freebsd 3521.179Sjdolecekfile arch/i386/i386/freebsd_syscall.c compat_freebsd 3531.131Schristos 3541.131Schristos# a.out binary compatibility (COMPAT_AOUT) 3551.182Slukeminclude "compat/aout/files.aout" 3561.160Smycroft 3571.160Smycroft# Win32 binary compatibility (COMPAT_PECOFF) 3581.182Slukeminclude "compat/pecoff/files.pecoff" 3591.82Saugustss 3601.82Saugustss# OSS audio driver compatibility 3611.182Slukeminclude "compat/ossaudio/files.ossaudio" 3621.91Sbouyer 3631.91Sbouyer# network devices MII bus 3641.182Slukeminclude "dev/mii/files.mii" 3651.139Shaya 3661.139Shaya# 3671.139Shaya# CARDBUS 3681.139Shaya# 3691.182Slukeminclude "dev/cardbus/files.cardbus" 3701.139Shayafile arch/i386/i386/rbus_machdep.c cardbus 3711.90Sthorpej 3721.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 3731.90Sthorpej# to be late, so devices which attach to it are attached late. But it 3741.90Sthorpej# needs to be before its isa and pci attachments. This answer is 3751.90Sthorpej# non-optimal, but I don't have a better answer right now. 3761.90Sthorpej 3771.165Sitohy# PCIC pcmcia controller 3781.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 3791.90Sthorpej# like a kludge, but it might be for the best. 3801.93Sthorpej 3811.93Sthorpejdefopt PCIC_ISA_ALLOC_IOBASE 3821.93Sthorpejdefopt PCIC_ISA_ALLOC_IOSIZE 3831.93Sthorpejdefopt PCIC_ISA_INTR_ALLOC_MASK 3841.93Sthorpej 3851.126Spkdevice pcic: pcmciabus 3861.92Sthorpejfile dev/ic/i82365.c pcic 3871.90Sthorpej 3881.114Ssommerfe# PCIC pcmcia controller on ISA bus. 3891.90Sthorpejattach pcic at isa with pcic_isa 3901.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 3911.90Sthorpej 3921.114Ssommerfe# PCIC pcmcia controller on PCI bus. 3931.90Sthorpejattach pcic at pci with pcic_pci 3941.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 3951.90Sthorpej 3961.114Ssommerfe# PCIC pcmcia controller on PnP board 3971.182Slukemattach pcic at isapnp with pcic_isapnp 3981.114Ssommerfefile dev/isapnp/i82365_isapnp.c pcic_isapnp 3991.114Ssommerfe 4001.114Ssommerfe# Code common to ISA and ISAPnP attachments 4011.127Snathanwfile dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 4021.132Sbad 4031.132Sbad# XXXX tcic here because it needs to be late. The catch: tcic needs 4041.132Sbad# to be late, so devices which attach to it are attached late. But it 4051.132Sbad# needs to be before its isa and pci attachments. This answer is 4061.132Sbad# non-optimal, but I don't have a better answer right now. 4071.132Sbad 4081.165Sitohy# TCIC pcmcia controller 4091.132Sbad# XXX this needs to be done very late, so it's done here. This feels 4101.132Sbad# like a kludge, but it might be for the best. 4111.132Sbad 4121.132Sbaddefopt TCIC_ISA_ALLOC_IOBASE 4131.132Sbaddefopt TCIC_ISA_ALLOC_IOSIZE 4141.132Sbaddefopt TCIC_ISA_INTR_ALLOC_MASK 4151.132Sbad 4161.132Sbaddevice tcic: pcmciabus 4171.132Sbadfile dev/ic/tcic2.c tcic 4181.132Sbad 4191.165Sitohy# TCIC pcmcia controller 4201.132Sbadattach tcic at isa with tcic_isa 4211.132Sbadfile dev/isa/tcic2_isa.c tcic_isa 4221.90Sthorpej 4231.90Sthorpej# this wants to be probed as late as possible. 4241.90Sthorpej# 4251.90Sthorpej# Machine-independent PCMCIA drivers 4261.90Sthorpej# 4271.182Slukeminclude "dev/pcmcia/files.pcmcia" 4281.90Sthorpej 4291.90Sthorpej 4301.182Slukeminclude "dev/usb/files.usb" 4311.170Sonoe 4321.182Slukeminclude "dev/ieee1394/files.ieee1394" 4331.141Sdrochner 4341.182Slukeminclude "arch/i386/pnpbios/files.pnpbios" 435