files.i386 revision 1.114
11.114Ssommerfe# $NetBSD: files.i386,v 1.114 1998/06/07 18:34:38 sommerfe 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.100Sthorpej 111.100Sthorpej# Processor type options. 121.100Sthorpejdefopt opt_cputype.h I386_CPU I486_CPU I586_CPU I686_CPU 131.101Sthorpej 141.101Sthorpej# VM86 emulation 151.101Sthorpejdefopt VM86 161.102Sthorpej 171.102Sthorpej# Floating point emulation 181.102Sthorpejdefopt MATH_EMULATE 191.103Sthorpej 201.103Sthorpej# User-settable LDT (used by WINE) 211.103Sthorpejdefopt USER_LDT 221.104Sthorpej 231.104Sthorpej# Speed hack; make NOPs dummies (might break on some machines) 241.104Sthorpejdefopt DUMMY_NOPS 251.105Sthorpej 261.105Sthorpej# X server support in console drivers 271.105Sthorpejdefopt XSERVER 281.98Sthorpej 291.56Scgdfile arch/i386/i386/autoconf.c 301.56Scgdfile arch/i386/i386/conf.c 311.56Scgdfile arch/i386/i386/db_disasm.c ddb 321.56Scgdfile arch/i386/i386/db_interface.c ddb 331.85Sthorpejfile arch/i386/i386/db_memrw.c ddb | kgdb 341.56Scgdfile arch/i386/i386/db_trace.c ddb 351.56Scgdfile arch/i386/i386/disksubr.c disk 361.60Smycroftfile arch/i386/i386/gdt.c 371.74Smycroftfile arch/i386/i386/in_cksum.s inet 381.85Sthorpejfile arch/i386/i386/kgdb_machdep.c kgdb 391.56Scgdfile arch/i386/i386/machdep.c 401.56Scgdfile arch/i386/i386/math_emulate.c math_emulate 411.56Scgdfile arch/i386/i386/mem.c 421.56Scgdfile arch/i386/i386/microtime.s 431.56Scgdfile arch/i386/i386/ns_cksum.c ns 441.106Smrgfile arch/i386/i386/pmap.c !pmap_new 451.106Smrgfile arch/i386/i386/pmap.new.c pmap_new 461.56Scgdfile arch/i386/i386/process_machdep.c 471.56Scgdfile arch/i386/i386/sys_machdep.c 481.56Scgdfile arch/i386/i386/trap.c 491.56Scgdfile arch/i386/i386/vm_machdep.c 501.56Scgdfile dev/cons.c 511.56Scgdmajor {vnd = 14} 521.56Scgd 531.56Scgd# 541.56Scgd# Machine-independent SCSI drivers 551.56Scgd# 561.56Scgd 571.98Sthorpejinclude "dev/scsipi/files.scsipi" 581.56Scgdmajor {sd = 4} 591.56Scgdmajor {st = 5} 601.56Scgdmajor {cd = 6} 611.69Sperry 621.97Scgd# 631.97Scgd# Machine-independent ATA drivers 641.97Scgd# 651.97Scgd 661.98Sthorpejinclude "dev/ata/files.ata" 671.97Scgdmajor {wd = 0} 681.97Scgd 691.79Spk# Memory Disk for install floppy 701.79Spkfile arch/i386/i386/md_root.c memory_disk_hooks 711.79Spkmajor {md = 17} 721.56Scgd 731.56Scgd# 741.56Scgd# System bus types 751.56Scgd# 761.65Scgd 771.77Sjtkdefine mainbus { } 781.108Sthorpejdevice mainbus: isabus, eisabus, pcibus, mainbus 791.67Sthorpejattach mainbus at root 801.65Scgdfile arch/i386/i386/mainbus.c mainbus 811.56Scgd 821.89Sjtk# attribute used to bring in BIOS trampoline code for real-mode probing 831.89Sjtk# of certain devices/BIOS features 841.89Sjtkdefine bioscall 851.89Sjtkfile arch/i386/i386/bioscall.s bioscall needs-flag 861.89Sjtk 871.56Scgd#device mca at root {...} 881.56Scgd 891.55Smycroft# 901.64Scgd# PCI-only drivers 911.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 921.64Scgd# XXX devices to 'pci'. 931.64Scgd# 941.64Scgd 951.98Sthorpejinclude "dev/pci/files.pci" 961.64Scgdfile arch/i386/pci/pci_machdep.c pci 971.110Scgdfile arch/i386/pci/pciide_machdep.c pciide 981.78Sthorpej 991.78Sthorpej# PCI-Host bridge chipsets 1001.108Sthorpejdevice pchb: pcibus 1011.78Sthorpejattach pchb at pci 1021.78Sthorpejfile arch/i386/pci/pchb.c pchb 1031.107Sthorpej 1041.107Sthorpej# PCI-EISA bridges 1051.108Sthorpejdevice pceb: eisabus, isabus 1061.107Sthorpejattach pceb at pci 1071.107Sthorpejfile arch/i386/pci/pceb.c pceb 1081.78Sthorpej 1091.78Sthorpej# PCI-ISA bridges 1101.108Sthorpejdevice pcib: isabus 1111.78Sthorpejattach pcib at pci 1121.78Sthorpejfile arch/i386/pci/pcib.c pcib 1131.64Scgd 1141.64Scgd# 1151.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 1161.55Smycroft# 1171.56Scgd 1181.98Sthorpejinclude "dev/isa/files.isa" 1191.56Scgdmajor {mcd = 7} 1201.56Scgd#major {scd = 15} 1211.56Scgdmajor {wt = 3} 1221.110Scgd 1231.110Scgd# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 1241.110Scgd# XXX BECAUSE NOT ALL PORTS USE THE MI DRIVER YET. (when the conf/files 1251.110Scgd# XXX and files.isa bogons are fixed, this can be fixed as well.) 1261.110Scgd 1271.110Scgd# PCI IDE controllers 1281.110Scgddevice pciide {[channel = -1]} 1291.110Scgdattach pciide at pci 1301.110Scgdfile dev/pci/pciide.c pciide 1311.110Scgdattach wdc at pciide with wdc_pciide 1321.110Scgdfile dev/pci/wdc_pciide.c wdc_pciide 1331.56Scgd 1341.56Scgdfile arch/i386/isa/isa_machdep.c isa 1351.56Scgd 1361.56Scgd# PC clock 1371.56Scgdfile arch/i386/isa/clock.c isa 1381.56Scgd 1391.56Scgd# Numeric Processing Extension; Math Co-processor 1401.108Sthorpejdevice npx 1411.67Sthorpejattach npx at isa 1421.56Scgdfile arch/i386/isa/npx.c npx needs-flag 1431.56Scgd 1441.66Sthorpej# attribute used to represent the "keyboard controller" 1451.66Sthorpej# XXX should be a real device 1461.111Sdrochnerdefine pckbcport { [irq = -1], [port = -1] } 1471.66Sthorpej 1481.56Scgd# PC console support a la "pccons" 1491.111Sdrochnerdevice pc: tty, pckbcport 1501.67Sthorpejattach pc at isa 1511.111Sdrochnerdevice pcconskbd 1521.111Sdrochnerattach pcconskbd at pckbc 1531.111Sdrochnerfile arch/i386/isa/pccons.c pc | pcconskbd needs-flag 1541.56Scgd 1551.56Scgd# PC console support a la "pcvt" 1561.111Sdrochnerdevice vt: tty, pckbcport 1571.67Sthorpejattach vt at isa 1581.56Scgdfile arch/i386/isa/pcvt/pcvt_drv.c vt needs-flag 1591.56Scgdfile arch/i386/isa/pcvt/pcvt_ext.c vt needs-flag 1601.56Scgdfile arch/i386/isa/pcvt/pcvt_kbd.c vt needs-flag 1611.56Scgdfile arch/i386/isa/pcvt/pcvt_out.c vt needs-flag 1621.56Scgdfile arch/i386/isa/pcvt/pcvt_sup.c vt needs-flag 1631.56Scgdfile arch/i386/isa/pcvt/pcvt_vtf.c vt needs-flag 1641.56Scgd 1651.56Scgd# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 1661.108Sthorpejdevice lms 1671.67Sthorpejattach lms at isa 1681.56Scgdfile arch/i386/isa/lms.c lms needs-flag 1691.108Sthorpejdevice mms 1701.67Sthorpejattach mms at isa 1711.56Scgdfile arch/i386/isa/mms.c mms needs-flag 1721.108Sthorpejdevice pms 1731.111Sdrochnerattach pms at pckbcport with pms_hack 1741.111Sdrochnerattach pms at pckbc with pms_pckbc 1751.111Sdrochnerfile arch/i386/isa/pms.c pms | pms_hack | pms_pckbc needs-flag 1761.111Sdrochner 1771.111Sdrochnerinclude "dev/wscons/files.wscons" 1781.111Sdrochner 1791.111Sdrochnerinclude "dev/pckbc/files.pckbc" 1801.113Sdrochner 1811.113Sdrochnerdevice sysbeep 1821.113Sdrochnerattach sysbeep at pcppi 1831.111Sdrochner 1841.56Scgd# Floppy disk controller 1851.108Sthorpejdevice fdc {drive = -1} 1861.67Sthorpejattach fdc at isa 1871.108Sthorpejdevice fd: disk, isadma 1881.67Sthorpejattach fd at fdc 1891.56Scgdfile arch/i386/isa/fd.c fdc needs-flag 1901.56Scgdmajor {fd = 2} 1911.71Sperry 1921.71Sperry# Game adapter (joystick) 1931.108Sthorpejdevice joy 1941.71Sperryfile arch/i386/isa/joy.c joy needs-flag 1951.76Ssoda 1961.80Schristosattach joy at isa with joy_isa 1971.80Schristosfile arch/i386/isa/joy_isa.c joy_isa 1981.80Schristos 1991.76Ssoda# Adaptec AHA-284x VL SCSI controllers 2001.76Ssoda# device declaration in sys/conf/files 2011.76Ssodaattach ahc at isa with ahc_isa 2021.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 2031.56Scgd 2041.55Smycroft# 2051.55Smycroft# EISA-only drivers 2061.55Smycroft# 2071.56Scgd 2081.98Sthorpejinclude "dev/eisa/files.eisa" 2091.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 2101.77Sjtk 2111.80Schristos# ISA Plug 'n Play devices 2121.80Schristos# IT IS IMPORTANT THAT THIS IS INCLUDED AFTER ALL ISA DEVICES! 2131.80Schristos# DO NOT MOVE IT! (Thanks, The Mgmt.) 2141.80Schristosinclude "dev/isapnp/files.isapnp" 2151.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 2161.80Schristos 2171.80Schristosattach joy at isapnp with joy_isapnp 2181.80Schristosfile arch/i386/isa/joy_isapnp.c joy_isapnp 2191.77Sjtk 2201.77Sjtk# 2211.77Sjtk# Other mainbus-attached devices 2221.77Sjtk# 2231.77Sjtk 2241.77Sjtk# Advanced Power Management support (APM) 2251.108Sthorpejdevice apm: bioscall 2261.77Sjtkattach apm at mainbus 2271.77Sjtkfile arch/i386/i386/apm.c apm needs-count 2281.89Sjtkfile arch/i386/i386/apmcall.s apm 2291.56Scgd 2301.55Smycroft# 2311.55Smycroft# Compatibility modules 2321.55Smycroft# 2331.61Smycroft 2341.61Smycroft# VM86 mode 2351.61Smycroftfile arch/i386/i386/vm86.c vm86 2361.56Scgd 2371.59Smycroft# SVR4 binary compatibility (COMPAT_SVR4) 2381.98Sthorpejinclude "compat/svr4/files.svr4" 2391.59Smycroftfile arch/i386/i386/svr4_machdep.c compat_svr4 2401.56Scgd 2411.59Smycroft# iBCS-2 binary compatibility (COMPAT_IBCS2) 2421.98Sthorpejinclude "compat/ibcs2/files.ibcs2" 2431.88Smycroftfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 2441.56Scgd 2451.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 2461.98Sthorpejinclude "compat/linux/files.linux" 2471.59Smycroftfile arch/i386/i386/linux_machdep.c compat_linux 2481.58Smycroft 2491.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 2501.98Sthorpejinclude "compat/freebsd/files.freebsd" 2511.58Smycroftfile arch/i386/i386/freebsd_machdep.c compat_freebsd 2521.82Saugustss 2531.82Saugustss# OSS audio driver compatibility 2541.98Sthorpejinclude "compat/ossaudio/files.ossaudio" 2551.91Sbouyer 2561.91Sbouyer# network devices MII bus 2571.98Sthorpejinclude "dev/mii/files.mii" 2581.90Sthorpej 2591.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 2601.90Sthorpej# to be late, so devices which attach to it are attached late. But it 2611.90Sthorpej# needs to be before its isa and pci attachments. This answer is 2621.90Sthorpej# non-optimal, but I don't have a better answer right now. 2631.90Sthorpej 2641.90Sthorpej# PCIC pcmcia contoller 2651.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 2661.90Sthorpej# like a kludge, but it might be for the best. 2671.93Sthorpej 2681.93Sthorpejdefopt PCIC_ISA_ALLOC_IOBASE 2691.93Sthorpejdefopt PCIC_ISA_ALLOC_IOSIZE 2701.93Sthorpejdefopt PCIC_ISA_INTR_ALLOC_MASK 2711.93Sthorpej 2721.108Sthorpejdevice pcic {[controller = -1], [socket = -1]} 2731.92Sthorpejfile dev/ic/i82365.c pcic 2741.90Sthorpej 2751.114Ssommerfe# PCIC pcmcia controller on ISA bus. 2761.90Sthorpejattach pcic at isa with pcic_isa 2771.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 2781.90Sthorpej 2791.114Ssommerfe# PCIC pcmcia controller on PCI bus. 2801.90Sthorpejattach pcic at pci with pcic_pci 2811.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 2821.90Sthorpej 2831.114Ssommerfe# PCIC pcmcia controller on PnP board 2841.114Ssommerfeattach pcic at isapnp with pcic_isapnp 2851.114Ssommerfefile dev/isapnp/i82365_isapnp.c pcic_isapnp 2861.114Ssommerfe 2871.114Ssommerfe# Code common to ISA and ISAPnP attachments 2881.114Ssommerfefile dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp 2891.90Sthorpej 2901.90Sthorpej# this wants to be probed as late as possible. 2911.90Sthorpej# 2921.90Sthorpej# Machine-independent PCMCIA drivers 2931.90Sthorpej# 2941.90Sthorpejinclude "dev/pcmcia/files.pcmcia" 2951.90Sthorpej 2961.90Sthorpej 297