files.i386 revision 1.102
11.102Sthorpej# $NetBSD: files.i386,v 1.102 1998/01/21 23:29:08 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.98Sthorpej 201.56Scgdfile arch/i386/i386/autoconf.c 211.56Scgdfile arch/i386/i386/conf.c 221.56Scgdfile arch/i386/i386/db_disasm.c ddb 231.56Scgdfile arch/i386/i386/db_interface.c ddb 241.85Sthorpejfile arch/i386/i386/db_memrw.c ddb | kgdb 251.56Scgdfile arch/i386/i386/db_trace.c ddb 261.56Scgdfile arch/i386/i386/disksubr.c disk 271.60Smycroftfile arch/i386/i386/gdt.c 281.74Smycroftfile arch/i386/i386/in_cksum.s inet 291.85Sthorpejfile arch/i386/i386/kgdb_machdep.c kgdb 301.56Scgdfile arch/i386/i386/machdep.c 311.56Scgdfile arch/i386/i386/math_emulate.c math_emulate 321.56Scgdfile arch/i386/i386/mem.c 331.56Scgdfile arch/i386/i386/microtime.s 341.56Scgdfile arch/i386/i386/ns_cksum.c ns 351.56Scgdfile arch/i386/i386/pmap.c 361.56Scgdfile arch/i386/i386/process_machdep.c 371.56Scgdfile arch/i386/i386/random.s 381.56Scgdfile arch/i386/i386/sys_machdep.c 391.56Scgdfile arch/i386/i386/trap.c 401.56Scgdfile arch/i386/i386/vm_machdep.c 411.56Scgdfile dev/cons.c 421.56Scgdmajor {vnd = 14} 431.56Scgd 441.56Scgd# 451.56Scgd# Machine-independent SCSI drivers 461.56Scgd# 471.56Scgd 481.98Sthorpejinclude "dev/scsipi/files.scsipi" 491.56Scgdmajor {sd = 4} 501.56Scgdmajor {st = 5} 511.56Scgdmajor {cd = 6} 521.69Sperry 531.97Scgd# 541.97Scgd# Machine-independent ATA drivers 551.97Scgd# 561.97Scgd 571.98Sthorpejinclude "dev/ata/files.ata" 581.97Scgdmajor {wd = 0} 591.97Scgd 601.79Spk# Memory Disk for install floppy 611.79Spkfile arch/i386/i386/md_root.c memory_disk_hooks 621.79Spkmajor {md = 17} 631.56Scgd 641.56Scgd# 651.56Scgd# System bus types 661.56Scgd# 671.65Scgd 681.77Sjtkdefine mainbus { } 691.96Sthorpejdevice mainbus class dull: isabus, eisabus, pcibus, mainbus 701.67Sthorpejattach mainbus at root 711.65Scgdfile arch/i386/i386/mainbus.c mainbus 721.56Scgd 731.89Sjtk# attribute used to bring in BIOS trampoline code for real-mode probing 741.89Sjtk# of certain devices/BIOS features 751.89Sjtkdefine bioscall 761.89Sjtkfile arch/i386/i386/bioscall.s bioscall needs-flag 771.89Sjtk 781.56Scgd#device mca at root {...} 791.56Scgd 801.55Smycroft# 811.64Scgd# PCI-only drivers 821.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 831.64Scgd# XXX devices to 'pci'. 841.64Scgd# 851.64Scgd 861.98Sthorpejinclude "dev/pci/files.pci" 871.64Scgdfile arch/i386/pci/pci_machdep.c pci 881.78Sthorpej 891.78Sthorpej# PCI-Host bridge chipsets 901.96Sthorpejdevice pchb class dull: pcibus 911.78Sthorpejattach pchb at pci 921.78Sthorpejfile arch/i386/pci/pchb.c pchb 931.78Sthorpej 941.78Sthorpej# PCI-ISA bridges 951.96Sthorpejdevice pcib class dull: isabus 961.78Sthorpejattach pcib at pci 971.78Sthorpejfile arch/i386/pci/pcib.c pcib 981.64Scgd 991.64Scgd# 1001.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 1011.55Smycroft# 1021.56Scgd 1031.98Sthorpejinclude "dev/isa/files.isa" 1041.56Scgdmajor {mcd = 7} 1051.56Scgd#major {scd = 15} 1061.56Scgdmajor {wt = 3} 1071.56Scgd 1081.56Scgdfile arch/i386/isa/isa_machdep.c isa 1091.56Scgd 1101.56Scgd# PC clock 1111.56Scgdfile arch/i386/isa/clock.c isa 1121.56Scgd 1131.56Scgd# Numeric Processing Extension; Math Co-processor 1141.96Sthorpejdevice npx class dull 1151.67Sthorpejattach npx at isa 1161.56Scgdfile arch/i386/isa/npx.c npx needs-flag 1171.56Scgd 1181.66Sthorpej# attribute used to represent the "keyboard controller" 1191.66Sthorpej# XXX should be a real device 1201.68Sjtkdefine pckbd { [irq = -1], [port = -1] } 1211.66Sthorpej 1221.56Scgd# PC console support a la "pccons" 1231.96Sthorpejdevice pc class tty: tty, pckbd 1241.67Sthorpejattach pc at isa 1251.56Scgdfile arch/i386/isa/pccons.c pc needs-flag 1261.56Scgd 1271.56Scgd# PC console support a la "pcvt" 1281.96Sthorpejdevice vt class tty: tty, pckbd 1291.67Sthorpejattach vt at isa 1301.56Scgdfile arch/i386/isa/pcvt/pcvt_drv.c vt needs-flag 1311.56Scgdfile arch/i386/isa/pcvt/pcvt_ext.c vt needs-flag 1321.56Scgdfile arch/i386/isa/pcvt/pcvt_kbd.c vt needs-flag 1331.56Scgdfile arch/i386/isa/pcvt/pcvt_out.c vt needs-flag 1341.56Scgdfile arch/i386/isa/pcvt/pcvt_sup.c vt needs-flag 1351.56Scgdfile arch/i386/isa/pcvt/pcvt_vtf.c vt needs-flag 1361.56Scgd 1371.56Scgd# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 1381.96Sthorpejdevice lms class dull 1391.67Sthorpejattach lms at isa 1401.56Scgdfile arch/i386/isa/lms.c lms needs-flag 1411.96Sthorpejdevice mms class dull 1421.67Sthorpejattach mms at isa 1431.56Scgdfile arch/i386/isa/mms.c mms needs-flag 1441.96Sthorpejdevice pms class dull 1451.67Sthorpejattach pms at pckbd 1461.56Scgdfile arch/i386/isa/pms.c pms needs-flag 1471.56Scgd 1481.56Scgd# Floppy disk controller 1491.96Sthorpejdevice fdc class dull {drive = -1} 1501.67Sthorpejattach fdc at isa 1511.96Sthorpejdevice fd class disk: disk, isadma 1521.67Sthorpejattach fd at fdc 1531.56Scgdfile arch/i386/isa/fd.c fdc needs-flag 1541.56Scgdmajor {fd = 2} 1551.56Scgd 1561.56Scgd# PC speaker 1571.96Sthorpejdevice spkr class dull: tty 1581.68Sjtkattach spkr at pckbd 1591.62Sscottrfile arch/i386/isa/spkr.c spkr needs-flag 1601.71Sperry 1611.71Sperry# Game adapter (joystick) 1621.96Sthorpejdevice joy class dull 1631.71Sperryfile arch/i386/isa/joy.c joy needs-flag 1641.76Ssoda 1651.80Schristosattach joy at isa with joy_isa 1661.80Schristosfile arch/i386/isa/joy_isa.c joy_isa 1671.80Schristos 1681.76Ssoda# Adaptec AHA-284x VL SCSI controllers 1691.76Ssoda# device declaration in sys/conf/files 1701.76Ssodaattach ahc at isa with ahc_isa 1711.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 1721.56Scgd 1731.55Smycroft# 1741.55Smycroft# EISA-only drivers 1751.55Smycroft# 1761.56Scgd 1771.98Sthorpejinclude "dev/eisa/files.eisa" 1781.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 1791.77Sjtk 1801.80Schristos# ISA Plug 'n Play devices 1811.80Schristos# IT IS IMPORTANT THAT THIS IS INCLUDED AFTER ALL ISA DEVICES! 1821.80Schristos# DO NOT MOVE IT! (Thanks, The Mgmt.) 1831.80Schristosinclude "dev/isapnp/files.isapnp" 1841.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 1851.80Schristos 1861.80Schristosattach joy at isapnp with joy_isapnp 1871.80Schristosfile arch/i386/isa/joy_isapnp.c joy_isapnp 1881.77Sjtk 1891.77Sjtk# 1901.77Sjtk# Other mainbus-attached devices 1911.77Sjtk# 1921.77Sjtk 1931.77Sjtk# Advanced Power Management support (APM) 1941.96Sthorpejdevice apm class dull: bioscall 1951.77Sjtkattach apm at mainbus 1961.77Sjtkfile arch/i386/i386/apm.c apm needs-count 1971.89Sjtkfile arch/i386/i386/apmcall.s apm 1981.56Scgd 1991.55Smycroft# 2001.55Smycroft# Compatibility modules 2011.55Smycroft# 2021.61Smycroft 2031.61Smycroft# VM86 mode 2041.61Smycroftfile arch/i386/i386/vm86.c vm86 2051.56Scgd 2061.59Smycroft# SVR4 binary compatibility (COMPAT_SVR4) 2071.98Sthorpejinclude "compat/svr4/files.svr4" 2081.59Smycroftfile arch/i386/i386/svr4_machdep.c compat_svr4 2091.56Scgd 2101.59Smycroft# iBCS-2 binary compatibility (COMPAT_IBCS2) 2111.98Sthorpejinclude "compat/ibcs2/files.ibcs2" 2121.88Smycroftfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 2131.56Scgd 2141.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 2151.98Sthorpejinclude "compat/linux/files.linux" 2161.59Smycroftfile arch/i386/i386/linux_machdep.c compat_linux 2171.58Smycroft 2181.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 2191.98Sthorpejinclude "compat/freebsd/files.freebsd" 2201.58Smycroftfile arch/i386/i386/freebsd_machdep.c compat_freebsd 2211.82Saugustss 2221.82Saugustss# OSS audio driver compatibility 2231.98Sthorpejinclude "compat/ossaudio/files.ossaudio" 2241.91Sbouyer 2251.91Sbouyer# network devices MII bus 2261.98Sthorpejinclude "dev/mii/files.mii" 2271.90Sthorpej 2281.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 2291.90Sthorpej# to be late, so devices which attach to it are attached late. But it 2301.90Sthorpej# needs to be before its isa and pci attachments. This answer is 2311.90Sthorpej# non-optimal, but I don't have a better answer right now. 2321.90Sthorpej 2331.90Sthorpej# PCIC pcmcia contoller 2341.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 2351.90Sthorpej# like a kludge, but it might be for the best. 2361.93Sthorpej 2371.93Sthorpejdefopt PCIC_ISA_ALLOC_IOBASE 2381.93Sthorpejdefopt PCIC_ISA_ALLOC_IOSIZE 2391.93Sthorpejdefopt PCIC_ISA_INTR_ALLOC_MASK 2401.93Sthorpej 2411.96Sthorpejdevice pcic class dull {[controller = -1], [socket = -1]} 2421.92Sthorpejfile dev/ic/i82365.c pcic 2431.90Sthorpej 2441.90Sthorpej# PCIC pcmcia contoller 2451.90Sthorpejattach pcic at isa with pcic_isa 2461.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 2471.90Sthorpej 2481.90Sthorpej# PCIC pcmcia contoller 2491.90Sthorpejattach pcic at pci with pcic_pci 2501.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 2511.90Sthorpej 2521.90Sthorpej 2531.90Sthorpej# this wants to be probed as late as possible. 2541.90Sthorpej# 2551.90Sthorpej# Machine-independent PCMCIA drivers 2561.90Sthorpej# 2571.90Sthorpejinclude "dev/pcmcia/files.pcmcia" 2581.90Sthorpej 2591.90Sthorpej 260