files.i386 revision 1.166
11.166Sthorpej# $NetBSD: files.i386,v 1.166 2000/09/07 17:20:58 thorpej 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.125Sthorpejdefopt opt_apm.h APM_DISABLE APM_FORCE_64K_SEGMENTS APM_NO_IDLE 131.136Sdrochner APM_NO_STANDBY APM_V10_ONLY APM_NO_V12 APMDEBUG APMDEBUG_VALUE 141.161Sgmcgarry APM_POWER_PRINT APM_DISABLE_INTERRUPTS APM_ALLOW_BOGUS_SEGMENTS 151.100Sthorpej 161.100Sthorpej# Processor type options. 171.100Sthorpejdefopt opt_cputype.h I386_CPU I486_CPU I586_CPU I686_CPU 181.124Sbouyer 191.124Sbouyer# delay before cpu_reset() for reboot. 201.124Sbouyerdefopt CPURESET_DELAY 211.101Sthorpej 221.101Sthorpej# VM86 emulation 231.101Sthorpejdefopt VM86 241.102Sthorpej 251.102Sthorpej# Floating point emulation 261.102Sthorpejdefopt MATH_EMULATE 271.103Sthorpej 281.103Sthorpej# User-settable LDT (used by WINE) 291.103Sthorpejdefopt USER_LDT 301.104Sthorpej 311.104Sthorpej# Speed hack; make NOPs dummies (might break on some machines) 321.104Sthorpejdefopt DUMMY_NOPS 331.105Sthorpej 341.105Sthorpej# X server support in console drivers 351.118Srvbdefopt opt_xserver.h XSERVER XSERVER_DDB 361.140Sdrochner 371.140Sdrochner# understand boot device passed by pre-1.3 bootblocks 381.140Sdrochnerdefopt COMPAT_OLDBOOT 391.98Sthorpej 401.142Sthorpej# PCI BIOS options 411.164Ssodadefopt opt_pcibios.h PCIBIOS PCIBIOSVERBOSE 421.164Ssoda PCIBIOS_ADDR_FIXUP PCIBIOS_BUS_FIXUP 431.164Ssoda PCIBIOS_INTR_FIXUP PCIBIOS_INTR_FIXUP_FORCE 441.164Ssoda PCIBIOS_INTR_GUESS PCIBIOS_IRQS_HINT PCIINTR_DEBUG 451.166Sthorpej 461.166Sthorpej# Large page size 471.166Sthorpejdefopt LARGEPAGES 481.142Sthorpej 491.56Scgdfile arch/i386/i386/autoconf.c 501.146Sdrochnerfile arch/i386/i386/bus_machdep.c 511.56Scgdfile arch/i386/i386/conf.c 521.145Sdrochnerfile arch/i386/i386/consinit.c 531.119Srvbfile arch/i386/i386/db_dbgreg.s ddb 541.56Scgdfile arch/i386/i386/db_disasm.c ddb 551.56Scgdfile arch/i386/i386/db_interface.c ddb 561.85Sthorpejfile arch/i386/i386/db_memrw.c ddb | kgdb 571.56Scgdfile arch/i386/i386/db_trace.c ddb 581.56Scgdfile arch/i386/i386/disksubr.c disk 591.60Smycroftfile arch/i386/i386/gdt.c 601.74Smycroftfile arch/i386/i386/in_cksum.s inet 611.147Sthorpejfile netinet/in4_cksum.c inet 621.152Swsfile arch/i386/i386/ipkdb_glue.c ipkdb 631.85Sthorpejfile arch/i386/i386/kgdb_machdep.c kgdb 641.56Scgdfile arch/i386/i386/machdep.c 651.56Scgdfile arch/i386/i386/math_emulate.c math_emulate 661.56Scgdfile arch/i386/i386/mem.c 671.56Scgdfile arch/i386/i386/microtime.s 681.154Sjdolecekfile netns/ns_cksum.c ns 691.134Sthorpejfile arch/i386/i386/pmap.c 701.56Scgdfile arch/i386/i386/process_machdep.c 711.56Scgdfile arch/i386/i386/sys_machdep.c 721.56Scgdfile arch/i386/i386/trap.c 731.56Scgdfile arch/i386/i386/vm_machdep.c 741.56Scgdfile dev/cons.c 751.56Scgd 761.56Scgd# 771.56Scgd# Machine-independent SCSI drivers 781.56Scgd# 791.56Scgd 801.98Sthorpejinclude "dev/scsipi/files.scsipi" 811.56Scgdmajor {sd = 4} 821.56Scgdmajor {cd = 6} 831.69Sperry 841.97Scgd# 851.97Scgd# Machine-independent ATA drivers 861.97Scgd# 871.97Scgd 881.98Sthorpejinclude "dev/ata/files.ata" 891.97Scgdmajor {wd = 0} 901.97Scgd 911.79Spk# Memory Disk for install floppy 921.79Spkfile arch/i386/i386/md_root.c memory_disk_hooks 931.79Spkmajor {md = 17} 941.149Soster 951.149Soster# RAIDframe 961.149Sostermajor {raid = 18} 971.151Sad 981.151Sad# Compaq arrays 991.151Sadmajor {ca = 19} 1001.56Scgd 1011.142Sthorpej# attribute used to bring in BIOS trampoline code for real-mode probing 1021.142Sthorpej# of certain devices/BIOS features 1031.142Sthorpejdefine bioscall 1041.142Sthorpejfile arch/i386/i386/bioscall.s bioscall needs-flag 1051.142Sthorpej 1061.142Sthorpej# BIOS32 routines 1071.142Sthorpejdefine bios32 1081.142Sthorpejfile arch/i386/i386/bios32.c bios32 needs-flag 1091.142Sthorpej 1101.56Scgd# 1111.56Scgd# System bus types 1121.56Scgd# 1131.65Scgd 1141.77Sjtkdefine mainbus { } 1151.142Sthorpej# XXX BIOS32 only if something that uses it is configured! 1161.159Sjdolecekdevice mainbus: isabus, eisabus, mcabus, pcibus, mainbus, bios32 1171.67Sthorpejattach mainbus at root 1181.65Scgdfile arch/i386/i386/mainbus.c mainbus 1191.56Scgd 1201.55Smycroft# 1211.64Scgd# PCI-only drivers 1221.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 1231.64Scgd# XXX devices to 'pci'. 1241.64Scgd# 1251.64Scgd 1261.98Sthorpejinclude "dev/pci/files.pci" 1271.64Scgdfile arch/i386/pci/pci_machdep.c pci 1281.142Sthorpejfile arch/i386/pci/pcibios.c pcibios 1291.142Sthorpejfile arch/i386/pci/pci_intr_fixup.c pcibios & pcibios_intr_fixup 1301.142Sthorpejfile arch/i386/pci/piix.c pcibios & pcibios_intr_fixup 1311.142Sthorpejfile arch/i386/pci/opti82c558.c pcibios & pcibios_intr_fixup 1321.142Sthorpejfile arch/i386/pci/opti82c700.c pcibios & pcibios_intr_fixup 1331.142Sthorpejfile arch/i386/pci/sis85c503.c pcibios & pcibios_intr_fixup 1341.142Sthorpejfile arch/i386/pci/via82c586.c pcibios & pcibios_intr_fixup 1351.143Sthorpejfile arch/i386/pci/pci_bus_fixup.c pcibios & pcibios_bus_fixup 1361.158Suchfile arch/i386/pci/pci_addr_fixup.c pcibios & pcibios_addr_fixup 1371.129Sdrochnerdefopt PCI_CONF_MODE 1381.110Scgdfile arch/i386/pci/pciide_machdep.c pciide 1391.127Snathanwfile arch/i386/pci/pcic_pci_machdep.c pcic_pci 1401.78Sthorpej 1411.78Sthorpej# PCI-Host bridge chipsets 1421.108Sthorpejdevice pchb: pcibus 1431.78Sthorpejattach pchb at pci 1441.78Sthorpejfile arch/i386/pci/pchb.c pchb 1451.107Sthorpej 1461.107Sthorpej# PCI-EISA bridges 1471.108Sthorpejdevice pceb: eisabus, isabus 1481.107Sthorpejattach pceb at pci 1491.107Sthorpejfile arch/i386/pci/pceb.c pceb 1501.78Sthorpej 1511.78Sthorpej# PCI-ISA bridges 1521.108Sthorpejdevice pcib: isabus 1531.78Sthorpejattach pcib at pci 1541.78Sthorpejfile arch/i386/pci/pcib.c pcib 1551.64Scgd 1561.153Smartin# Game adapter (joystick) 1571.153Smartindevice joy 1581.153Smartinfile arch/i386/isa/joy.c joy needs-flag 1591.153Smartin 1601.153Smartin# PCI joysticks 1611.153Smartinattach joy at pci with pci_joy 1621.153Smartinfile arch/i386/pci/joy_pci.c pci_joy 1631.153Smartin 1641.64Scgd# 1651.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 1661.55Smycroft# 1671.56Scgd 1681.98Sthorpejinclude "dev/isa/files.isa" 1691.56Scgdmajor {mcd = 7} 1701.56Scgd#major {scd = 15} 1711.115Scgd 1721.115Scgd# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 1731.115Scgd# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 1741.115Scgd# XXX (when the conf/files and files.isa bogons are fixed, this can 1751.115Scgd# XXX be fixed as well.) 1761.115Scgd 1771.115Scgdattach lpt at puc with lpt_puc 1781.115Scgdfile dev/pci/lpt_puc.c lpt_puc 1791.56Scgd 1801.56Scgdfile arch/i386/isa/isa_machdep.c isa 1811.56Scgd 1821.56Scgd# PC clock 1831.56Scgdfile arch/i386/isa/clock.c isa 1841.130Sdrochnerfile dev/clock_subr.c isa 1851.56Scgd 1861.56Scgd# Numeric Processing Extension; Math Co-processor 1871.108Sthorpejdevice npx 1881.56Scgdfile arch/i386/isa/npx.c npx needs-flag 1891.163Sthorpej 1901.163Sthorpejattach npx at isa with npx_isa 1911.163Sthorpejfile arch/i386/isa/npx_isa.c npx_isa 1921.56Scgd 1931.66Sthorpej# attribute used to represent the "keyboard controller" 1941.66Sthorpej# XXX should be a real device 1951.111Sdrochnerdefine pckbcport { [irq = -1], [port = -1] } 1961.66Sthorpej 1971.56Scgd# PC console support a la "pccons" 1981.111Sdrochnerdevice pc: tty, pckbcport 1991.67Sthorpejattach pc at isa 2001.111Sdrochnerdevice pcconskbd 2011.111Sdrochnerattach pcconskbd at pckbc 2021.111Sdrochnerfile arch/i386/isa/pccons.c pc | pcconskbd needs-flag 2031.56Scgd 2041.56Scgd# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 2051.128Sdrochnerdevice olms 2061.128Sdrochnerattach olms at isa 2071.128Sdrochnerfile arch/i386/isa/olms.c olms needs-flag 2081.128Sdrochnerdevice lms: wsmousedev 2091.67Sthorpejattach lms at isa 2101.128Sdrochnerfile arch/i386/isa/lms.c lms 2111.128Sdrochnerdevice omms 2121.128Sdrochnerattach omms at isa 2131.128Sdrochnerfile arch/i386/isa/omms.c omms needs-flag 2141.128Sdrochnerdevice mms: wsmousedev 2151.67Sthorpejattach mms at isa 2161.128Sdrochnerfile arch/i386/isa/mms.c mms 2171.128Sdrochnerdevice opms 2181.128Sdrochnerattach opms at pckbcport with opms_hack 2191.128Sdrochnerattach opms at pckbc with opms_pckbc 2201.128Sdrochnerfile arch/i386/isa/pms.c opms | opms_hack | opms_pckbc needs-flag 2211.111Sdrochner 2221.111Sdrochnerinclude "dev/wscons/files.wscons" 2231.111Sdrochner 2241.111Sdrochnerinclude "dev/pckbc/files.pckbc" 2251.113Sdrochner 2261.113Sdrochnerdevice sysbeep 2271.113Sdrochnerattach sysbeep at pcppi 2281.111Sdrochner 2291.56Scgd# Floppy disk controller 2301.157Sthorpejdevice fdc {drive = -1}: isadma 2311.157Sthorpejfile dev/isa/fd.c fdc needs-flag 2321.157Sthorpej 2331.157Sthorpejattach fdc at isa with fdc_isa 2341.157Sthorpejfile dev/isa/fdc_isa.c fdc_isa 2351.157Sthorpej 2361.157Sthorpejdevice fd: disk 2371.67Sthorpejattach fd at fdc 2381.56Scgdmajor {fd = 2} 2391.76Ssoda 2401.80Schristosattach joy at isa with joy_isa 2411.80Schristosfile arch/i386/isa/joy_isa.c joy_isa 2421.80Schristos 2431.76Ssoda# Adaptec AHA-284x VL SCSI controllers 2441.76Ssoda# device declaration in sys/conf/files 2451.150Sfvdlattach ahc at isa with ahc_isa: ahc_aic77xx, smc93cx6 2461.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 2471.56Scgd 2481.55Smycroft# 2491.55Smycroft# EISA-only drivers 2501.55Smycroft# 2511.56Scgd 2521.98Sthorpejinclude "dev/eisa/files.eisa" 2531.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 2541.154Sjdolecek 2551.154Sjdolecek# 2561.154Sjdolecek# MCA-only drivers 2571.154Sjdolecek# 2581.154Sjdolecek 2591.159Sjdolecekdevice mca {[slot = -1]} : bioscall 2601.159Sjdolecekinclude "dev/mca/files.mca" 2611.159Sjdolecekfile arch/i386/mca/mca_machdep.c mca 2621.77Sjtk 2631.80Schristos# ISA Plug 'n Play devices 2641.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 2651.80Schristos 2661.80Schristosattach joy at isapnp with joy_isapnp 2671.80Schristosfile arch/i386/isa/joy_isapnp.c joy_isapnp 2681.130Sdrochner 2691.130Sdrochner# 2701.130Sdrochner# VME support 2711.130Sdrochner# 2721.130Sdrochnerinclude "dev/vme/files.vme" 2731.77Sjtk 2741.77Sjtk# 2751.77Sjtk# Other mainbus-attached devices 2761.77Sjtk# 2771.77Sjtk 2781.77Sjtk# Advanced Power Management support (APM) 2791.108Sthorpejdevice apm: bioscall 2801.77Sjtkattach apm at mainbus 2811.77Sjtkfile arch/i386/i386/apm.c apm needs-count 2821.89Sjtkfile arch/i386/i386/apmcall.s apm 2831.56Scgd 2841.55Smycroft# 2851.55Smycroft# Compatibility modules 2861.55Smycroft# 2871.61Smycroft 2881.61Smycroft# VM86 mode 2891.61Smycroftfile arch/i386/i386/vm86.c vm86 2901.120Smycroft 2911.120Smycroft# Binary compatibility with previous NetBSD releases (COMPAT_XX) 2921.135Smellonfile arch/i386/i386/compat_13_machdep.c compat_13 | compat_aout 2931.56Scgd 2941.59Smycroft# SVR4 binary compatibility (COMPAT_SVR4) 2951.98Sthorpejinclude "compat/svr4/files.svr4" 2961.59Smycroftfile arch/i386/i386/svr4_machdep.c compat_svr4 2971.56Scgd 2981.59Smycroft# iBCS-2 binary compatibility (COMPAT_IBCS2) 2991.98Sthorpejinclude "compat/ibcs2/files.ibcs2" 3001.88Smycroftfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 3011.56Scgd 3021.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 3031.98Sthorpejinclude "compat/linux/files.linux" 3041.122Sfvdlinclude "compat/linux/arch/i386/files.linux_i386" 3051.58Smycroft 3061.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 3071.98Sthorpejinclude "compat/freebsd/files.freebsd" 3081.58Smycroftfile arch/i386/i386/freebsd_machdep.c compat_freebsd 3091.131Schristos 3101.131Schristos# a.out binary compatibility (COMPAT_AOUT) 3111.131Schristosinclude "compat/aout/files.aout" 3121.160Smycroft 3131.160Smycroft# Win32 binary compatibility (COMPAT_PECOFF) 3141.160Smycroftinclude "compat/pecoff/files.pecoff" 3151.82Saugustss 3161.82Saugustss# OSS audio driver compatibility 3171.98Sthorpejinclude "compat/ossaudio/files.ossaudio" 3181.91Sbouyer 3191.91Sbouyer# network devices MII bus 3201.98Sthorpejinclude "dev/mii/files.mii" 3211.139Shaya 3221.139Shaya# 3231.139Shaya# CARDBUS 3241.139Shaya# 3251.139Shayainclude "dev/cardbus/files.cardbus" 3261.139Shayafile arch/i386/i386/rbus_machdep.c cardbus 3271.90Sthorpej 3281.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 3291.90Sthorpej# to be late, so devices which attach to it are attached late. But it 3301.90Sthorpej# needs to be before its isa and pci attachments. This answer is 3311.90Sthorpej# non-optimal, but I don't have a better answer right now. 3321.90Sthorpej 3331.165Sitohy# PCIC pcmcia controller 3341.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 3351.90Sthorpej# like a kludge, but it might be for the best. 3361.93Sthorpej 3371.93Sthorpejdefopt PCIC_ISA_ALLOC_IOBASE 3381.93Sthorpejdefopt PCIC_ISA_ALLOC_IOSIZE 3391.93Sthorpejdefopt PCIC_ISA_INTR_ALLOC_MASK 3401.93Sthorpej 3411.126Spkdevice pcic: pcmciabus 3421.92Sthorpejfile dev/ic/i82365.c pcic 3431.90Sthorpej 3441.114Ssommerfe# PCIC pcmcia controller on ISA bus. 3451.90Sthorpejattach pcic at isa with pcic_isa 3461.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 3471.90Sthorpej 3481.114Ssommerfe# PCIC pcmcia controller on PCI bus. 3491.90Sthorpejattach pcic at pci with pcic_pci 3501.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 3511.90Sthorpej 3521.114Ssommerfe# PCIC pcmcia controller on PnP board 3531.114Ssommerfeattach pcic at isapnp with pcic_isapnp 3541.114Ssommerfefile dev/isapnp/i82365_isapnp.c pcic_isapnp 3551.114Ssommerfe 3561.114Ssommerfe# Code common to ISA and ISAPnP attachments 3571.127Snathanwfile dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 3581.132Sbad 3591.132Sbad# XXXX tcic here because it needs to be late. The catch: tcic needs 3601.132Sbad# to be late, so devices which attach to it are attached late. But it 3611.132Sbad# needs to be before its isa and pci attachments. This answer is 3621.132Sbad# non-optimal, but I don't have a better answer right now. 3631.132Sbad 3641.165Sitohy# TCIC pcmcia controller 3651.132Sbad# XXX this needs to be done very late, so it's done here. This feels 3661.132Sbad# like a kludge, but it might be for the best. 3671.132Sbad 3681.132Sbaddefopt TCIC_ISA_ALLOC_IOBASE 3691.132Sbaddefopt TCIC_ISA_ALLOC_IOSIZE 3701.132Sbaddefopt TCIC_ISA_INTR_ALLOC_MASK 3711.132Sbad 3721.132Sbaddevice tcic: pcmciabus 3731.132Sbadfile dev/ic/tcic2.c tcic 3741.132Sbad 3751.165Sitohy# TCIC pcmcia controller 3761.132Sbadattach tcic at isa with tcic_isa 3771.132Sbadfile dev/isa/tcic2_isa.c tcic_isa 3781.90Sthorpej 3791.90Sthorpej# this wants to be probed as late as possible. 3801.90Sthorpej# 3811.90Sthorpej# Machine-independent PCMCIA drivers 3821.90Sthorpej# 3831.90Sthorpejinclude "dev/pcmcia/files.pcmcia" 3841.90Sthorpej 3851.90Sthorpej 3861.116Saugustssinclude "dev/usb/files.usb" 3871.141Sdrochner 3881.141Sdrochnerinclude "arch/i386/pnpbios/files.pnpbios" 389