files.i386 revision 1.134
11.134Sthorpej# $NetBSD: files.i386,v 1.134 1999/06/17 00:12:10 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.125Sthorpej APM_NO_STANDBY APM_V10_ONLY APMDEBUG APMDEBUG_VALUE 141.100Sthorpej 151.100Sthorpej# Processor type options. 161.100Sthorpejdefopt opt_cputype.h I386_CPU I486_CPU I586_CPU I686_CPU 171.124Sbouyer 181.124Sbouyer# delay before cpu_reset() for reboot. 191.124Sbouyerdefopt CPURESET_DELAY 201.101Sthorpej 211.101Sthorpej# VM86 emulation 221.101Sthorpejdefopt VM86 231.102Sthorpej 241.102Sthorpej# Floating point emulation 251.102Sthorpejdefopt MATH_EMULATE 261.103Sthorpej 271.103Sthorpej# User-settable LDT (used by WINE) 281.103Sthorpejdefopt USER_LDT 291.104Sthorpej 301.104Sthorpej# Speed hack; make NOPs dummies (might break on some machines) 311.104Sthorpejdefopt DUMMY_NOPS 321.105Sthorpej 331.105Sthorpej# X server support in console drivers 341.118Srvbdefopt opt_xserver.h XSERVER XSERVER_DDB 351.98Sthorpej 361.56Scgdfile arch/i386/i386/autoconf.c 371.56Scgdfile arch/i386/i386/conf.c 381.119Srvbfile arch/i386/i386/db_dbgreg.s ddb 391.56Scgdfile arch/i386/i386/db_disasm.c ddb 401.56Scgdfile arch/i386/i386/db_interface.c ddb 411.85Sthorpejfile arch/i386/i386/db_memrw.c ddb | kgdb 421.56Scgdfile arch/i386/i386/db_trace.c ddb 431.56Scgdfile arch/i386/i386/disksubr.c disk 441.60Smycroftfile arch/i386/i386/gdt.c 451.74Smycroftfile arch/i386/i386/in_cksum.s inet 461.85Sthorpejfile arch/i386/i386/kgdb_machdep.c kgdb 471.56Scgdfile arch/i386/i386/machdep.c 481.56Scgdfile arch/i386/i386/math_emulate.c math_emulate 491.56Scgdfile arch/i386/i386/mem.c 501.56Scgdfile arch/i386/i386/microtime.s 511.56Scgdfile arch/i386/i386/ns_cksum.c ns 521.134Sthorpejfile arch/i386/i386/pmap.c 531.56Scgdfile arch/i386/i386/process_machdep.c 541.56Scgdfile arch/i386/i386/sys_machdep.c 551.56Scgdfile arch/i386/i386/trap.c 561.56Scgdfile arch/i386/i386/vm_machdep.c 571.56Scgdfile dev/cons.c 581.56Scgd 591.56Scgd# 601.56Scgd# Machine-independent SCSI drivers 611.56Scgd# 621.56Scgd 631.98Sthorpejinclude "dev/scsipi/files.scsipi" 641.56Scgdmajor {sd = 4} 651.56Scgdmajor {cd = 6} 661.69Sperry 671.97Scgd# 681.97Scgd# Machine-independent ATA drivers 691.97Scgd# 701.97Scgd 711.98Sthorpejinclude "dev/ata/files.ata" 721.97Scgdmajor {wd = 0} 731.97Scgd 741.79Spk# Memory Disk for install floppy 751.79Spkfile arch/i386/i386/md_root.c memory_disk_hooks 761.79Spkmajor {md = 17} 771.56Scgd 781.56Scgd# 791.56Scgd# System bus types 801.56Scgd# 811.65Scgd 821.77Sjtkdefine mainbus { } 831.108Sthorpejdevice mainbus: isabus, eisabus, pcibus, mainbus 841.67Sthorpejattach mainbus at root 851.65Scgdfile arch/i386/i386/mainbus.c mainbus 861.56Scgd 871.89Sjtk# attribute used to bring in BIOS trampoline code for real-mode probing 881.89Sjtk# of certain devices/BIOS features 891.89Sjtkdefine bioscall 901.89Sjtkfile arch/i386/i386/bioscall.s bioscall needs-flag 911.89Sjtk 921.56Scgd#device mca at root {...} 931.56Scgd 941.55Smycroft# 951.64Scgd# PCI-only drivers 961.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 971.64Scgd# XXX devices to 'pci'. 981.64Scgd# 991.64Scgd 1001.98Sthorpejinclude "dev/pci/files.pci" 1011.64Scgdfile arch/i386/pci/pci_machdep.c pci 1021.129Sdrochnerdefopt PCI_CONF_MODE 1031.110Scgdfile arch/i386/pci/pciide_machdep.c pciide 1041.127Snathanwfile arch/i386/pci/pcic_pci_machdep.c pcic_pci 1051.78Sthorpej 1061.78Sthorpej# PCI-Host bridge chipsets 1071.108Sthorpejdevice pchb: pcibus 1081.78Sthorpejattach pchb at pci 1091.78Sthorpejfile arch/i386/pci/pchb.c pchb 1101.107Sthorpej 1111.107Sthorpej# PCI-EISA bridges 1121.108Sthorpejdevice pceb: eisabus, isabus 1131.107Sthorpejattach pceb at pci 1141.107Sthorpejfile arch/i386/pci/pceb.c pceb 1151.78Sthorpej 1161.78Sthorpej# PCI-ISA bridges 1171.108Sthorpejdevice pcib: isabus 1181.78Sthorpejattach pcib at pci 1191.78Sthorpejfile arch/i386/pci/pcib.c pcib 1201.64Scgd 1211.64Scgd# 1221.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 1231.55Smycroft# 1241.56Scgd 1251.98Sthorpejinclude "dev/isa/files.isa" 1261.56Scgdmajor {mcd = 7} 1271.56Scgd#major {scd = 15} 1281.115Scgd 1291.115Scgd# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 1301.115Scgd# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 1311.115Scgd# XXX (when the conf/files and files.isa bogons are fixed, this can 1321.115Scgd# XXX be fixed as well.) 1331.115Scgd 1341.115Scgdattach lpt at puc with lpt_puc 1351.115Scgdfile dev/pci/lpt_puc.c lpt_puc 1361.56Scgd 1371.56Scgdfile arch/i386/isa/isa_machdep.c isa 1381.56Scgd 1391.56Scgd# PC clock 1401.56Scgdfile arch/i386/isa/clock.c isa 1411.130Sdrochnerfile dev/clock_subr.c isa 1421.56Scgd 1431.56Scgd# Numeric Processing Extension; Math Co-processor 1441.108Sthorpejdevice npx 1451.67Sthorpejattach npx at isa 1461.56Scgdfile arch/i386/isa/npx.c npx needs-flag 1471.56Scgd 1481.66Sthorpej# attribute used to represent the "keyboard controller" 1491.66Sthorpej# XXX should be a real device 1501.111Sdrochnerdefine pckbcport { [irq = -1], [port = -1] } 1511.66Sthorpej 1521.56Scgd# PC console support a la "pccons" 1531.111Sdrochnerdevice pc: tty, pckbcport 1541.67Sthorpejattach pc at isa 1551.111Sdrochnerdevice pcconskbd 1561.111Sdrochnerattach pcconskbd at pckbc 1571.111Sdrochnerfile arch/i386/isa/pccons.c pc | pcconskbd needs-flag 1581.56Scgd 1591.56Scgd# PC console support a la "pcvt" 1601.111Sdrochnerdevice vt: tty, pckbcport 1611.67Sthorpejattach vt at isa 1621.56Scgdfile arch/i386/isa/pcvt/pcvt_drv.c vt needs-flag 1631.56Scgdfile arch/i386/isa/pcvt/pcvt_ext.c vt needs-flag 1641.56Scgdfile arch/i386/isa/pcvt/pcvt_kbd.c vt needs-flag 1651.56Scgdfile arch/i386/isa/pcvt/pcvt_out.c vt needs-flag 1661.56Scgdfile arch/i386/isa/pcvt/pcvt_sup.c vt needs-flag 1671.56Scgdfile arch/i386/isa/pcvt/pcvt_vtf.c vt needs-flag 1681.56Scgd 1691.56Scgd# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 1701.128Sdrochnerdevice olms 1711.128Sdrochnerattach olms at isa 1721.128Sdrochnerfile arch/i386/isa/olms.c olms needs-flag 1731.128Sdrochnerdevice lms: wsmousedev 1741.67Sthorpejattach lms at isa 1751.128Sdrochnerfile arch/i386/isa/lms.c lms 1761.128Sdrochnerdevice omms 1771.128Sdrochnerattach omms at isa 1781.128Sdrochnerfile arch/i386/isa/omms.c omms needs-flag 1791.128Sdrochnerdevice mms: wsmousedev 1801.67Sthorpejattach mms at isa 1811.128Sdrochnerfile arch/i386/isa/mms.c mms 1821.128Sdrochnerdevice opms 1831.128Sdrochnerattach opms at pckbcport with opms_hack 1841.128Sdrochnerattach opms at pckbc with opms_pckbc 1851.128Sdrochnerfile arch/i386/isa/pms.c opms | opms_hack | opms_pckbc needs-flag 1861.111Sdrochner 1871.111Sdrochnerinclude "dev/wscons/files.wscons" 1881.111Sdrochner 1891.111Sdrochnerinclude "dev/pckbc/files.pckbc" 1901.113Sdrochner 1911.113Sdrochnerdevice sysbeep 1921.113Sdrochnerattach sysbeep at pcppi 1931.111Sdrochner 1941.56Scgd# Floppy disk controller 1951.108Sthorpejdevice fdc {drive = -1} 1961.67Sthorpejattach fdc at isa 1971.108Sthorpejdevice fd: disk, isadma 1981.67Sthorpejattach fd at fdc 1991.56Scgdfile arch/i386/isa/fd.c fdc needs-flag 2001.56Scgdmajor {fd = 2} 2011.71Sperry 2021.71Sperry# Game adapter (joystick) 2031.108Sthorpejdevice joy 2041.71Sperryfile arch/i386/isa/joy.c joy needs-flag 2051.76Ssoda 2061.80Schristosattach joy at isa with joy_isa 2071.80Schristosfile arch/i386/isa/joy_isa.c joy_isa 2081.80Schristos 2091.76Ssoda# Adaptec AHA-284x VL SCSI controllers 2101.76Ssoda# device declaration in sys/conf/files 2111.76Ssodaattach ahc at isa with ahc_isa 2121.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 2131.56Scgd 2141.55Smycroft# 2151.55Smycroft# EISA-only drivers 2161.55Smycroft# 2171.56Scgd 2181.98Sthorpejinclude "dev/eisa/files.eisa" 2191.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 2201.77Sjtk 2211.80Schristos# ISA Plug 'n Play devices 2221.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 2231.80Schristos 2241.80Schristosattach joy at isapnp with joy_isapnp 2251.80Schristosfile arch/i386/isa/joy_isapnp.c joy_isapnp 2261.130Sdrochner 2271.130Sdrochner# 2281.130Sdrochner# VME support 2291.130Sdrochner# 2301.130Sdrochnerinclude "dev/vme/files.vme" 2311.77Sjtk 2321.77Sjtk# 2331.77Sjtk# Other mainbus-attached devices 2341.77Sjtk# 2351.77Sjtk 2361.77Sjtk# Advanced Power Management support (APM) 2371.108Sthorpejdevice apm: bioscall 2381.77Sjtkattach apm at mainbus 2391.77Sjtkfile arch/i386/i386/apm.c apm needs-count 2401.89Sjtkfile arch/i386/i386/apmcall.s apm 2411.56Scgd 2421.55Smycroft# 2431.55Smycroft# Compatibility modules 2441.55Smycroft# 2451.61Smycroft 2461.61Smycroft# VM86 mode 2471.61Smycroftfile arch/i386/i386/vm86.c vm86 2481.120Smycroft 2491.120Smycroft# Binary compatibility with previous NetBSD releases (COMPAT_XX) 2501.120Smycroftfile arch/i386/i386/compat_13_machdep.c compat_13 2511.56Scgd 2521.59Smycroft# SVR4 binary compatibility (COMPAT_SVR4) 2531.98Sthorpejinclude "compat/svr4/files.svr4" 2541.59Smycroftfile arch/i386/i386/svr4_machdep.c compat_svr4 2551.56Scgd 2561.59Smycroft# iBCS-2 binary compatibility (COMPAT_IBCS2) 2571.98Sthorpejinclude "compat/ibcs2/files.ibcs2" 2581.88Smycroftfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 2591.56Scgd 2601.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 2611.98Sthorpejinclude "compat/linux/files.linux" 2621.122Sfvdlinclude "compat/linux/arch/i386/files.linux_i386" 2631.58Smycroft 2641.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 2651.98Sthorpejinclude "compat/freebsd/files.freebsd" 2661.58Smycroftfile arch/i386/i386/freebsd_machdep.c compat_freebsd 2671.131Schristos 2681.131Schristos# a.out binary compatibility (COMPAT_AOUT) 2691.131Schristosinclude "compat/aout/files.aout" 2701.82Saugustss 2711.82Saugustss# OSS audio driver compatibility 2721.98Sthorpejinclude "compat/ossaudio/files.ossaudio" 2731.91Sbouyer 2741.91Sbouyer# network devices MII bus 2751.98Sthorpejinclude "dev/mii/files.mii" 2761.90Sthorpej 2771.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 2781.90Sthorpej# to be late, so devices which attach to it are attached late. But it 2791.90Sthorpej# needs to be before its isa and pci attachments. This answer is 2801.90Sthorpej# non-optimal, but I don't have a better answer right now. 2811.90Sthorpej 2821.90Sthorpej# PCIC pcmcia contoller 2831.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 2841.90Sthorpej# like a kludge, but it might be for the best. 2851.93Sthorpej 2861.93Sthorpejdefopt PCIC_ISA_ALLOC_IOBASE 2871.93Sthorpejdefopt PCIC_ISA_ALLOC_IOSIZE 2881.93Sthorpejdefopt PCIC_ISA_INTR_ALLOC_MASK 2891.93Sthorpej 2901.126Spkdevice pcic: pcmciabus 2911.92Sthorpejfile dev/ic/i82365.c pcic 2921.90Sthorpej 2931.114Ssommerfe# PCIC pcmcia controller on ISA bus. 2941.90Sthorpejattach pcic at isa with pcic_isa 2951.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 2961.90Sthorpej 2971.114Ssommerfe# PCIC pcmcia controller on PCI bus. 2981.90Sthorpejattach pcic at pci with pcic_pci 2991.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 3001.90Sthorpej 3011.114Ssommerfe# PCIC pcmcia controller on PnP board 3021.114Ssommerfeattach pcic at isapnp with pcic_isapnp 3031.114Ssommerfefile dev/isapnp/i82365_isapnp.c pcic_isapnp 3041.114Ssommerfe 3051.114Ssommerfe# Code common to ISA and ISAPnP attachments 3061.127Snathanwfile dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 3071.132Sbad 3081.132Sbad# XXXX tcic here because it needs to be late. The catch: tcic needs 3091.132Sbad# to be late, so devices which attach to it are attached late. But it 3101.132Sbad# needs to be before its isa and pci attachments. This answer is 3111.132Sbad# non-optimal, but I don't have a better answer right now. 3121.132Sbad 3131.132Sbad# TCIC pcmcia contoller 3141.132Sbad# XXX this needs to be done very late, so it's done here. This feels 3151.132Sbad# like a kludge, but it might be for the best. 3161.132Sbad 3171.132Sbaddefopt TCIC_ISA_ALLOC_IOBASE 3181.132Sbaddefopt TCIC_ISA_ALLOC_IOSIZE 3191.132Sbaddefopt TCIC_ISA_INTR_ALLOC_MASK 3201.132Sbad 3211.132Sbaddevice tcic: pcmciabus 3221.132Sbadfile dev/ic/tcic2.c tcic 3231.132Sbad 3241.132Sbad# TCIC pcmcia contoller 3251.132Sbadattach tcic at isa with tcic_isa 3261.132Sbadfile dev/isa/tcic2_isa.c tcic_isa 3271.90Sthorpej 3281.90Sthorpej# this wants to be probed as late as possible. 3291.90Sthorpej# 3301.90Sthorpej# Machine-independent PCMCIA drivers 3311.90Sthorpej# 3321.90Sthorpejinclude "dev/pcmcia/files.pcmcia" 3331.90Sthorpej 3341.90Sthorpej 3351.116Saugustssinclude "dev/usb/files.usb" 336