files.i386 revision 1.125
11.125Sthorpej# $NetBSD: files.i386,v 1.125 1998/11/12 21:32:16 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.106Smrgfile arch/i386/i386/pmap.c !pmap_new 531.106Smrgfile arch/i386/i386/pmap.new.c pmap_new 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.56Scgdmajor {vnd = 14} 601.56Scgd 611.56Scgd# 621.56Scgd# Machine-independent SCSI drivers 631.56Scgd# 641.56Scgd 651.98Sthorpejinclude "dev/scsipi/files.scsipi" 661.56Scgdmajor {sd = 4} 671.56Scgdmajor {st = 5} 681.56Scgdmajor {cd = 6} 691.69Sperry 701.97Scgd# 711.97Scgd# Machine-independent ATA drivers 721.97Scgd# 731.97Scgd 741.98Sthorpejinclude "dev/ata/files.ata" 751.97Scgdmajor {wd = 0} 761.97Scgd 771.79Spk# Memory Disk for install floppy 781.79Spkfile arch/i386/i386/md_root.c memory_disk_hooks 791.79Spkmajor {md = 17} 801.56Scgd 811.56Scgd# 821.56Scgd# System bus types 831.56Scgd# 841.65Scgd 851.77Sjtkdefine mainbus { } 861.108Sthorpejdevice mainbus: isabus, eisabus, pcibus, mainbus 871.67Sthorpejattach mainbus at root 881.65Scgdfile arch/i386/i386/mainbus.c mainbus 891.56Scgd 901.89Sjtk# attribute used to bring in BIOS trampoline code for real-mode probing 911.89Sjtk# of certain devices/BIOS features 921.89Sjtkdefine bioscall 931.89Sjtkfile arch/i386/i386/bioscall.s bioscall needs-flag 941.89Sjtk 951.56Scgd#device mca at root {...} 961.56Scgd 971.55Smycroft# 981.64Scgd# PCI-only drivers 991.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 1001.64Scgd# XXX devices to 'pci'. 1011.64Scgd# 1021.64Scgd 1031.98Sthorpejinclude "dev/pci/files.pci" 1041.64Scgdfile arch/i386/pci/pci_machdep.c pci 1051.110Scgdfile arch/i386/pci/pciide_machdep.c pciide 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.56Scgdmajor {wt = 3} 1301.115Scgd 1311.115Scgd# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 1321.115Scgd# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 1331.115Scgd# XXX (when the conf/files and files.isa bogons are fixed, this can 1341.115Scgd# XXX be fixed as well.) 1351.115Scgd 1361.115Scgdattach lpt at puc with lpt_puc 1371.115Scgdfile dev/pci/lpt_puc.c lpt_puc 1381.56Scgd 1391.56Scgdfile arch/i386/isa/isa_machdep.c isa 1401.56Scgd 1411.56Scgd# PC clock 1421.56Scgdfile arch/i386/isa/clock.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.108Sthorpejdevice lms 1721.67Sthorpejattach lms at isa 1731.56Scgdfile arch/i386/isa/lms.c lms needs-flag 1741.108Sthorpejdevice mms 1751.67Sthorpejattach mms at isa 1761.56Scgdfile arch/i386/isa/mms.c mms needs-flag 1771.108Sthorpejdevice pms 1781.111Sdrochnerattach pms at pckbcport with pms_hack 1791.111Sdrochnerattach pms at pckbc with pms_pckbc 1801.111Sdrochnerfile arch/i386/isa/pms.c pms | pms_hack | pms_pckbc needs-flag 1811.111Sdrochner 1821.111Sdrochnerinclude "dev/wscons/files.wscons" 1831.111Sdrochner 1841.111Sdrochnerinclude "dev/pckbc/files.pckbc" 1851.113Sdrochner 1861.113Sdrochnerdevice sysbeep 1871.113Sdrochnerattach sysbeep at pcppi 1881.111Sdrochner 1891.56Scgd# Floppy disk controller 1901.108Sthorpejdevice fdc {drive = -1} 1911.67Sthorpejattach fdc at isa 1921.108Sthorpejdevice fd: disk, isadma 1931.67Sthorpejattach fd at fdc 1941.56Scgdfile arch/i386/isa/fd.c fdc needs-flag 1951.56Scgdmajor {fd = 2} 1961.71Sperry 1971.71Sperry# Game adapter (joystick) 1981.108Sthorpejdevice joy 1991.71Sperryfile arch/i386/isa/joy.c joy needs-flag 2001.76Ssoda 2011.80Schristosattach joy at isa with joy_isa 2021.80Schristosfile arch/i386/isa/joy_isa.c joy_isa 2031.80Schristos 2041.76Ssoda# Adaptec AHA-284x VL SCSI controllers 2051.76Ssoda# device declaration in sys/conf/files 2061.76Ssodaattach ahc at isa with ahc_isa 2071.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 2081.56Scgd 2091.55Smycroft# 2101.55Smycroft# EISA-only drivers 2111.55Smycroft# 2121.56Scgd 2131.98Sthorpejinclude "dev/eisa/files.eisa" 2141.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 2151.77Sjtk 2161.80Schristos# ISA Plug 'n Play devices 2171.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 2181.80Schristos 2191.80Schristosattach joy at isapnp with joy_isapnp 2201.80Schristosfile arch/i386/isa/joy_isapnp.c joy_isapnp 2211.77Sjtk 2221.77Sjtk# 2231.77Sjtk# Other mainbus-attached devices 2241.77Sjtk# 2251.77Sjtk 2261.77Sjtk# Advanced Power Management support (APM) 2271.108Sthorpejdevice apm: bioscall 2281.77Sjtkattach apm at mainbus 2291.77Sjtkfile arch/i386/i386/apm.c apm needs-count 2301.89Sjtkfile arch/i386/i386/apmcall.s apm 2311.56Scgd 2321.55Smycroft# 2331.55Smycroft# Compatibility modules 2341.55Smycroft# 2351.61Smycroft 2361.61Smycroft# VM86 mode 2371.61Smycroftfile arch/i386/i386/vm86.c vm86 2381.120Smycroft 2391.120Smycroft# Binary compatibility with previous NetBSD releases (COMPAT_XX) 2401.120Smycroftfile arch/i386/i386/compat_13_machdep.c compat_13 2411.56Scgd 2421.59Smycroft# SVR4 binary compatibility (COMPAT_SVR4) 2431.98Sthorpejinclude "compat/svr4/files.svr4" 2441.59Smycroftfile arch/i386/i386/svr4_machdep.c compat_svr4 2451.56Scgd 2461.59Smycroft# iBCS-2 binary compatibility (COMPAT_IBCS2) 2471.98Sthorpejinclude "compat/ibcs2/files.ibcs2" 2481.88Smycroftfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 2491.56Scgd 2501.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 2511.98Sthorpejinclude "compat/linux/files.linux" 2521.122Sfvdlinclude "compat/linux/arch/i386/files.linux_i386" 2531.58Smycroft 2541.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 2551.98Sthorpejinclude "compat/freebsd/files.freebsd" 2561.58Smycroftfile arch/i386/i386/freebsd_machdep.c compat_freebsd 2571.82Saugustss 2581.82Saugustss# OSS audio driver compatibility 2591.98Sthorpejinclude "compat/ossaudio/files.ossaudio" 2601.91Sbouyer 2611.91Sbouyer# network devices MII bus 2621.98Sthorpejinclude "dev/mii/files.mii" 2631.90Sthorpej 2641.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 2651.90Sthorpej# to be late, so devices which attach to it are attached late. But it 2661.90Sthorpej# needs to be before its isa and pci attachments. This answer is 2671.90Sthorpej# non-optimal, but I don't have a better answer right now. 2681.90Sthorpej 2691.90Sthorpej# PCIC pcmcia contoller 2701.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 2711.90Sthorpej# like a kludge, but it might be for the best. 2721.93Sthorpej 2731.93Sthorpejdefopt PCIC_ISA_ALLOC_IOBASE 2741.93Sthorpejdefopt PCIC_ISA_ALLOC_IOSIZE 2751.93Sthorpejdefopt PCIC_ISA_INTR_ALLOC_MASK 2761.93Sthorpej 2771.108Sthorpejdevice pcic {[controller = -1], [socket = -1]} 2781.92Sthorpejfile dev/ic/i82365.c pcic 2791.90Sthorpej 2801.114Ssommerfe# PCIC pcmcia controller on ISA bus. 2811.90Sthorpejattach pcic at isa with pcic_isa 2821.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 2831.90Sthorpej 2841.114Ssommerfe# PCIC pcmcia controller on PCI bus. 2851.90Sthorpejattach pcic at pci with pcic_pci 2861.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 2871.90Sthorpej 2881.114Ssommerfe# PCIC pcmcia controller on PnP board 2891.114Ssommerfeattach pcic at isapnp with pcic_isapnp 2901.114Ssommerfefile dev/isapnp/i82365_isapnp.c pcic_isapnp 2911.114Ssommerfe 2921.114Ssommerfe# Code common to ISA and ISAPnP attachments 2931.114Ssommerfefile dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp 2941.90Sthorpej 2951.90Sthorpej# this wants to be probed as late as possible. 2961.90Sthorpej# 2971.90Sthorpej# Machine-independent PCMCIA drivers 2981.90Sthorpej# 2991.90Sthorpejinclude "dev/pcmcia/files.pcmcia" 3001.90Sthorpej 3011.90Sthorpej 3021.116Saugustssinclude "dev/usb/files.usb" 303