files.i386 revision 1.181
11.181Schs# $NetBSD: files.i386,v 1.181 2001/02/11 19:03:47 chs 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.181Schs 401.181Schs# The REAL{BASE,EXT}MEM options 411.181Schsdefopt opt_realmem.h REALBASEMEM REALEXTMEM 421.140Sdrochner 431.140Sdrochner# understand boot device passed by pre-1.3 bootblocks 441.140Sdrochnerdefopt COMPAT_OLDBOOT 451.98Sthorpej 461.142Sthorpej# PCI BIOS options 471.164Ssodadefopt opt_pcibios.h PCIBIOS PCIBIOSVERBOSE 481.164Ssoda PCIBIOS_ADDR_FIXUP PCIBIOS_BUS_FIXUP 491.164Ssoda PCIBIOS_INTR_FIXUP PCIBIOS_INTR_FIXUP_FORCE 501.164Ssoda PCIBIOS_INTR_GUESS PCIBIOS_IRQS_HINT PCIINTR_DEBUG 511.166Sthorpej 521.166Sthorpej# Large page size 531.166Sthorpejdefopt LARGEPAGES 541.142Sthorpej 551.56Scgdfile arch/i386/i386/autoconf.c 561.146Sdrochnerfile arch/i386/i386/bus_machdep.c 571.56Scgdfile arch/i386/i386/conf.c 581.145Sdrochnerfile arch/i386/i386/consinit.c 591.119Srvbfile arch/i386/i386/db_dbgreg.s ddb 601.56Scgdfile arch/i386/i386/db_disasm.c ddb 611.56Scgdfile arch/i386/i386/db_interface.c ddb 621.85Sthorpejfile arch/i386/i386/db_memrw.c ddb | kgdb 631.56Scgdfile arch/i386/i386/db_trace.c ddb 641.56Scgdfile arch/i386/i386/disksubr.c disk 651.60Smycroftfile arch/i386/i386/gdt.c 661.74Smycroftfile arch/i386/i386/in_cksum.s inet 671.147Sthorpejfile netinet/in4_cksum.c 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.56Scgdfile arch/i386/i386/sys_machdep.c 791.178Smycroftfile arch/i386/i386/syscall.c 801.56Scgdfile arch/i386/i386/trap.c 811.56Scgdfile arch/i386/i386/vm_machdep.c 821.56Scgdfile dev/cons.c 831.167Sthorpej 841.167Sthorpejfile arch/i386/i386/pmc.c perfctrs 851.56Scgd 861.56Scgd# 871.56Scgd# Machine-independent SCSI drivers 881.56Scgd# 891.56Scgd 901.98Sthorpejinclude "dev/scsipi/files.scsipi" 911.56Scgdmajor {sd = 4} 921.56Scgdmajor {cd = 6} 931.69Sperry 941.97Scgd# 951.97Scgd# Machine-independent ATA drivers 961.97Scgd# 971.97Scgd 981.98Sthorpejinclude "dev/ata/files.ata" 991.97Scgdmajor {wd = 0} 1001.97Scgd 1011.79Spk# Memory Disk for install floppy 1021.79Spkfile arch/i386/i386/md_root.c memory_disk_hooks 1031.79Spkmajor {md = 17} 1041.149Soster 1051.149Soster# RAIDframe 1061.149Sostermajor {raid = 18} 1071.151Sad 1081.174Sad# Logical disk 1091.174Sadmajor {ld = 19} 1101.171Sad 1111.171Sad# 1121.171Sad# Machine-independent I2O drivers 1131.171Sad# 1141.171Sad 1151.171Sadinclude "dev/i2o/files.i2o" 1161.56Scgd 1171.142Sthorpej# attribute used to bring in BIOS trampoline code for real-mode probing 1181.142Sthorpej# of certain devices/BIOS features 1191.142Sthorpejdefine bioscall 1201.142Sthorpejfile arch/i386/i386/bioscall.s bioscall needs-flag 1211.142Sthorpej 1221.142Sthorpej# BIOS32 routines 1231.142Sthorpejdefine bios32 1241.142Sthorpejfile arch/i386/i386/bios32.c bios32 needs-flag 1251.142Sthorpej 1261.56Scgd# 1271.56Scgd# System bus types 1281.56Scgd# 1291.65Scgd 1301.77Sjtkdefine mainbus { } 1311.142Sthorpej# XXX BIOS32 only if something that uses it is configured! 1321.159Sjdolecekdevice mainbus: isabus, eisabus, mcabus, pcibus, mainbus, bios32 1331.67Sthorpejattach mainbus at root 1341.65Scgdfile arch/i386/i386/mainbus.c mainbus 1351.56Scgd 1361.55Smycroft# 1371.64Scgd# PCI-only drivers 1381.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 1391.64Scgd# XXX devices to 'pci'. 1401.64Scgd# 1411.64Scgd 1421.98Sthorpejinclude "dev/pci/files.pci" 1431.64Scgdfile arch/i386/pci/pci_machdep.c pci 1441.142Sthorpejfile arch/i386/pci/pcibios.c pcibios 1451.142Sthorpejfile arch/i386/pci/pci_intr_fixup.c pcibios & pcibios_intr_fixup 1461.142Sthorpejfile arch/i386/pci/piix.c pcibios & pcibios_intr_fixup 1471.142Sthorpejfile arch/i386/pci/opti82c558.c pcibios & pcibios_intr_fixup 1481.142Sthorpejfile arch/i386/pci/opti82c700.c pcibios & pcibios_intr_fixup 1491.142Sthorpejfile arch/i386/pci/sis85c503.c pcibios & pcibios_intr_fixup 1501.142Sthorpejfile arch/i386/pci/via82c586.c pcibios & pcibios_intr_fixup 1511.143Sthorpejfile arch/i386/pci/pci_bus_fixup.c pcibios & pcibios_bus_fixup 1521.158Suchfile arch/i386/pci/pci_addr_fixup.c pcibios & pcibios_addr_fixup 1531.129Sdrochnerdefopt PCI_CONF_MODE 1541.110Scgdfile arch/i386/pci/pciide_machdep.c pciide 1551.127Snathanwfile arch/i386/pci/pcic_pci_machdep.c pcic_pci 1561.78Sthorpej 1571.78Sthorpej# PCI-Host bridge chipsets 1581.108Sthorpejdevice pchb: pcibus 1591.78Sthorpejattach pchb at pci 1601.78Sthorpejfile arch/i386/pci/pchb.c pchb 1611.169Sthorpejfile arch/i386/pci/pchb_rnd.c pchb & rnd 1621.107Sthorpej 1631.107Sthorpej# PCI-EISA bridges 1641.108Sthorpejdevice pceb: eisabus, isabus 1651.107Sthorpejattach pceb at pci 1661.107Sthorpejfile arch/i386/pci/pceb.c pceb 1671.78Sthorpej 1681.78Sthorpej# PCI-ISA bridges 1691.108Sthorpejdevice pcib: isabus 1701.78Sthorpejattach pcib at pci 1711.78Sthorpejfile arch/i386/pci/pcib.c pcib 1721.64Scgd 1731.153Smartin# Game adapter (joystick) 1741.153Smartindevice joy 1751.153Smartinfile arch/i386/isa/joy.c joy needs-flag 1761.153Smartin 1771.153Smartin# PCI joysticks 1781.153Smartinattach joy at pci with pci_joy 1791.153Smartinfile arch/i386/pci/joy_pci.c pci_joy 1801.153Smartin 1811.64Scgd# 1821.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 1831.55Smycroft# 1841.56Scgd 1851.98Sthorpejinclude "dev/isa/files.isa" 1861.56Scgdmajor {mcd = 7} 1871.56Scgd#major {scd = 15} 1881.115Scgd 1891.115Scgd# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 1901.115Scgd# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 1911.115Scgd# XXX (when the conf/files and files.isa bogons are fixed, this can 1921.115Scgd# XXX be fixed as well.) 1931.115Scgd 1941.115Scgdattach lpt at puc with lpt_puc 1951.115Scgdfile dev/pci/lpt_puc.c lpt_puc 1961.56Scgd 1971.56Scgdfile arch/i386/isa/isa_machdep.c isa 1981.56Scgd 1991.56Scgd# PC clock 2001.56Scgdfile arch/i386/isa/clock.c isa 2011.130Sdrochnerfile dev/clock_subr.c isa 2021.56Scgd 2031.56Scgd# Numeric Processing Extension; Math Co-processor 2041.108Sthorpejdevice npx 2051.56Scgdfile arch/i386/isa/npx.c npx needs-flag 2061.163Sthorpej 2071.163Sthorpejattach npx at isa with npx_isa 2081.163Sthorpejfile arch/i386/isa/npx_isa.c npx_isa 2091.56Scgd 2101.66Sthorpej# attribute used to represent the "keyboard controller" 2111.66Sthorpej# XXX should be a real device 2121.111Sdrochnerdefine pckbcport { [irq = -1], [port = -1] } 2131.66Sthorpej 2141.56Scgd# PC console support a la "pccons" 2151.111Sdrochnerdevice pc: tty, pckbcport 2161.67Sthorpejattach pc at isa 2171.111Sdrochnerdevice pcconskbd 2181.111Sdrochnerattach pcconskbd at pckbc 2191.111Sdrochnerfile arch/i386/isa/pccons.c pc | pcconskbd needs-flag 2201.56Scgd 2211.56Scgd# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 2221.128Sdrochnerdevice olms 2231.128Sdrochnerattach olms at isa 2241.128Sdrochnerfile arch/i386/isa/olms.c olms needs-flag 2251.128Sdrochnerdevice lms: wsmousedev 2261.67Sthorpejattach lms at isa 2271.128Sdrochnerfile arch/i386/isa/lms.c lms 2281.128Sdrochnerdevice omms 2291.128Sdrochnerattach omms at isa 2301.128Sdrochnerfile arch/i386/isa/omms.c omms needs-flag 2311.128Sdrochnerdevice mms: wsmousedev 2321.67Sthorpejattach mms at isa 2331.128Sdrochnerfile arch/i386/isa/mms.c mms 2341.128Sdrochnerdevice opms 2351.128Sdrochnerattach opms at pckbcport with opms_hack 2361.128Sdrochnerattach opms at pckbc with opms_pckbc 2371.128Sdrochnerfile arch/i386/isa/pms.c opms | opms_hack | opms_pckbc needs-flag 2381.111Sdrochner 2391.111Sdrochnerinclude "dev/wscons/files.wscons" 2401.111Sdrochner 2411.111Sdrochnerinclude "dev/pckbc/files.pckbc" 2421.113Sdrochner 2431.113Sdrochnerdevice sysbeep 2441.113Sdrochnerattach sysbeep at pcppi 2451.111Sdrochner 2461.56Scgd# Floppy disk controller 2471.157Sthorpejdevice fdc {drive = -1}: isadma 2481.157Sthorpejfile dev/isa/fd.c fdc needs-flag 2491.157Sthorpej 2501.157Sthorpejattach fdc at isa with fdc_isa 2511.157Sthorpejfile dev/isa/fdc_isa.c fdc_isa 2521.157Sthorpej 2531.157Sthorpejdevice fd: disk 2541.67Sthorpejattach fd at fdc 2551.56Scgdmajor {fd = 2} 2561.76Ssoda 2571.80Schristosattach joy at isa with joy_isa 2581.80Schristosfile arch/i386/isa/joy_isa.c joy_isa 2591.80Schristos 2601.76Ssoda# Adaptec AHA-284x VL SCSI controllers 2611.76Ssoda# device declaration in sys/conf/files 2621.150Sfvdlattach ahc at isa with ahc_isa: ahc_aic77xx, smc93cx6 2631.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 2641.56Scgd 2651.55Smycroft# 2661.55Smycroft# EISA-only drivers 2671.55Smycroft# 2681.56Scgd 2691.98Sthorpejinclude "dev/eisa/files.eisa" 2701.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 2711.154Sjdolecek 2721.154Sjdolecek# 2731.154Sjdolecek# MCA-only drivers 2741.154Sjdolecek# 2751.154Sjdolecek 2761.159Sjdolecekdevice mca {[slot = -1]} : bioscall 2771.159Sjdolecekinclude "dev/mca/files.mca" 2781.159Sjdolecekfile arch/i386/mca/mca_machdep.c mca 2791.77Sjtk 2801.80Schristos# ISA Plug 'n Play devices 2811.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 2821.80Schristos 2831.80Schristosattach joy at isapnp with joy_isapnp 2841.80Schristosfile arch/i386/isa/joy_isapnp.c joy_isapnp 2851.130Sdrochner 2861.130Sdrochner# 2871.130Sdrochner# VME support 2881.130Sdrochner# 2891.130Sdrochnerinclude "dev/vme/files.vme" 2901.77Sjtk 2911.77Sjtk# 2921.77Sjtk# Other mainbus-attached devices 2931.77Sjtk# 2941.77Sjtk 2951.77Sjtk# Advanced Power Management support (APM) 2961.108Sthorpejdevice apm: bioscall 2971.77Sjtkattach apm at mainbus 2981.77Sjtkfile arch/i386/i386/apm.c apm needs-count 2991.89Sjtkfile arch/i386/i386/apmcall.s apm 3001.56Scgd 3011.55Smycroft# 3021.55Smycroft# Compatibility modules 3031.55Smycroft# 3041.61Smycroft 3051.61Smycroft# VM86 mode 3061.61Smycroftfile arch/i386/i386/vm86.c vm86 3071.120Smycroft 3081.120Smycroft# Binary compatibility with previous NetBSD releases (COMPAT_XX) 3091.135Smellonfile arch/i386/i386/compat_13_machdep.c compat_13 | compat_aout 3101.56Scgd 3111.59Smycroft# SVR4 binary compatibility (COMPAT_SVR4) 3121.98Sthorpejinclude "compat/svr4/files.svr4" 3131.59Smycroftfile arch/i386/i386/svr4_machdep.c compat_svr4 3141.173Sjdolecekfile arch/i386/i386/svr4_sigcode.s compat_svr4 3151.177Smycroftfile arch/i386/i386/svr4_syscall.c compat_svr4 3161.56Scgd 3171.59Smycroft# iBCS-2 binary compatibility (COMPAT_IBCS2) 3181.98Sthorpejinclude "compat/ibcs2/files.ibcs2" 3191.88Smycroftfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 3201.173Sjdolecekfile arch/i386/i386/ibcs2_sigcode.s compat_ibcs2 3211.176Sjdolecekfile arch/i386/i386/ibcs2_syscall.c compat_ibcs2 3221.56Scgd 3231.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 3241.98Sthorpejinclude "compat/linux/files.linux" 3251.122Sfvdlinclude "compat/linux/arch/i386/files.linux_i386" 3261.173Sjdolecekfile arch/i386/i386/linux_sigcode.s compat_linux 3271.176Sjdolecekfile arch/i386/i386/linux_syscall.c compat_linux 3281.58Smycroft 3291.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 3301.98Sthorpejinclude "compat/freebsd/files.freebsd" 3311.58Smycroftfile arch/i386/i386/freebsd_machdep.c compat_freebsd 3321.173Sjdolecekfile arch/i386/i386/freebsd_sigcode.s compat_freebsd 3331.179Sjdolecekfile arch/i386/i386/freebsd_syscall.c compat_freebsd 3341.131Schristos 3351.131Schristos# a.out binary compatibility (COMPAT_AOUT) 3361.131Schristosinclude "compat/aout/files.aout" 3371.160Smycroft 3381.160Smycroft# Win32 binary compatibility (COMPAT_PECOFF) 3391.160Smycroftinclude "compat/pecoff/files.pecoff" 3401.82Saugustss 3411.82Saugustss# OSS audio driver compatibility 3421.98Sthorpejinclude "compat/ossaudio/files.ossaudio" 3431.91Sbouyer 3441.91Sbouyer# network devices MII bus 3451.98Sthorpejinclude "dev/mii/files.mii" 3461.139Shaya 3471.139Shaya# 3481.139Shaya# CARDBUS 3491.139Shaya# 3501.139Shayainclude "dev/cardbus/files.cardbus" 3511.139Shayafile arch/i386/i386/rbus_machdep.c cardbus 3521.90Sthorpej 3531.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 3541.90Sthorpej# to be late, so devices which attach to it are attached late. But it 3551.90Sthorpej# needs to be before its isa and pci attachments. This answer is 3561.90Sthorpej# non-optimal, but I don't have a better answer right now. 3571.90Sthorpej 3581.165Sitohy# PCIC pcmcia controller 3591.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 3601.90Sthorpej# like a kludge, but it might be for the best. 3611.93Sthorpej 3621.93Sthorpejdefopt PCIC_ISA_ALLOC_IOBASE 3631.93Sthorpejdefopt PCIC_ISA_ALLOC_IOSIZE 3641.93Sthorpejdefopt PCIC_ISA_INTR_ALLOC_MASK 3651.93Sthorpej 3661.126Spkdevice pcic: pcmciabus 3671.92Sthorpejfile dev/ic/i82365.c pcic 3681.90Sthorpej 3691.114Ssommerfe# PCIC pcmcia controller on ISA bus. 3701.90Sthorpejattach pcic at isa with pcic_isa 3711.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 3721.90Sthorpej 3731.114Ssommerfe# PCIC pcmcia controller on PCI bus. 3741.90Sthorpejattach pcic at pci with pcic_pci 3751.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 3761.90Sthorpej 3771.114Ssommerfe# PCIC pcmcia controller on PnP board 3781.114Ssommerfeattach pcic at isapnp with pcic_isapnp 3791.114Ssommerfefile dev/isapnp/i82365_isapnp.c pcic_isapnp 3801.114Ssommerfe 3811.114Ssommerfe# Code common to ISA and ISAPnP attachments 3821.127Snathanwfile dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 3831.132Sbad 3841.132Sbad# XXXX tcic here because it needs to be late. The catch: tcic needs 3851.132Sbad# to be late, so devices which attach to it are attached late. But it 3861.132Sbad# needs to be before its isa and pci attachments. This answer is 3871.132Sbad# non-optimal, but I don't have a better answer right now. 3881.132Sbad 3891.165Sitohy# TCIC pcmcia controller 3901.132Sbad# XXX this needs to be done very late, so it's done here. This feels 3911.132Sbad# like a kludge, but it might be for the best. 3921.132Sbad 3931.132Sbaddefopt TCIC_ISA_ALLOC_IOBASE 3941.132Sbaddefopt TCIC_ISA_ALLOC_IOSIZE 3951.132Sbaddefopt TCIC_ISA_INTR_ALLOC_MASK 3961.132Sbad 3971.132Sbaddevice tcic: pcmciabus 3981.132Sbadfile dev/ic/tcic2.c tcic 3991.132Sbad 4001.165Sitohy# TCIC pcmcia controller 4011.132Sbadattach tcic at isa with tcic_isa 4021.132Sbadfile dev/isa/tcic2_isa.c tcic_isa 4031.90Sthorpej 4041.90Sthorpej# this wants to be probed as late as possible. 4051.90Sthorpej# 4061.90Sthorpej# Machine-independent PCMCIA drivers 4071.90Sthorpej# 4081.90Sthorpejinclude "dev/pcmcia/files.pcmcia" 4091.90Sthorpej 4101.90Sthorpej 4111.116Saugustssinclude "dev/usb/files.usb" 4121.170Sonoe 4131.170Sonoeinclude "dev/ieee1394/files.ieee1394" 4141.141Sdrochner 4151.141Sdrochnerinclude "arch/i386/pnpbios/files.pnpbios" 416