files.i386 revision 1.143
11.143Sthorpej# $NetBSD: files.i386,v 1.143 1999/11/17 07:34:15 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.138Sitohy APM_NO_POWER_PRINT 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.142Sthorpejdefopt opt_pcibios.h PCIBIOS PCIBIOSVERBOSE PCIBIOS_INTR_FIXUP 421.143Sthorpej PCIINTR_DEBUG PCIBIOS_BUS_FIXUP 431.142Sthorpej 441.56Scgdfile arch/i386/i386/autoconf.c 451.56Scgdfile arch/i386/i386/conf.c 461.119Srvbfile arch/i386/i386/db_dbgreg.s ddb 471.56Scgdfile arch/i386/i386/db_disasm.c ddb 481.56Scgdfile arch/i386/i386/db_interface.c ddb 491.85Sthorpejfile arch/i386/i386/db_memrw.c ddb | kgdb 501.56Scgdfile arch/i386/i386/db_trace.c ddb 511.56Scgdfile arch/i386/i386/disksubr.c disk 521.60Smycroftfile arch/i386/i386/gdt.c 531.74Smycroftfile arch/i386/i386/in_cksum.s inet 541.85Sthorpejfile arch/i386/i386/kgdb_machdep.c kgdb 551.56Scgdfile arch/i386/i386/machdep.c 561.56Scgdfile arch/i386/i386/math_emulate.c math_emulate 571.56Scgdfile arch/i386/i386/mem.c 581.56Scgdfile arch/i386/i386/microtime.s 591.56Scgdfile arch/i386/i386/ns_cksum.c ns 601.134Sthorpejfile arch/i386/i386/pmap.c 611.56Scgdfile arch/i386/i386/process_machdep.c 621.56Scgdfile arch/i386/i386/sys_machdep.c 631.56Scgdfile arch/i386/i386/trap.c 641.56Scgdfile arch/i386/i386/vm_machdep.c 651.56Scgdfile dev/cons.c 661.56Scgd 671.56Scgd# 681.56Scgd# Machine-independent SCSI drivers 691.56Scgd# 701.56Scgd 711.98Sthorpejinclude "dev/scsipi/files.scsipi" 721.56Scgdmajor {sd = 4} 731.56Scgdmajor {cd = 6} 741.69Sperry 751.97Scgd# 761.97Scgd# Machine-independent ATA drivers 771.97Scgd# 781.97Scgd 791.98Sthorpejinclude "dev/ata/files.ata" 801.97Scgdmajor {wd = 0} 811.97Scgd 821.79Spk# Memory Disk for install floppy 831.79Spkfile arch/i386/i386/md_root.c memory_disk_hooks 841.79Spkmajor {md = 17} 851.56Scgd 861.142Sthorpej# attribute used to bring in BIOS trampoline code for real-mode probing 871.142Sthorpej# of certain devices/BIOS features 881.142Sthorpejdefine bioscall 891.142Sthorpejfile arch/i386/i386/bioscall.s bioscall needs-flag 901.142Sthorpej 911.142Sthorpej# BIOS32 routines 921.142Sthorpejdefine bios32 931.142Sthorpejfile arch/i386/i386/bios32.c bios32 needs-flag 941.142Sthorpej 951.56Scgd# 961.56Scgd# System bus types 971.56Scgd# 981.65Scgd 991.77Sjtkdefine mainbus { } 1001.142Sthorpej# XXX BIOS32 only if something that uses it is configured! 1011.142Sthorpejdevice mainbus: isabus, eisabus, pcibus, mainbus, bios32 1021.67Sthorpejattach mainbus at root 1031.65Scgdfile arch/i386/i386/mainbus.c mainbus 1041.56Scgd 1051.56Scgd#device mca at root {...} 1061.56Scgd 1071.55Smycroft# 1081.64Scgd# PCI-only drivers 1091.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 1101.64Scgd# XXX devices to 'pci'. 1111.64Scgd# 1121.64Scgd 1131.98Sthorpejinclude "dev/pci/files.pci" 1141.64Scgdfile arch/i386/pci/pci_machdep.c pci 1151.142Sthorpejfile arch/i386/pci/pcibios.c pcibios 1161.142Sthorpejfile arch/i386/pci/pci_intr_fixup.c pcibios & pcibios_intr_fixup 1171.142Sthorpejfile arch/i386/pci/piix.c pcibios & pcibios_intr_fixup 1181.142Sthorpejfile arch/i386/pci/opti82c558.c pcibios & pcibios_intr_fixup 1191.142Sthorpejfile arch/i386/pci/opti82c700.c pcibios & pcibios_intr_fixup 1201.142Sthorpejfile arch/i386/pci/sis85c503.c pcibios & pcibios_intr_fixup 1211.142Sthorpejfile arch/i386/pci/via82c586.c pcibios & pcibios_intr_fixup 1221.143Sthorpejfile arch/i386/pci/pci_bus_fixup.c pcibios & pcibios_bus_fixup 1231.129Sdrochnerdefopt PCI_CONF_MODE 1241.110Scgdfile arch/i386/pci/pciide_machdep.c pciide 1251.127Snathanwfile arch/i386/pci/pcic_pci_machdep.c pcic_pci 1261.78Sthorpej 1271.78Sthorpej# PCI-Host bridge chipsets 1281.108Sthorpejdevice pchb: pcibus 1291.78Sthorpejattach pchb at pci 1301.78Sthorpejfile arch/i386/pci/pchb.c pchb 1311.107Sthorpej 1321.107Sthorpej# PCI-EISA bridges 1331.108Sthorpejdevice pceb: eisabus, isabus 1341.107Sthorpejattach pceb at pci 1351.107Sthorpejfile arch/i386/pci/pceb.c pceb 1361.78Sthorpej 1371.78Sthorpej# PCI-ISA bridges 1381.108Sthorpejdevice pcib: isabus 1391.78Sthorpejattach pcib at pci 1401.78Sthorpejfile arch/i386/pci/pcib.c pcib 1411.64Scgd 1421.64Scgd# 1431.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 1441.55Smycroft# 1451.56Scgd 1461.98Sthorpejinclude "dev/isa/files.isa" 1471.56Scgdmajor {mcd = 7} 1481.56Scgd#major {scd = 15} 1491.115Scgd 1501.115Scgd# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 1511.115Scgd# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 1521.115Scgd# XXX (when the conf/files and files.isa bogons are fixed, this can 1531.115Scgd# XXX be fixed as well.) 1541.115Scgd 1551.115Scgdattach lpt at puc with lpt_puc 1561.115Scgdfile dev/pci/lpt_puc.c lpt_puc 1571.56Scgd 1581.56Scgdfile arch/i386/isa/isa_machdep.c isa 1591.56Scgd 1601.56Scgd# PC clock 1611.56Scgdfile arch/i386/isa/clock.c isa 1621.130Sdrochnerfile dev/clock_subr.c isa 1631.56Scgd 1641.56Scgd# Numeric Processing Extension; Math Co-processor 1651.108Sthorpejdevice npx 1661.67Sthorpejattach npx at isa 1671.56Scgdfile arch/i386/isa/npx.c npx needs-flag 1681.56Scgd 1691.66Sthorpej# attribute used to represent the "keyboard controller" 1701.66Sthorpej# XXX should be a real device 1711.111Sdrochnerdefine pckbcport { [irq = -1], [port = -1] } 1721.66Sthorpej 1731.56Scgd# PC console support a la "pccons" 1741.111Sdrochnerdevice pc: tty, pckbcport 1751.67Sthorpejattach pc at isa 1761.111Sdrochnerdevice pcconskbd 1771.111Sdrochnerattach pcconskbd at pckbc 1781.111Sdrochnerfile arch/i386/isa/pccons.c pc | pcconskbd needs-flag 1791.56Scgd 1801.56Scgd# PC console support a la "pcvt" 1811.111Sdrochnerdevice vt: tty, pckbcport 1821.67Sthorpejattach vt at isa 1831.56Scgdfile arch/i386/isa/pcvt/pcvt_drv.c vt needs-flag 1841.56Scgdfile arch/i386/isa/pcvt/pcvt_ext.c vt needs-flag 1851.56Scgdfile arch/i386/isa/pcvt/pcvt_kbd.c vt needs-flag 1861.56Scgdfile arch/i386/isa/pcvt/pcvt_out.c vt needs-flag 1871.56Scgdfile arch/i386/isa/pcvt/pcvt_sup.c vt needs-flag 1881.56Scgdfile arch/i386/isa/pcvt/pcvt_vtf.c vt needs-flag 1891.56Scgd 1901.56Scgd# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 1911.128Sdrochnerdevice olms 1921.128Sdrochnerattach olms at isa 1931.128Sdrochnerfile arch/i386/isa/olms.c olms needs-flag 1941.128Sdrochnerdevice lms: wsmousedev 1951.67Sthorpejattach lms at isa 1961.128Sdrochnerfile arch/i386/isa/lms.c lms 1971.128Sdrochnerdevice omms 1981.128Sdrochnerattach omms at isa 1991.128Sdrochnerfile arch/i386/isa/omms.c omms needs-flag 2001.128Sdrochnerdevice mms: wsmousedev 2011.67Sthorpejattach mms at isa 2021.128Sdrochnerfile arch/i386/isa/mms.c mms 2031.128Sdrochnerdevice opms 2041.128Sdrochnerattach opms at pckbcport with opms_hack 2051.128Sdrochnerattach opms at pckbc with opms_pckbc 2061.128Sdrochnerfile arch/i386/isa/pms.c opms | opms_hack | opms_pckbc needs-flag 2071.111Sdrochner 2081.111Sdrochnerinclude "dev/wscons/files.wscons" 2091.111Sdrochner 2101.111Sdrochnerinclude "dev/pckbc/files.pckbc" 2111.113Sdrochner 2121.113Sdrochnerdevice sysbeep 2131.113Sdrochnerattach sysbeep at pcppi 2141.111Sdrochner 2151.56Scgd# Floppy disk controller 2161.108Sthorpejdevice fdc {drive = -1} 2171.67Sthorpejattach fdc at isa 2181.108Sthorpejdevice fd: disk, isadma 2191.67Sthorpejattach fd at fdc 2201.56Scgdfile arch/i386/isa/fd.c fdc needs-flag 2211.56Scgdmajor {fd = 2} 2221.71Sperry 2231.71Sperry# Game adapter (joystick) 2241.108Sthorpejdevice joy 2251.71Sperryfile arch/i386/isa/joy.c joy needs-flag 2261.76Ssoda 2271.80Schristosattach joy at isa with joy_isa 2281.80Schristosfile arch/i386/isa/joy_isa.c joy_isa 2291.80Schristos 2301.76Ssoda# Adaptec AHA-284x VL SCSI controllers 2311.76Ssoda# device declaration in sys/conf/files 2321.76Ssodaattach ahc at isa with ahc_isa 2331.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 2341.56Scgd 2351.55Smycroft# 2361.55Smycroft# EISA-only drivers 2371.55Smycroft# 2381.56Scgd 2391.98Sthorpejinclude "dev/eisa/files.eisa" 2401.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 2411.77Sjtk 2421.80Schristos# ISA Plug 'n Play devices 2431.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 2441.80Schristos 2451.80Schristosattach joy at isapnp with joy_isapnp 2461.80Schristosfile arch/i386/isa/joy_isapnp.c joy_isapnp 2471.130Sdrochner 2481.130Sdrochner# 2491.130Sdrochner# VME support 2501.130Sdrochner# 2511.130Sdrochnerinclude "dev/vme/files.vme" 2521.77Sjtk 2531.77Sjtk# 2541.77Sjtk# Other mainbus-attached devices 2551.77Sjtk# 2561.77Sjtk 2571.77Sjtk# Advanced Power Management support (APM) 2581.108Sthorpejdevice apm: bioscall 2591.77Sjtkattach apm at mainbus 2601.77Sjtkfile arch/i386/i386/apm.c apm needs-count 2611.89Sjtkfile arch/i386/i386/apmcall.s apm 2621.56Scgd 2631.55Smycroft# 2641.55Smycroft# Compatibility modules 2651.55Smycroft# 2661.61Smycroft 2671.61Smycroft# VM86 mode 2681.61Smycroftfile arch/i386/i386/vm86.c vm86 2691.120Smycroft 2701.120Smycroft# Binary compatibility with previous NetBSD releases (COMPAT_XX) 2711.135Smellonfile arch/i386/i386/compat_13_machdep.c compat_13 | compat_aout 2721.56Scgd 2731.59Smycroft# SVR4 binary compatibility (COMPAT_SVR4) 2741.98Sthorpejinclude "compat/svr4/files.svr4" 2751.59Smycroftfile arch/i386/i386/svr4_machdep.c compat_svr4 2761.56Scgd 2771.59Smycroft# iBCS-2 binary compatibility (COMPAT_IBCS2) 2781.98Sthorpejinclude "compat/ibcs2/files.ibcs2" 2791.88Smycroftfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 2801.56Scgd 2811.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 2821.98Sthorpejinclude "compat/linux/files.linux" 2831.122Sfvdlinclude "compat/linux/arch/i386/files.linux_i386" 2841.58Smycroft 2851.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 2861.98Sthorpejinclude "compat/freebsd/files.freebsd" 2871.58Smycroftfile arch/i386/i386/freebsd_machdep.c compat_freebsd 2881.131Schristos 2891.131Schristos# a.out binary compatibility (COMPAT_AOUT) 2901.131Schristosinclude "compat/aout/files.aout" 2911.82Saugustss 2921.82Saugustss# OSS audio driver compatibility 2931.98Sthorpejinclude "compat/ossaudio/files.ossaudio" 2941.91Sbouyer 2951.91Sbouyer# network devices MII bus 2961.98Sthorpejinclude "dev/mii/files.mii" 2971.139Shaya 2981.139Shaya# 2991.139Shaya# CARDBUS 3001.139Shaya# 3011.139Shayainclude "dev/cardbus/files.cardbus" 3021.139Shayafile arch/i386/i386/rbus_machdep.c cardbus 3031.90Sthorpej 3041.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 3051.90Sthorpej# to be late, so devices which attach to it are attached late. But it 3061.90Sthorpej# needs to be before its isa and pci attachments. This answer is 3071.90Sthorpej# non-optimal, but I don't have a better answer right now. 3081.90Sthorpej 3091.90Sthorpej# PCIC pcmcia contoller 3101.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 3111.90Sthorpej# like a kludge, but it might be for the best. 3121.93Sthorpej 3131.93Sthorpejdefopt PCIC_ISA_ALLOC_IOBASE 3141.93Sthorpejdefopt PCIC_ISA_ALLOC_IOSIZE 3151.93Sthorpejdefopt PCIC_ISA_INTR_ALLOC_MASK 3161.93Sthorpej 3171.126Spkdevice pcic: pcmciabus 3181.92Sthorpejfile dev/ic/i82365.c pcic 3191.90Sthorpej 3201.114Ssommerfe# PCIC pcmcia controller on ISA bus. 3211.90Sthorpejattach pcic at isa with pcic_isa 3221.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 3231.90Sthorpej 3241.114Ssommerfe# PCIC pcmcia controller on PCI bus. 3251.90Sthorpejattach pcic at pci with pcic_pci 3261.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 3271.90Sthorpej 3281.114Ssommerfe# PCIC pcmcia controller on PnP board 3291.114Ssommerfeattach pcic at isapnp with pcic_isapnp 3301.114Ssommerfefile dev/isapnp/i82365_isapnp.c pcic_isapnp 3311.114Ssommerfe 3321.114Ssommerfe# Code common to ISA and ISAPnP attachments 3331.127Snathanwfile dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 3341.132Sbad 3351.132Sbad# XXXX tcic here because it needs to be late. The catch: tcic needs 3361.132Sbad# to be late, so devices which attach to it are attached late. But it 3371.132Sbad# needs to be before its isa and pci attachments. This answer is 3381.132Sbad# non-optimal, but I don't have a better answer right now. 3391.132Sbad 3401.132Sbad# TCIC pcmcia contoller 3411.132Sbad# XXX this needs to be done very late, so it's done here. This feels 3421.132Sbad# like a kludge, but it might be for the best. 3431.132Sbad 3441.132Sbaddefopt TCIC_ISA_ALLOC_IOBASE 3451.132Sbaddefopt TCIC_ISA_ALLOC_IOSIZE 3461.132Sbaddefopt TCIC_ISA_INTR_ALLOC_MASK 3471.132Sbad 3481.132Sbaddevice tcic: pcmciabus 3491.132Sbadfile dev/ic/tcic2.c tcic 3501.132Sbad 3511.132Sbad# TCIC pcmcia contoller 3521.132Sbadattach tcic at isa with tcic_isa 3531.132Sbadfile dev/isa/tcic2_isa.c tcic_isa 3541.90Sthorpej 3551.90Sthorpej# this wants to be probed as late as possible. 3561.90Sthorpej# 3571.90Sthorpej# Machine-independent PCMCIA drivers 3581.90Sthorpej# 3591.90Sthorpejinclude "dev/pcmcia/files.pcmcia" 3601.90Sthorpej 3611.90Sthorpej 3621.116Saugustssinclude "dev/usb/files.usb" 3631.141Sdrochner 3641.141Sdrochnerinclude "arch/i386/pnpbios/files.pnpbios" 365