files.i386 revision 1.192
11.192Stls# $NetBSD: files.i386,v 1.192 2001/09/09 11:01:01 tls 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.192Stls 871.192Stlsfile crypto/des/arch/i386/des_enc.S ipsec & ipsec_esp 881.192Stls#file crypto/des/arch/i386/des_cbc.S ipsec & ipsec_esp 891.192Stlsfile crypto/blowfish/arch/i386/bf_enc.S ipsec & ipsec_esp 901.192Stls#file crypto/blowfish/arch/i386/bf_cbc.S ipsec & ipsec_esp 911.56Scgd 921.56Scgd# 931.56Scgd# Machine-independent SCSI drivers 941.56Scgd# 951.56Scgd 961.182Slukeminclude "dev/scsipi/files.scsipi" 971.56Scgdmajor {sd = 4} 981.56Scgdmajor {cd = 6} 991.69Sperry 1001.97Scgd# 1011.97Scgd# Machine-independent ATA drivers 1021.97Scgd# 1031.97Scgd 1041.182Slukeminclude "dev/ata/files.ata" 1051.97Scgdmajor {wd = 0} 1061.97Scgd 1071.79Spk# Memory Disk for install floppy 1081.182Slukemfile arch/i386/i386/md_root.c memory_disk_hooks 1091.79Spkmajor {md = 17} 1101.149Soster 1111.149Soster# RAIDframe 1121.149Sostermajor {raid = 18} 1131.151Sad 1141.174Sad# Logical disk 1151.174Sadmajor {ld = 19} 1161.171Sad 1171.171Sad# 1181.171Sad# Machine-independent I2O drivers 1191.171Sad# 1201.171Sad 1211.182Slukeminclude "dev/i2o/files.i2o" 1221.56Scgd 1231.142Sthorpej# attribute used to bring in BIOS trampoline code for real-mode probing 1241.142Sthorpej# of certain devices/BIOS features 1251.182Slukemdefine bioscall 1261.142Sthorpejfile arch/i386/i386/bioscall.s bioscall needs-flag 1271.142Sthorpej 1281.142Sthorpej# BIOS32 routines 1291.142Sthorpejdefine bios32 1301.142Sthorpejfile arch/i386/i386/bios32.c bios32 needs-flag 1311.142Sthorpej 1321.56Scgd# 1331.56Scgd# System bus types 1341.56Scgd# 1351.65Scgd 1361.182Slukemdefine mainbus { } 1371.142Sthorpej# XXX BIOS32 only if something that uses it is configured! 1381.159Sjdolecekdevice mainbus: isabus, eisabus, mcabus, pcibus, mainbus, bios32 1391.67Sthorpejattach mainbus at root 1401.65Scgdfile arch/i386/i386/mainbus.c mainbus 1411.56Scgd 1421.55Smycroft# 1431.64Scgd# PCI-only drivers 1441.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 1451.64Scgd# XXX devices to 'pci'. 1461.64Scgd# 1471.64Scgd 1481.182Slukeminclude "dev/pci/files.pci" 1491.64Scgdfile arch/i386/pci/pci_machdep.c pci 1501.142Sthorpejfile arch/i386/pci/pcibios.c pcibios 1511.142Sthorpejfile arch/i386/pci/pci_intr_fixup.c pcibios & pcibios_intr_fixup 1521.142Sthorpejfile arch/i386/pci/piix.c pcibios & pcibios_intr_fixup 1531.142Sthorpejfile arch/i386/pci/opti82c558.c pcibios & pcibios_intr_fixup 1541.142Sthorpejfile arch/i386/pci/opti82c700.c pcibios & pcibios_intr_fixup 1551.142Sthorpejfile arch/i386/pci/sis85c503.c pcibios & pcibios_intr_fixup 1561.142Sthorpejfile arch/i386/pci/via82c586.c pcibios & pcibios_intr_fixup 1571.186Suchfile arch/i386/pci/amd756.c pcibios & pcibios_intr_fixup 1581.190Shayafile arch/i386/pci/ali1543.c pcibios & pcibios_intr_fixup 1591.143Sthorpejfile arch/i386/pci/pci_bus_fixup.c pcibios & pcibios_bus_fixup 1601.158Suchfile arch/i386/pci/pci_addr_fixup.c pcibios & pcibios_addr_fixup 1611.182Slukemdefopt PCI_CONF_MODE 1621.110Scgdfile arch/i386/pci/pciide_machdep.c pciide 1631.127Snathanwfile arch/i386/pci/pcic_pci_machdep.c pcic_pci 1641.78Sthorpej 1651.78Sthorpej# PCI-Host bridge chipsets 1661.108Sthorpejdevice pchb: pcibus 1671.78Sthorpejattach pchb at pci 1681.78Sthorpejfile arch/i386/pci/pchb.c pchb 1691.169Sthorpejfile arch/i386/pci/pchb_rnd.c pchb & rnd 1701.107Sthorpej 1711.107Sthorpej# PCI-EISA bridges 1721.108Sthorpejdevice pceb: eisabus, isabus 1731.107Sthorpejattach pceb at pci 1741.107Sthorpejfile arch/i386/pci/pceb.c pceb 1751.78Sthorpej 1761.78Sthorpej# PCI-ISA bridges 1771.108Sthorpejdevice pcib: isabus 1781.78Sthorpejattach pcib at pci 1791.78Sthorpejfile arch/i386/pci/pcib.c pcib 1801.184Sjdolecek 1811.184Sjdolecek# PCI-MCA bridges 1821.184Sjdolecekdevice pcmb: mcabus 1831.184Sjdolecekattach pcmb at pci 1841.184Sjdolecekfile arch/i386/pci/pcmb.c pcmb 1851.64Scgd 1861.153Smartin# Game adapter (joystick) 1871.153Smartindevice joy 1881.153Smartinfile arch/i386/isa/joy.c joy needs-flag 1891.153Smartin 1901.153Smartin# PCI joysticks 1911.182Slukemattach joy at pci with pci_joy 1921.153Smartinfile arch/i386/pci/joy_pci.c pci_joy 1931.153Smartin 1941.64Scgd# 1951.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 1961.55Smycroft# 1971.56Scgd 1981.182Slukeminclude "dev/isa/files.isa" 1991.56Scgdmajor {mcd = 7} 2001.56Scgd#major {scd = 15} 2011.115Scgd 2021.115Scgd# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 2031.115Scgd# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 2041.115Scgd# XXX (when the conf/files and files.isa bogons are fixed, this can 2051.115Scgd# XXX be fixed as well.) 2061.115Scgd 2071.115Scgdattach lpt at puc with lpt_puc 2081.115Scgdfile dev/pci/lpt_puc.c lpt_puc 2091.56Scgd 2101.56Scgdfile arch/i386/isa/isa_machdep.c isa 2111.56Scgd 2121.56Scgd# PC clock 2131.56Scgdfile arch/i386/isa/clock.c isa 2141.130Sdrochnerfile dev/clock_subr.c isa 2151.56Scgd 2161.56Scgd# Numeric Processing Extension; Math Co-processor 2171.108Sthorpejdevice npx 2181.56Scgdfile arch/i386/isa/npx.c npx needs-flag 2191.163Sthorpej 2201.163Sthorpejattach npx at isa with npx_isa 2211.163Sthorpejfile arch/i386/isa/npx_isa.c npx_isa 2221.56Scgd 2231.66Sthorpej# attribute used to represent the "keyboard controller" 2241.66Sthorpej# XXX should be a real device 2251.182Slukemdefine pckbcport { [irq = -1], [port = -1] } 2261.66Sthorpej 2271.56Scgd# PC console support a la "pccons" 2281.111Sdrochnerdevice pc: tty, pckbcport 2291.67Sthorpejattach pc at isa 2301.111Sdrochnerdevice pcconskbd 2311.111Sdrochnerattach pcconskbd at pckbc 2321.111Sdrochnerfile arch/i386/isa/pccons.c pc | pcconskbd needs-flag 2331.56Scgd 2341.56Scgd# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 2351.128Sdrochnerdevice olms 2361.128Sdrochnerattach olms at isa 2371.128Sdrochnerfile arch/i386/isa/olms.c olms needs-flag 2381.128Sdrochnerdevice lms: wsmousedev 2391.67Sthorpejattach lms at isa 2401.128Sdrochnerfile arch/i386/isa/lms.c lms 2411.128Sdrochnerdevice omms 2421.128Sdrochnerattach omms at isa 2431.128Sdrochnerfile arch/i386/isa/omms.c omms needs-flag 2441.128Sdrochnerdevice mms: wsmousedev 2451.67Sthorpejattach mms at isa 2461.128Sdrochnerfile arch/i386/isa/mms.c mms 2471.128Sdrochnerdevice opms 2481.128Sdrochnerattach opms at pckbcport with opms_hack 2491.128Sdrochnerattach opms at pckbc with opms_pckbc 2501.128Sdrochnerfile arch/i386/isa/pms.c opms | opms_hack | opms_pckbc needs-flag 2511.111Sdrochner 2521.182Slukeminclude "dev/wscons/files.wscons" 2531.191Sdrochnerinclude "dev/wsfont/files.wsfont" 2541.111Sdrochner 2551.182Slukeminclude "dev/pckbc/files.pckbc" 2561.113Sdrochner 2571.182Slukemdevice sysbeep 2581.182Slukemattach sysbeep at pcppi 2591.111Sdrochner 2601.56Scgd# Floppy disk controller 2611.157Sthorpejdevice fdc {drive = -1}: isadma 2621.157Sthorpejfile dev/isa/fd.c fdc needs-flag 2631.157Sthorpej 2641.157Sthorpejattach fdc at isa with fdc_isa 2651.157Sthorpejfile dev/isa/fdc_isa.c fdc_isa 2661.157Sthorpej 2671.157Sthorpejdevice fd: disk 2681.67Sthorpejattach fd at fdc 2691.56Scgdmajor {fd = 2} 2701.76Ssoda 2711.80Schristosattach joy at isa with joy_isa 2721.80Schristosfile arch/i386/isa/joy_isa.c joy_isa 2731.80Schristos 2741.76Ssoda# Adaptec AHA-284x VL SCSI controllers 2751.76Ssoda# device declaration in sys/conf/files 2761.150Sfvdlattach ahc at isa with ahc_isa: ahc_aic77xx, smc93cx6 2771.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 2781.56Scgd 2791.55Smycroft# 2801.55Smycroft# EISA-only drivers 2811.55Smycroft# 2821.56Scgd 2831.182Slukeminclude "dev/eisa/files.eisa" 2841.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 2851.154Sjdolecek 2861.154Sjdolecek# 2871.154Sjdolecek# MCA-only drivers 2881.154Sjdolecek# 2891.154Sjdolecek 2901.182Slukemdevice mca {[slot = -1]} : bioscall 2911.182Slukeminclude "dev/mca/files.mca" 2921.159Sjdolecekfile arch/i386/mca/mca_machdep.c mca 2931.187Sjdolecek 2941.187Sjdolecekmajor { ed = 20 } 2951.77Sjtk 2961.80Schristos# ISA Plug 'n Play devices 2971.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 2981.80Schristos 2991.80Schristosattach joy at isapnp with joy_isapnp 3001.80Schristosfile arch/i386/isa/joy_isapnp.c joy_isapnp 3011.130Sdrochner 3021.130Sdrochner# 3031.130Sdrochner# VME support 3041.130Sdrochner# 3051.182Slukeminclude "dev/vme/files.vme" 3061.77Sjtk 3071.77Sjtk# 3081.77Sjtk# Other mainbus-attached devices 3091.77Sjtk# 3101.77Sjtk 3111.77Sjtk# Advanced Power Management support (APM) 3121.182Slukemdevice apm: bioscall 3131.182Slukemattach apm at mainbus 3141.77Sjtkfile arch/i386/i386/apm.c apm needs-count 3151.89Sjtkfile arch/i386/i386/apmcall.s apm 3161.56Scgd 3171.55Smycroft# 3181.55Smycroft# Compatibility modules 3191.55Smycroft# 3201.61Smycroft 3211.61Smycroft# VM86 mode 3221.61Smycroftfile arch/i386/i386/vm86.c vm86 3231.120Smycroft 3241.120Smycroft# Binary compatibility with previous NetBSD releases (COMPAT_XX) 3251.135Smellonfile arch/i386/i386/compat_13_machdep.c compat_13 | compat_aout 3261.56Scgd 3271.59Smycroft# SVR4 binary compatibility (COMPAT_SVR4) 3281.182Slukeminclude "compat/svr4/files.svr4" 3291.59Smycroftfile arch/i386/i386/svr4_machdep.c compat_svr4 3301.173Sjdolecekfile arch/i386/i386/svr4_sigcode.s compat_svr4 3311.177Smycroftfile arch/i386/i386/svr4_syscall.c compat_svr4 3321.189Schristos 3331.189Schristos# MACH binary compatibility (COMPAT_MACH) 3341.189Schristosinclude "compat/mach/files.mach" 3351.189Schristosfile arch/i386/i386/mach_machdep.c compat_mach 3361.189Schristosfile arch/i386/i386/mach_sigcode.s compat_mach 3371.189Schristosfile arch/i386/i386/mach_syscall.c compat_mach 3381.189Schristosfile arch/i386/i386/macho_machdep.c exec_macho 3391.56Scgd 3401.59Smycroft# iBCS-2 binary compatibility (COMPAT_IBCS2) 3411.182Slukeminclude "compat/ibcs2/files.ibcs2" 3421.88Smycroftfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 3431.173Sjdolecekfile arch/i386/i386/ibcs2_sigcode.s compat_ibcs2 3441.176Sjdolecekfile arch/i386/i386/ibcs2_syscall.c compat_ibcs2 3451.56Scgd 3461.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 3471.182Slukeminclude "compat/linux/files.linux" 3481.182Slukeminclude "compat/linux/arch/i386/files.linux_i386" 3491.173Sjdolecekfile arch/i386/i386/linux_sigcode.s compat_linux 3501.176Sjdolecekfile arch/i386/i386/linux_syscall.c compat_linux 3511.188Schristosfile arch/i386/i386/linux_trap.c compat_linux 3521.58Smycroft 3531.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 3541.182Slukeminclude "compat/freebsd/files.freebsd" 3551.58Smycroftfile arch/i386/i386/freebsd_machdep.c compat_freebsd 3561.173Sjdolecekfile arch/i386/i386/freebsd_sigcode.s compat_freebsd 3571.179Sjdolecekfile arch/i386/i386/freebsd_syscall.c compat_freebsd 3581.131Schristos 3591.131Schristos# a.out binary compatibility (COMPAT_AOUT) 3601.182Slukeminclude "compat/aout/files.aout" 3611.160Smycroft 3621.160Smycroft# Win32 binary compatibility (COMPAT_PECOFF) 3631.182Slukeminclude "compat/pecoff/files.pecoff" 3641.82Saugustss 3651.82Saugustss# OSS audio driver compatibility 3661.182Slukeminclude "compat/ossaudio/files.ossaudio" 3671.91Sbouyer 3681.91Sbouyer# network devices MII bus 3691.182Slukeminclude "dev/mii/files.mii" 3701.139Shaya 3711.139Shaya# 3721.139Shaya# CARDBUS 3731.139Shaya# 3741.182Slukeminclude "dev/cardbus/files.cardbus" 3751.139Shayafile arch/i386/i386/rbus_machdep.c cardbus 3761.90Sthorpej 3771.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 3781.90Sthorpej# to be late, so devices which attach to it are attached late. But it 3791.90Sthorpej# needs to be before its isa and pci attachments. This answer is 3801.90Sthorpej# non-optimal, but I don't have a better answer right now. 3811.90Sthorpej 3821.165Sitohy# PCIC pcmcia controller 3831.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 3841.90Sthorpej# like a kludge, but it might be for the best. 3851.93Sthorpej 3861.93Sthorpejdefopt PCIC_ISA_ALLOC_IOBASE 3871.93Sthorpejdefopt PCIC_ISA_ALLOC_IOSIZE 3881.93Sthorpejdefopt PCIC_ISA_INTR_ALLOC_MASK 3891.93Sthorpej 3901.126Spkdevice pcic: pcmciabus 3911.92Sthorpejfile dev/ic/i82365.c pcic 3921.90Sthorpej 3931.114Ssommerfe# PCIC pcmcia controller on ISA bus. 3941.90Sthorpejattach pcic at isa with pcic_isa 3951.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 3961.90Sthorpej 3971.114Ssommerfe# PCIC pcmcia controller on PCI bus. 3981.90Sthorpejattach pcic at pci with pcic_pci 3991.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 4001.90Sthorpej 4011.114Ssommerfe# PCIC pcmcia controller on PnP board 4021.182Slukemattach pcic at isapnp with pcic_isapnp 4031.114Ssommerfefile dev/isapnp/i82365_isapnp.c pcic_isapnp 4041.114Ssommerfe 4051.114Ssommerfe# Code common to ISA and ISAPnP attachments 4061.127Snathanwfile dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 4071.132Sbad 4081.132Sbad# XXXX tcic here because it needs to be late. The catch: tcic needs 4091.132Sbad# to be late, so devices which attach to it are attached late. But it 4101.132Sbad# needs to be before its isa and pci attachments. This answer is 4111.132Sbad# non-optimal, but I don't have a better answer right now. 4121.132Sbad 4131.165Sitohy# TCIC pcmcia controller 4141.132Sbad# XXX this needs to be done very late, so it's done here. This feels 4151.132Sbad# like a kludge, but it might be for the best. 4161.132Sbad 4171.132Sbaddefopt TCIC_ISA_ALLOC_IOBASE 4181.132Sbaddefopt TCIC_ISA_ALLOC_IOSIZE 4191.132Sbaddefopt TCIC_ISA_INTR_ALLOC_MASK 4201.132Sbad 4211.132Sbaddevice tcic: pcmciabus 4221.132Sbadfile dev/ic/tcic2.c tcic 4231.132Sbad 4241.165Sitohy# TCIC pcmcia controller 4251.132Sbadattach tcic at isa with tcic_isa 4261.132Sbadfile dev/isa/tcic2_isa.c tcic_isa 4271.90Sthorpej 4281.90Sthorpej# this wants to be probed as late as possible. 4291.90Sthorpej# 4301.90Sthorpej# Machine-independent PCMCIA drivers 4311.90Sthorpej# 4321.182Slukeminclude "dev/pcmcia/files.pcmcia" 4331.90Sthorpej 4341.90Sthorpej 4351.182Slukeminclude "dev/usb/files.usb" 4361.170Sonoe 4371.182Slukeminclude "dev/ieee1394/files.ieee1394" 4381.141Sdrochner 4391.182Slukeminclude "arch/i386/pnpbios/files.pnpbios" 440