files.i386 revision 1.103
11.103Sthorpej# $NetBSD: files.i386,v 1.103 1998/01/22 00:39: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.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.98Sthorpej 231.56Scgdfile arch/i386/i386/autoconf.c 241.56Scgdfile arch/i386/i386/conf.c 251.56Scgdfile arch/i386/i386/db_disasm.c ddb 261.56Scgdfile arch/i386/i386/db_interface.c ddb 271.85Sthorpejfile arch/i386/i386/db_memrw.c ddb | kgdb 281.56Scgdfile arch/i386/i386/db_trace.c ddb 291.56Scgdfile arch/i386/i386/disksubr.c disk 301.60Smycroftfile arch/i386/i386/gdt.c 311.74Smycroftfile arch/i386/i386/in_cksum.s inet 321.85Sthorpejfile arch/i386/i386/kgdb_machdep.c kgdb 331.56Scgdfile arch/i386/i386/machdep.c 341.56Scgdfile arch/i386/i386/math_emulate.c math_emulate 351.56Scgdfile arch/i386/i386/mem.c 361.56Scgdfile arch/i386/i386/microtime.s 371.56Scgdfile arch/i386/i386/ns_cksum.c ns 381.56Scgdfile arch/i386/i386/pmap.c 391.56Scgdfile arch/i386/i386/process_machdep.c 401.56Scgdfile arch/i386/i386/random.s 411.56Scgdfile arch/i386/i386/sys_machdep.c 421.56Scgdfile arch/i386/i386/trap.c 431.56Scgdfile arch/i386/i386/vm_machdep.c 441.56Scgdfile dev/cons.c 451.56Scgdmajor {vnd = 14} 461.56Scgd 471.56Scgd# 481.56Scgd# Machine-independent SCSI drivers 491.56Scgd# 501.56Scgd 511.98Sthorpejinclude "dev/scsipi/files.scsipi" 521.56Scgdmajor {sd = 4} 531.56Scgdmajor {st = 5} 541.56Scgdmajor {cd = 6} 551.69Sperry 561.97Scgd# 571.97Scgd# Machine-independent ATA drivers 581.97Scgd# 591.97Scgd 601.98Sthorpejinclude "dev/ata/files.ata" 611.97Scgdmajor {wd = 0} 621.97Scgd 631.79Spk# Memory Disk for install floppy 641.79Spkfile arch/i386/i386/md_root.c memory_disk_hooks 651.79Spkmajor {md = 17} 661.56Scgd 671.56Scgd# 681.56Scgd# System bus types 691.56Scgd# 701.65Scgd 711.77Sjtkdefine mainbus { } 721.96Sthorpejdevice mainbus class dull: isabus, eisabus, pcibus, mainbus 731.67Sthorpejattach mainbus at root 741.65Scgdfile arch/i386/i386/mainbus.c mainbus 751.56Scgd 761.89Sjtk# attribute used to bring in BIOS trampoline code for real-mode probing 771.89Sjtk# of certain devices/BIOS features 781.89Sjtkdefine bioscall 791.89Sjtkfile arch/i386/i386/bioscall.s bioscall needs-flag 801.89Sjtk 811.56Scgd#device mca at root {...} 821.56Scgd 831.55Smycroft# 841.64Scgd# PCI-only drivers 851.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 861.64Scgd# XXX devices to 'pci'. 871.64Scgd# 881.64Scgd 891.98Sthorpejinclude "dev/pci/files.pci" 901.64Scgdfile arch/i386/pci/pci_machdep.c pci 911.78Sthorpej 921.78Sthorpej# PCI-Host bridge chipsets 931.96Sthorpejdevice pchb class dull: pcibus 941.78Sthorpejattach pchb at pci 951.78Sthorpejfile arch/i386/pci/pchb.c pchb 961.78Sthorpej 971.78Sthorpej# PCI-ISA bridges 981.96Sthorpejdevice pcib class dull: isabus 991.78Sthorpejattach pcib at pci 1001.78Sthorpejfile arch/i386/pci/pcib.c pcib 1011.64Scgd 1021.64Scgd# 1031.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 1041.55Smycroft# 1051.56Scgd 1061.98Sthorpejinclude "dev/isa/files.isa" 1071.56Scgdmajor {mcd = 7} 1081.56Scgd#major {scd = 15} 1091.56Scgdmajor {wt = 3} 1101.56Scgd 1111.56Scgdfile arch/i386/isa/isa_machdep.c isa 1121.56Scgd 1131.56Scgd# PC clock 1141.56Scgdfile arch/i386/isa/clock.c isa 1151.56Scgd 1161.56Scgd# Numeric Processing Extension; Math Co-processor 1171.96Sthorpejdevice npx class dull 1181.67Sthorpejattach npx at isa 1191.56Scgdfile arch/i386/isa/npx.c npx needs-flag 1201.56Scgd 1211.66Sthorpej# attribute used to represent the "keyboard controller" 1221.66Sthorpej# XXX should be a real device 1231.68Sjtkdefine pckbd { [irq = -1], [port = -1] } 1241.66Sthorpej 1251.56Scgd# PC console support a la "pccons" 1261.96Sthorpejdevice pc class tty: tty, pckbd 1271.67Sthorpejattach pc at isa 1281.56Scgdfile arch/i386/isa/pccons.c pc needs-flag 1291.56Scgd 1301.56Scgd# PC console support a la "pcvt" 1311.96Sthorpejdevice vt class tty: tty, pckbd 1321.67Sthorpejattach vt at isa 1331.56Scgdfile arch/i386/isa/pcvt/pcvt_drv.c vt needs-flag 1341.56Scgdfile arch/i386/isa/pcvt/pcvt_ext.c vt needs-flag 1351.56Scgdfile arch/i386/isa/pcvt/pcvt_kbd.c vt needs-flag 1361.56Scgdfile arch/i386/isa/pcvt/pcvt_out.c vt needs-flag 1371.56Scgdfile arch/i386/isa/pcvt/pcvt_sup.c vt needs-flag 1381.56Scgdfile arch/i386/isa/pcvt/pcvt_vtf.c vt needs-flag 1391.56Scgd 1401.56Scgd# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 1411.96Sthorpejdevice lms class dull 1421.67Sthorpejattach lms at isa 1431.56Scgdfile arch/i386/isa/lms.c lms needs-flag 1441.96Sthorpejdevice mms class dull 1451.67Sthorpejattach mms at isa 1461.56Scgdfile arch/i386/isa/mms.c mms needs-flag 1471.96Sthorpejdevice pms class dull 1481.67Sthorpejattach pms at pckbd 1491.56Scgdfile arch/i386/isa/pms.c pms needs-flag 1501.56Scgd 1511.56Scgd# Floppy disk controller 1521.96Sthorpejdevice fdc class dull {drive = -1} 1531.67Sthorpejattach fdc at isa 1541.96Sthorpejdevice fd class disk: disk, isadma 1551.67Sthorpejattach fd at fdc 1561.56Scgdfile arch/i386/isa/fd.c fdc needs-flag 1571.56Scgdmajor {fd = 2} 1581.56Scgd 1591.56Scgd# PC speaker 1601.96Sthorpejdevice spkr class dull: tty 1611.68Sjtkattach spkr at pckbd 1621.62Sscottrfile arch/i386/isa/spkr.c spkr needs-flag 1631.71Sperry 1641.71Sperry# Game adapter (joystick) 1651.96Sthorpejdevice joy class dull 1661.71Sperryfile arch/i386/isa/joy.c joy needs-flag 1671.76Ssoda 1681.80Schristosattach joy at isa with joy_isa 1691.80Schristosfile arch/i386/isa/joy_isa.c joy_isa 1701.80Schristos 1711.76Ssoda# Adaptec AHA-284x VL SCSI controllers 1721.76Ssoda# device declaration in sys/conf/files 1731.76Ssodaattach ahc at isa with ahc_isa 1741.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 1751.56Scgd 1761.55Smycroft# 1771.55Smycroft# EISA-only drivers 1781.55Smycroft# 1791.56Scgd 1801.98Sthorpejinclude "dev/eisa/files.eisa" 1811.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 1821.77Sjtk 1831.80Schristos# ISA Plug 'n Play devices 1841.80Schristos# IT IS IMPORTANT THAT THIS IS INCLUDED AFTER ALL ISA DEVICES! 1851.80Schristos# DO NOT MOVE IT! (Thanks, The Mgmt.) 1861.80Schristosinclude "dev/isapnp/files.isapnp" 1871.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 1881.80Schristos 1891.80Schristosattach joy at isapnp with joy_isapnp 1901.80Schristosfile arch/i386/isa/joy_isapnp.c joy_isapnp 1911.77Sjtk 1921.77Sjtk# 1931.77Sjtk# Other mainbus-attached devices 1941.77Sjtk# 1951.77Sjtk 1961.77Sjtk# Advanced Power Management support (APM) 1971.96Sthorpejdevice apm class dull: bioscall 1981.77Sjtkattach apm at mainbus 1991.77Sjtkfile arch/i386/i386/apm.c apm needs-count 2001.89Sjtkfile arch/i386/i386/apmcall.s apm 2011.56Scgd 2021.55Smycroft# 2031.55Smycroft# Compatibility modules 2041.55Smycroft# 2051.61Smycroft 2061.61Smycroft# VM86 mode 2071.61Smycroftfile arch/i386/i386/vm86.c vm86 2081.56Scgd 2091.59Smycroft# SVR4 binary compatibility (COMPAT_SVR4) 2101.98Sthorpejinclude "compat/svr4/files.svr4" 2111.59Smycroftfile arch/i386/i386/svr4_machdep.c compat_svr4 2121.56Scgd 2131.59Smycroft# iBCS-2 binary compatibility (COMPAT_IBCS2) 2141.98Sthorpejinclude "compat/ibcs2/files.ibcs2" 2151.88Smycroftfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 2161.56Scgd 2171.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 2181.98Sthorpejinclude "compat/linux/files.linux" 2191.59Smycroftfile arch/i386/i386/linux_machdep.c compat_linux 2201.58Smycroft 2211.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 2221.98Sthorpejinclude "compat/freebsd/files.freebsd" 2231.58Smycroftfile arch/i386/i386/freebsd_machdep.c compat_freebsd 2241.82Saugustss 2251.82Saugustss# OSS audio driver compatibility 2261.98Sthorpejinclude "compat/ossaudio/files.ossaudio" 2271.91Sbouyer 2281.91Sbouyer# network devices MII bus 2291.98Sthorpejinclude "dev/mii/files.mii" 2301.90Sthorpej 2311.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 2321.90Sthorpej# to be late, so devices which attach to it are attached late. But it 2331.90Sthorpej# needs to be before its isa and pci attachments. This answer is 2341.90Sthorpej# non-optimal, but I don't have a better answer right now. 2351.90Sthorpej 2361.90Sthorpej# PCIC pcmcia contoller 2371.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 2381.90Sthorpej# like a kludge, but it might be for the best. 2391.93Sthorpej 2401.93Sthorpejdefopt PCIC_ISA_ALLOC_IOBASE 2411.93Sthorpejdefopt PCIC_ISA_ALLOC_IOSIZE 2421.93Sthorpejdefopt PCIC_ISA_INTR_ALLOC_MASK 2431.93Sthorpej 2441.96Sthorpejdevice pcic class dull {[controller = -1], [socket = -1]} 2451.92Sthorpejfile dev/ic/i82365.c pcic 2461.90Sthorpej 2471.90Sthorpej# PCIC pcmcia contoller 2481.90Sthorpejattach pcic at isa with pcic_isa 2491.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 2501.90Sthorpej 2511.90Sthorpej# PCIC pcmcia contoller 2521.90Sthorpejattach pcic at pci with pcic_pci 2531.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 2541.90Sthorpej 2551.90Sthorpej 2561.90Sthorpej# this wants to be probed as late as possible. 2571.90Sthorpej# 2581.90Sthorpej# Machine-independent PCMCIA drivers 2591.90Sthorpej# 2601.90Sthorpejinclude "dev/pcmcia/files.pcmcia" 2611.90Sthorpej 2621.90Sthorpej 263