files.i386 revision 1.138
11.138Sitohy# $NetBSD: files.i386,v 1.138 1999/09/09 03:52:21 itohy 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.98Sthorpej 371.56Scgdfile arch/i386/i386/autoconf.c 381.56Scgdfile arch/i386/i386/conf.c 391.119Srvbfile arch/i386/i386/db_dbgreg.s ddb 401.56Scgdfile arch/i386/i386/db_disasm.c ddb 411.56Scgdfile arch/i386/i386/db_interface.c ddb 421.85Sthorpejfile arch/i386/i386/db_memrw.c ddb | kgdb 431.56Scgdfile arch/i386/i386/db_trace.c ddb 441.56Scgdfile arch/i386/i386/disksubr.c disk 451.60Smycroftfile arch/i386/i386/gdt.c 461.74Smycroftfile arch/i386/i386/in_cksum.s inet 471.85Sthorpejfile arch/i386/i386/kgdb_machdep.c kgdb 481.56Scgdfile arch/i386/i386/machdep.c 491.56Scgdfile arch/i386/i386/math_emulate.c math_emulate 501.56Scgdfile arch/i386/i386/mem.c 511.56Scgdfile arch/i386/i386/microtime.s 521.56Scgdfile arch/i386/i386/ns_cksum.c ns 531.134Sthorpejfile arch/i386/i386/pmap.c 541.56Scgdfile arch/i386/i386/process_machdep.c 551.56Scgdfile arch/i386/i386/sys_machdep.c 561.56Scgdfile arch/i386/i386/trap.c 571.56Scgdfile arch/i386/i386/vm_machdep.c 581.56Scgdfile dev/cons.c 591.56Scgd 601.56Scgd# 611.56Scgd# Machine-independent SCSI drivers 621.56Scgd# 631.56Scgd 641.98Sthorpejinclude "dev/scsipi/files.scsipi" 651.56Scgdmajor {sd = 4} 661.56Scgdmajor {cd = 6} 671.69Sperry 681.97Scgd# 691.97Scgd# Machine-independent ATA drivers 701.97Scgd# 711.97Scgd 721.98Sthorpejinclude "dev/ata/files.ata" 731.97Scgdmajor {wd = 0} 741.97Scgd 751.79Spk# Memory Disk for install floppy 761.79Spkfile arch/i386/i386/md_root.c memory_disk_hooks 771.79Spkmajor {md = 17} 781.56Scgd 791.56Scgd# 801.56Scgd# System bus types 811.56Scgd# 821.65Scgd 831.77Sjtkdefine mainbus { } 841.108Sthorpejdevice mainbus: isabus, eisabus, pcibus, mainbus 851.67Sthorpejattach mainbus at root 861.65Scgdfile arch/i386/i386/mainbus.c mainbus 871.56Scgd 881.89Sjtk# attribute used to bring in BIOS trampoline code for real-mode probing 891.89Sjtk# of certain devices/BIOS features 901.89Sjtkdefine bioscall 911.89Sjtkfile arch/i386/i386/bioscall.s bioscall needs-flag 921.89Sjtk 931.56Scgd#device mca at root {...} 941.56Scgd 951.55Smycroft# 961.64Scgd# PCI-only drivers 971.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 981.64Scgd# XXX devices to 'pci'. 991.64Scgd# 1001.64Scgd 1011.98Sthorpejinclude "dev/pci/files.pci" 1021.64Scgdfile arch/i386/pci/pci_machdep.c pci 1031.129Sdrochnerdefopt PCI_CONF_MODE 1041.110Scgdfile arch/i386/pci/pciide_machdep.c pciide 1051.127Snathanwfile arch/i386/pci/pcic_pci_machdep.c pcic_pci 1061.78Sthorpej 1071.78Sthorpej# PCI-Host bridge chipsets 1081.108Sthorpejdevice pchb: pcibus 1091.78Sthorpejattach pchb at pci 1101.78Sthorpejfile arch/i386/pci/pchb.c pchb 1111.107Sthorpej 1121.107Sthorpej# PCI-EISA bridges 1131.108Sthorpejdevice pceb: eisabus, isabus 1141.107Sthorpejattach pceb at pci 1151.107Sthorpejfile arch/i386/pci/pceb.c pceb 1161.78Sthorpej 1171.78Sthorpej# PCI-ISA bridges 1181.108Sthorpejdevice pcib: isabus 1191.78Sthorpejattach pcib at pci 1201.78Sthorpejfile arch/i386/pci/pcib.c pcib 1211.64Scgd 1221.64Scgd# 1231.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 1241.55Smycroft# 1251.56Scgd 1261.98Sthorpejinclude "dev/isa/files.isa" 1271.56Scgdmajor {mcd = 7} 1281.56Scgd#major {scd = 15} 1291.115Scgd 1301.115Scgd# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 1311.115Scgd# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 1321.115Scgd# XXX (when the conf/files and files.isa bogons are fixed, this can 1331.115Scgd# XXX be fixed as well.) 1341.115Scgd 1351.115Scgdattach lpt at puc with lpt_puc 1361.115Scgdfile dev/pci/lpt_puc.c lpt_puc 1371.56Scgd 1381.56Scgdfile arch/i386/isa/isa_machdep.c isa 1391.56Scgd 1401.56Scgd# PC clock 1411.56Scgdfile arch/i386/isa/clock.c isa 1421.130Sdrochnerfile dev/clock_subr.c isa 1431.56Scgd 1441.56Scgd# Numeric Processing Extension; Math Co-processor 1451.108Sthorpejdevice npx 1461.67Sthorpejattach npx at isa 1471.56Scgdfile arch/i386/isa/npx.c npx needs-flag 1481.56Scgd 1491.66Sthorpej# attribute used to represent the "keyboard controller" 1501.66Sthorpej# XXX should be a real device 1511.111Sdrochnerdefine pckbcport { [irq = -1], [port = -1] } 1521.66Sthorpej 1531.56Scgd# PC console support a la "pccons" 1541.111Sdrochnerdevice pc: tty, pckbcport 1551.67Sthorpejattach pc at isa 1561.111Sdrochnerdevice pcconskbd 1571.111Sdrochnerattach pcconskbd at pckbc 1581.111Sdrochnerfile arch/i386/isa/pccons.c pc | pcconskbd needs-flag 1591.56Scgd 1601.56Scgd# PC console support a la "pcvt" 1611.111Sdrochnerdevice vt: tty, pckbcport 1621.67Sthorpejattach vt at isa 1631.56Scgdfile arch/i386/isa/pcvt/pcvt_drv.c vt needs-flag 1641.56Scgdfile arch/i386/isa/pcvt/pcvt_ext.c vt needs-flag 1651.56Scgdfile arch/i386/isa/pcvt/pcvt_kbd.c vt needs-flag 1661.56Scgdfile arch/i386/isa/pcvt/pcvt_out.c vt needs-flag 1671.56Scgdfile arch/i386/isa/pcvt/pcvt_sup.c vt needs-flag 1681.56Scgdfile arch/i386/isa/pcvt/pcvt_vtf.c vt needs-flag 1691.56Scgd 1701.56Scgd# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 1711.128Sdrochnerdevice olms 1721.128Sdrochnerattach olms at isa 1731.128Sdrochnerfile arch/i386/isa/olms.c olms needs-flag 1741.128Sdrochnerdevice lms: wsmousedev 1751.67Sthorpejattach lms at isa 1761.128Sdrochnerfile arch/i386/isa/lms.c lms 1771.128Sdrochnerdevice omms 1781.128Sdrochnerattach omms at isa 1791.128Sdrochnerfile arch/i386/isa/omms.c omms needs-flag 1801.128Sdrochnerdevice mms: wsmousedev 1811.67Sthorpejattach mms at isa 1821.128Sdrochnerfile arch/i386/isa/mms.c mms 1831.128Sdrochnerdevice opms 1841.128Sdrochnerattach opms at pckbcport with opms_hack 1851.128Sdrochnerattach opms at pckbc with opms_pckbc 1861.128Sdrochnerfile arch/i386/isa/pms.c opms | opms_hack | opms_pckbc needs-flag 1871.111Sdrochner 1881.111Sdrochnerinclude "dev/wscons/files.wscons" 1891.111Sdrochner 1901.111Sdrochnerinclude "dev/pckbc/files.pckbc" 1911.113Sdrochner 1921.113Sdrochnerdevice sysbeep 1931.113Sdrochnerattach sysbeep at pcppi 1941.111Sdrochner 1951.56Scgd# Floppy disk controller 1961.108Sthorpejdevice fdc {drive = -1} 1971.67Sthorpejattach fdc at isa 1981.108Sthorpejdevice fd: disk, isadma 1991.67Sthorpejattach fd at fdc 2001.56Scgdfile arch/i386/isa/fd.c fdc needs-flag 2011.56Scgdmajor {fd = 2} 2021.71Sperry 2031.71Sperry# Game adapter (joystick) 2041.108Sthorpejdevice joy 2051.71Sperryfile arch/i386/isa/joy.c joy needs-flag 2061.76Ssoda 2071.80Schristosattach joy at isa with joy_isa 2081.80Schristosfile arch/i386/isa/joy_isa.c joy_isa 2091.80Schristos 2101.76Ssoda# Adaptec AHA-284x VL SCSI controllers 2111.76Ssoda# device declaration in sys/conf/files 2121.76Ssodaattach ahc at isa with ahc_isa 2131.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 2141.56Scgd 2151.55Smycroft# 2161.55Smycroft# EISA-only drivers 2171.55Smycroft# 2181.56Scgd 2191.98Sthorpejinclude "dev/eisa/files.eisa" 2201.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 2211.77Sjtk 2221.80Schristos# ISA Plug 'n Play devices 2231.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 2241.80Schristos 2251.80Schristosattach joy at isapnp with joy_isapnp 2261.80Schristosfile arch/i386/isa/joy_isapnp.c joy_isapnp 2271.130Sdrochner 2281.130Sdrochner# 2291.130Sdrochner# VME support 2301.130Sdrochner# 2311.130Sdrochnerinclude "dev/vme/files.vme" 2321.77Sjtk 2331.77Sjtk# 2341.77Sjtk# Other mainbus-attached devices 2351.77Sjtk# 2361.77Sjtk 2371.77Sjtk# Advanced Power Management support (APM) 2381.108Sthorpejdevice apm: bioscall 2391.77Sjtkattach apm at mainbus 2401.77Sjtkfile arch/i386/i386/apm.c apm needs-count 2411.89Sjtkfile arch/i386/i386/apmcall.s apm 2421.56Scgd 2431.55Smycroft# 2441.55Smycroft# Compatibility modules 2451.55Smycroft# 2461.61Smycroft 2471.61Smycroft# VM86 mode 2481.61Smycroftfile arch/i386/i386/vm86.c vm86 2491.120Smycroft 2501.120Smycroft# Binary compatibility with previous NetBSD releases (COMPAT_XX) 2511.135Smellonfile arch/i386/i386/compat_13_machdep.c compat_13 | compat_aout 2521.56Scgd 2531.59Smycroft# SVR4 binary compatibility (COMPAT_SVR4) 2541.98Sthorpejinclude "compat/svr4/files.svr4" 2551.59Smycroftfile arch/i386/i386/svr4_machdep.c compat_svr4 2561.56Scgd 2571.59Smycroft# iBCS-2 binary compatibility (COMPAT_IBCS2) 2581.98Sthorpejinclude "compat/ibcs2/files.ibcs2" 2591.88Smycroftfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 2601.56Scgd 2611.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 2621.98Sthorpejinclude "compat/linux/files.linux" 2631.122Sfvdlinclude "compat/linux/arch/i386/files.linux_i386" 2641.58Smycroft 2651.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 2661.98Sthorpejinclude "compat/freebsd/files.freebsd" 2671.58Smycroftfile arch/i386/i386/freebsd_machdep.c compat_freebsd 2681.131Schristos 2691.131Schristos# a.out binary compatibility (COMPAT_AOUT) 2701.131Schristosinclude "compat/aout/files.aout" 2711.82Saugustss 2721.82Saugustss# OSS audio driver compatibility 2731.98Sthorpejinclude "compat/ossaudio/files.ossaudio" 2741.91Sbouyer 2751.91Sbouyer# network devices MII bus 2761.98Sthorpejinclude "dev/mii/files.mii" 2771.90Sthorpej 2781.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 2791.90Sthorpej# to be late, so devices which attach to it are attached late. But it 2801.90Sthorpej# needs to be before its isa and pci attachments. This answer is 2811.90Sthorpej# non-optimal, but I don't have a better answer right now. 2821.90Sthorpej 2831.90Sthorpej# PCIC pcmcia contoller 2841.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 2851.90Sthorpej# like a kludge, but it might be for the best. 2861.93Sthorpej 2871.93Sthorpejdefopt PCIC_ISA_ALLOC_IOBASE 2881.93Sthorpejdefopt PCIC_ISA_ALLOC_IOSIZE 2891.93Sthorpejdefopt PCIC_ISA_INTR_ALLOC_MASK 2901.93Sthorpej 2911.126Spkdevice pcic: pcmciabus 2921.92Sthorpejfile dev/ic/i82365.c pcic 2931.90Sthorpej 2941.114Ssommerfe# PCIC pcmcia controller on ISA bus. 2951.90Sthorpejattach pcic at isa with pcic_isa 2961.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 2971.90Sthorpej 2981.114Ssommerfe# PCIC pcmcia controller on PCI bus. 2991.90Sthorpejattach pcic at pci with pcic_pci 3001.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 3011.90Sthorpej 3021.114Ssommerfe# PCIC pcmcia controller on PnP board 3031.114Ssommerfeattach pcic at isapnp with pcic_isapnp 3041.114Ssommerfefile dev/isapnp/i82365_isapnp.c pcic_isapnp 3051.114Ssommerfe 3061.114Ssommerfe# Code common to ISA and ISAPnP attachments 3071.127Snathanwfile dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 3081.132Sbad 3091.132Sbad# XXXX tcic here because it needs to be late. The catch: tcic needs 3101.132Sbad# to be late, so devices which attach to it are attached late. But it 3111.132Sbad# needs to be before its isa and pci attachments. This answer is 3121.132Sbad# non-optimal, but I don't have a better answer right now. 3131.132Sbad 3141.132Sbad# TCIC pcmcia contoller 3151.132Sbad# XXX this needs to be done very late, so it's done here. This feels 3161.132Sbad# like a kludge, but it might be for the best. 3171.132Sbad 3181.132Sbaddefopt TCIC_ISA_ALLOC_IOBASE 3191.132Sbaddefopt TCIC_ISA_ALLOC_IOSIZE 3201.132Sbaddefopt TCIC_ISA_INTR_ALLOC_MASK 3211.132Sbad 3221.132Sbaddevice tcic: pcmciabus 3231.132Sbadfile dev/ic/tcic2.c tcic 3241.132Sbad 3251.132Sbad# TCIC pcmcia contoller 3261.132Sbadattach tcic at isa with tcic_isa 3271.132Sbadfile dev/isa/tcic2_isa.c tcic_isa 3281.90Sthorpej 3291.90Sthorpej# this wants to be probed as late as possible. 3301.90Sthorpej# 3311.90Sthorpej# Machine-independent PCMCIA drivers 3321.90Sthorpej# 3331.90Sthorpejinclude "dev/pcmcia/files.pcmcia" 3341.90Sthorpej 3351.90Sthorpej 3361.116Saugustssinclude "dev/usb/files.usb" 337