files.i386 revision 1.176
11.176Sjdolecek# $NetBSD: files.i386,v 1.176 2000/12/02 16:03:23 jdolecek 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.167Sthorpej# Performance counter support 351.167Sthorpejdefopt PERFCTRS 361.167Sthorpej 371.105Sthorpej# X server support in console drivers 381.118Srvbdefopt opt_xserver.h XSERVER XSERVER_DDB 391.140Sdrochner 401.140Sdrochner# understand boot device passed by pre-1.3 bootblocks 411.140Sdrochnerdefopt COMPAT_OLDBOOT 421.98Sthorpej 431.142Sthorpej# PCI BIOS options 441.164Ssodadefopt opt_pcibios.h PCIBIOS PCIBIOSVERBOSE 451.164Ssoda PCIBIOS_ADDR_FIXUP PCIBIOS_BUS_FIXUP 461.164Ssoda PCIBIOS_INTR_FIXUP PCIBIOS_INTR_FIXUP_FORCE 471.164Ssoda PCIBIOS_INTR_GUESS PCIBIOS_IRQS_HINT PCIINTR_DEBUG 481.166Sthorpej 491.166Sthorpej# Large page size 501.166Sthorpejdefopt LARGEPAGES 511.142Sthorpej 521.56Scgdfile arch/i386/i386/autoconf.c 531.146Sdrochnerfile arch/i386/i386/bus_machdep.c 541.56Scgdfile arch/i386/i386/conf.c 551.145Sdrochnerfile arch/i386/i386/consinit.c 561.119Srvbfile arch/i386/i386/db_dbgreg.s ddb 571.56Scgdfile arch/i386/i386/db_disasm.c ddb 581.56Scgdfile arch/i386/i386/db_interface.c ddb 591.85Sthorpejfile arch/i386/i386/db_memrw.c ddb | kgdb 601.56Scgdfile arch/i386/i386/db_trace.c ddb 611.56Scgdfile arch/i386/i386/disksubr.c disk 621.60Smycroftfile arch/i386/i386/gdt.c 631.74Smycroftfile arch/i386/i386/in_cksum.s inet 641.147Sthorpejfile netinet/in4_cksum.c inet 651.152Swsfile arch/i386/i386/ipkdb_glue.c ipkdb 661.85Sthorpejfile arch/i386/i386/kgdb_machdep.c kgdb 671.56Scgdfile arch/i386/i386/machdep.c 681.56Scgdfile arch/i386/i386/math_emulate.c math_emulate 691.56Scgdfile arch/i386/i386/mem.c 701.56Scgdfile arch/i386/i386/microtime.s 711.154Sjdolecekfile netns/ns_cksum.c ns 721.134Sthorpejfile arch/i386/i386/pmap.c 731.56Scgdfile arch/i386/i386/process_machdep.c 741.56Scgdfile arch/i386/i386/sys_machdep.c 751.56Scgdfile arch/i386/i386/trap.c 761.56Scgdfile arch/i386/i386/vm_machdep.c 771.56Scgdfile dev/cons.c 781.167Sthorpej 791.167Sthorpejfile arch/i386/i386/pmc.c perfctrs 801.56Scgd 811.56Scgd# 821.56Scgd# Machine-independent SCSI drivers 831.56Scgd# 841.56Scgd 851.98Sthorpejinclude "dev/scsipi/files.scsipi" 861.56Scgdmajor {sd = 4} 871.56Scgdmajor {cd = 6} 881.69Sperry 891.97Scgd# 901.97Scgd# Machine-independent ATA drivers 911.97Scgd# 921.97Scgd 931.98Sthorpejinclude "dev/ata/files.ata" 941.97Scgdmajor {wd = 0} 951.97Scgd 961.79Spk# Memory Disk for install floppy 971.79Spkfile arch/i386/i386/md_root.c memory_disk_hooks 981.79Spkmajor {md = 17} 991.149Soster 1001.149Soster# RAIDframe 1011.149Sostermajor {raid = 18} 1021.151Sad 1031.174Sad# Logical disk 1041.174Sadmajor {ld = 19} 1051.171Sad 1061.171Sad# 1071.171Sad# Machine-independent I2O drivers 1081.171Sad# 1091.171Sad 1101.171Sadinclude "dev/i2o/files.i2o" 1111.56Scgd 1121.142Sthorpej# attribute used to bring in BIOS trampoline code for real-mode probing 1131.142Sthorpej# of certain devices/BIOS features 1141.142Sthorpejdefine bioscall 1151.142Sthorpejfile arch/i386/i386/bioscall.s bioscall needs-flag 1161.142Sthorpej 1171.142Sthorpej# BIOS32 routines 1181.142Sthorpejdefine bios32 1191.142Sthorpejfile arch/i386/i386/bios32.c bios32 needs-flag 1201.142Sthorpej 1211.56Scgd# 1221.56Scgd# System bus types 1231.56Scgd# 1241.65Scgd 1251.77Sjtkdefine mainbus { } 1261.142Sthorpej# XXX BIOS32 only if something that uses it is configured! 1271.159Sjdolecekdevice mainbus: isabus, eisabus, mcabus, pcibus, mainbus, bios32 1281.67Sthorpejattach mainbus at root 1291.65Scgdfile arch/i386/i386/mainbus.c mainbus 1301.56Scgd 1311.55Smycroft# 1321.64Scgd# PCI-only drivers 1331.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 1341.64Scgd# XXX devices to 'pci'. 1351.64Scgd# 1361.64Scgd 1371.98Sthorpejinclude "dev/pci/files.pci" 1381.64Scgdfile arch/i386/pci/pci_machdep.c pci 1391.142Sthorpejfile arch/i386/pci/pcibios.c pcibios 1401.142Sthorpejfile arch/i386/pci/pci_intr_fixup.c pcibios & pcibios_intr_fixup 1411.142Sthorpejfile arch/i386/pci/piix.c pcibios & pcibios_intr_fixup 1421.142Sthorpejfile arch/i386/pci/opti82c558.c pcibios & pcibios_intr_fixup 1431.142Sthorpejfile arch/i386/pci/opti82c700.c pcibios & pcibios_intr_fixup 1441.142Sthorpejfile arch/i386/pci/sis85c503.c pcibios & pcibios_intr_fixup 1451.142Sthorpejfile arch/i386/pci/via82c586.c pcibios & pcibios_intr_fixup 1461.143Sthorpejfile arch/i386/pci/pci_bus_fixup.c pcibios & pcibios_bus_fixup 1471.158Suchfile arch/i386/pci/pci_addr_fixup.c pcibios & pcibios_addr_fixup 1481.129Sdrochnerdefopt PCI_CONF_MODE 1491.110Scgdfile arch/i386/pci/pciide_machdep.c pciide 1501.127Snathanwfile arch/i386/pci/pcic_pci_machdep.c pcic_pci 1511.78Sthorpej 1521.78Sthorpej# PCI-Host bridge chipsets 1531.108Sthorpejdevice pchb: pcibus 1541.78Sthorpejattach pchb at pci 1551.78Sthorpejfile arch/i386/pci/pchb.c pchb 1561.169Sthorpejfile arch/i386/pci/pchb_rnd.c pchb & rnd 1571.107Sthorpej 1581.107Sthorpej# PCI-EISA bridges 1591.108Sthorpejdevice pceb: eisabus, isabus 1601.107Sthorpejattach pceb at pci 1611.107Sthorpejfile arch/i386/pci/pceb.c pceb 1621.78Sthorpej 1631.78Sthorpej# PCI-ISA bridges 1641.108Sthorpejdevice pcib: isabus 1651.78Sthorpejattach pcib at pci 1661.78Sthorpejfile arch/i386/pci/pcib.c pcib 1671.64Scgd 1681.153Smartin# Game adapter (joystick) 1691.153Smartindevice joy 1701.153Smartinfile arch/i386/isa/joy.c joy needs-flag 1711.153Smartin 1721.153Smartin# PCI joysticks 1731.153Smartinattach joy at pci with pci_joy 1741.153Smartinfile arch/i386/pci/joy_pci.c pci_joy 1751.153Smartin 1761.64Scgd# 1771.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 1781.55Smycroft# 1791.56Scgd 1801.98Sthorpejinclude "dev/isa/files.isa" 1811.56Scgdmajor {mcd = 7} 1821.56Scgd#major {scd = 15} 1831.115Scgd 1841.115Scgd# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 1851.115Scgd# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 1861.115Scgd# XXX (when the conf/files and files.isa bogons are fixed, this can 1871.115Scgd# XXX be fixed as well.) 1881.115Scgd 1891.115Scgdattach lpt at puc with lpt_puc 1901.115Scgdfile dev/pci/lpt_puc.c lpt_puc 1911.56Scgd 1921.56Scgdfile arch/i386/isa/isa_machdep.c isa 1931.56Scgd 1941.56Scgd# PC clock 1951.56Scgdfile arch/i386/isa/clock.c isa 1961.130Sdrochnerfile dev/clock_subr.c isa 1971.56Scgd 1981.56Scgd# Numeric Processing Extension; Math Co-processor 1991.108Sthorpejdevice npx 2001.56Scgdfile arch/i386/isa/npx.c npx needs-flag 2011.163Sthorpej 2021.163Sthorpejattach npx at isa with npx_isa 2031.163Sthorpejfile arch/i386/isa/npx_isa.c npx_isa 2041.56Scgd 2051.66Sthorpej# attribute used to represent the "keyboard controller" 2061.66Sthorpej# XXX should be a real device 2071.111Sdrochnerdefine pckbcport { [irq = -1], [port = -1] } 2081.66Sthorpej 2091.56Scgd# PC console support a la "pccons" 2101.111Sdrochnerdevice pc: tty, pckbcport 2111.67Sthorpejattach pc at isa 2121.111Sdrochnerdevice pcconskbd 2131.111Sdrochnerattach pcconskbd at pckbc 2141.111Sdrochnerfile arch/i386/isa/pccons.c pc | pcconskbd needs-flag 2151.56Scgd 2161.56Scgd# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 2171.128Sdrochnerdevice olms 2181.128Sdrochnerattach olms at isa 2191.128Sdrochnerfile arch/i386/isa/olms.c olms needs-flag 2201.128Sdrochnerdevice lms: wsmousedev 2211.67Sthorpejattach lms at isa 2221.128Sdrochnerfile arch/i386/isa/lms.c lms 2231.128Sdrochnerdevice omms 2241.128Sdrochnerattach omms at isa 2251.128Sdrochnerfile arch/i386/isa/omms.c omms needs-flag 2261.128Sdrochnerdevice mms: wsmousedev 2271.67Sthorpejattach mms at isa 2281.128Sdrochnerfile arch/i386/isa/mms.c mms 2291.128Sdrochnerdevice opms 2301.128Sdrochnerattach opms at pckbcport with opms_hack 2311.128Sdrochnerattach opms at pckbc with opms_pckbc 2321.128Sdrochnerfile arch/i386/isa/pms.c opms | opms_hack | opms_pckbc needs-flag 2331.111Sdrochner 2341.111Sdrochnerinclude "dev/wscons/files.wscons" 2351.111Sdrochner 2361.111Sdrochnerinclude "dev/pckbc/files.pckbc" 2371.113Sdrochner 2381.113Sdrochnerdevice sysbeep 2391.113Sdrochnerattach sysbeep at pcppi 2401.111Sdrochner 2411.56Scgd# Floppy disk controller 2421.157Sthorpejdevice fdc {drive = -1}: isadma 2431.157Sthorpejfile dev/isa/fd.c fdc needs-flag 2441.157Sthorpej 2451.157Sthorpejattach fdc at isa with fdc_isa 2461.157Sthorpejfile dev/isa/fdc_isa.c fdc_isa 2471.157Sthorpej 2481.157Sthorpejdevice fd: disk 2491.67Sthorpejattach fd at fdc 2501.56Scgdmajor {fd = 2} 2511.76Ssoda 2521.80Schristosattach joy at isa with joy_isa 2531.80Schristosfile arch/i386/isa/joy_isa.c joy_isa 2541.80Schristos 2551.76Ssoda# Adaptec AHA-284x VL SCSI controllers 2561.76Ssoda# device declaration in sys/conf/files 2571.150Sfvdlattach ahc at isa with ahc_isa: ahc_aic77xx, smc93cx6 2581.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 2591.56Scgd 2601.55Smycroft# 2611.55Smycroft# EISA-only drivers 2621.55Smycroft# 2631.56Scgd 2641.98Sthorpejinclude "dev/eisa/files.eisa" 2651.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 2661.154Sjdolecek 2671.154Sjdolecek# 2681.154Sjdolecek# MCA-only drivers 2691.154Sjdolecek# 2701.154Sjdolecek 2711.159Sjdolecekdevice mca {[slot = -1]} : bioscall 2721.159Sjdolecekinclude "dev/mca/files.mca" 2731.159Sjdolecekfile arch/i386/mca/mca_machdep.c mca 2741.77Sjtk 2751.80Schristos# ISA Plug 'n Play devices 2761.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 2771.80Schristos 2781.80Schristosattach joy at isapnp with joy_isapnp 2791.80Schristosfile arch/i386/isa/joy_isapnp.c joy_isapnp 2801.130Sdrochner 2811.130Sdrochner# 2821.130Sdrochner# VME support 2831.130Sdrochner# 2841.130Sdrochnerinclude "dev/vme/files.vme" 2851.77Sjtk 2861.77Sjtk# 2871.77Sjtk# Other mainbus-attached devices 2881.77Sjtk# 2891.77Sjtk 2901.77Sjtk# Advanced Power Management support (APM) 2911.108Sthorpejdevice apm: bioscall 2921.77Sjtkattach apm at mainbus 2931.77Sjtkfile arch/i386/i386/apm.c apm needs-count 2941.89Sjtkfile arch/i386/i386/apmcall.s apm 2951.56Scgd 2961.55Smycroft# 2971.55Smycroft# Compatibility modules 2981.55Smycroft# 2991.61Smycroft 3001.61Smycroft# VM86 mode 3011.61Smycroftfile arch/i386/i386/vm86.c vm86 3021.120Smycroft 3031.120Smycroft# Binary compatibility with previous NetBSD releases (COMPAT_XX) 3041.135Smellonfile arch/i386/i386/compat_13_machdep.c compat_13 | compat_aout 3051.56Scgd 3061.59Smycroft# SVR4 binary compatibility (COMPAT_SVR4) 3071.98Sthorpejinclude "compat/svr4/files.svr4" 3081.59Smycroftfile arch/i386/i386/svr4_machdep.c compat_svr4 3091.173Sjdolecekfile arch/i386/i386/svr4_sigcode.s compat_svr4 3101.56Scgd 3111.59Smycroft# iBCS-2 binary compatibility (COMPAT_IBCS2) 3121.98Sthorpejinclude "compat/ibcs2/files.ibcs2" 3131.88Smycroftfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 3141.173Sjdolecekfile arch/i386/i386/ibcs2_sigcode.s compat_ibcs2 3151.176Sjdolecekfile arch/i386/i386/ibcs2_syscall.c compat_ibcs2 3161.56Scgd 3171.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 3181.98Sthorpejinclude "compat/linux/files.linux" 3191.122Sfvdlinclude "compat/linux/arch/i386/files.linux_i386" 3201.173Sjdolecekfile arch/i386/i386/linux_sigcode.s compat_linux 3211.176Sjdolecekfile arch/i386/i386/linux_syscall.c compat_linux 3221.58Smycroft 3231.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 3241.98Sthorpejinclude "compat/freebsd/files.freebsd" 3251.58Smycroftfile arch/i386/i386/freebsd_machdep.c compat_freebsd 3261.173Sjdolecekfile arch/i386/i386/freebsd_sigcode.s compat_freebsd 3271.131Schristos 3281.131Schristos# a.out binary compatibility (COMPAT_AOUT) 3291.131Schristosinclude "compat/aout/files.aout" 3301.160Smycroft 3311.160Smycroft# Win32 binary compatibility (COMPAT_PECOFF) 3321.160Smycroftinclude "compat/pecoff/files.pecoff" 3331.82Saugustss 3341.82Saugustss# OSS audio driver compatibility 3351.98Sthorpejinclude "compat/ossaudio/files.ossaudio" 3361.91Sbouyer 3371.91Sbouyer# network devices MII bus 3381.98Sthorpejinclude "dev/mii/files.mii" 3391.139Shaya 3401.139Shaya# 3411.139Shaya# CARDBUS 3421.139Shaya# 3431.139Shayainclude "dev/cardbus/files.cardbus" 3441.139Shayafile arch/i386/i386/rbus_machdep.c cardbus 3451.90Sthorpej 3461.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 3471.90Sthorpej# to be late, so devices which attach to it are attached late. But it 3481.90Sthorpej# needs to be before its isa and pci attachments. This answer is 3491.90Sthorpej# non-optimal, but I don't have a better answer right now. 3501.90Sthorpej 3511.165Sitohy# PCIC pcmcia controller 3521.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 3531.90Sthorpej# like a kludge, but it might be for the best. 3541.93Sthorpej 3551.93Sthorpejdefopt PCIC_ISA_ALLOC_IOBASE 3561.93Sthorpejdefopt PCIC_ISA_ALLOC_IOSIZE 3571.93Sthorpejdefopt PCIC_ISA_INTR_ALLOC_MASK 3581.93Sthorpej 3591.126Spkdevice pcic: pcmciabus 3601.92Sthorpejfile dev/ic/i82365.c pcic 3611.90Sthorpej 3621.114Ssommerfe# PCIC pcmcia controller on ISA bus. 3631.90Sthorpejattach pcic at isa with pcic_isa 3641.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 3651.90Sthorpej 3661.114Ssommerfe# PCIC pcmcia controller on PCI bus. 3671.90Sthorpejattach pcic at pci with pcic_pci 3681.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 3691.90Sthorpej 3701.114Ssommerfe# PCIC pcmcia controller on PnP board 3711.114Ssommerfeattach pcic at isapnp with pcic_isapnp 3721.114Ssommerfefile dev/isapnp/i82365_isapnp.c pcic_isapnp 3731.114Ssommerfe 3741.114Ssommerfe# Code common to ISA and ISAPnP attachments 3751.127Snathanwfile dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 3761.132Sbad 3771.132Sbad# XXXX tcic here because it needs to be late. The catch: tcic needs 3781.132Sbad# to be late, so devices which attach to it are attached late. But it 3791.132Sbad# needs to be before its isa and pci attachments. This answer is 3801.132Sbad# non-optimal, but I don't have a better answer right now. 3811.132Sbad 3821.165Sitohy# TCIC pcmcia controller 3831.132Sbad# XXX this needs to be done very late, so it's done here. This feels 3841.132Sbad# like a kludge, but it might be for the best. 3851.132Sbad 3861.132Sbaddefopt TCIC_ISA_ALLOC_IOBASE 3871.132Sbaddefopt TCIC_ISA_ALLOC_IOSIZE 3881.132Sbaddefopt TCIC_ISA_INTR_ALLOC_MASK 3891.132Sbad 3901.132Sbaddevice tcic: pcmciabus 3911.132Sbadfile dev/ic/tcic2.c tcic 3921.132Sbad 3931.165Sitohy# TCIC pcmcia controller 3941.132Sbadattach tcic at isa with tcic_isa 3951.132Sbadfile dev/isa/tcic2_isa.c tcic_isa 3961.90Sthorpej 3971.90Sthorpej# this wants to be probed as late as possible. 3981.90Sthorpej# 3991.90Sthorpej# Machine-independent PCMCIA drivers 4001.90Sthorpej# 4011.90Sthorpejinclude "dev/pcmcia/files.pcmcia" 4021.90Sthorpej 4031.90Sthorpej 4041.116Saugustssinclude "dev/usb/files.usb" 4051.170Sonoe 4061.170Sonoeinclude "dev/ieee1394/files.ieee1394" 4071.141Sdrochner 4081.141Sdrochnerinclude "arch/i386/pnpbios/files.pnpbios" 409