files.i386 revision 1.91
11.91Sbouyer# $NetBSD: files.i386,v 1.91 1997/10/17 18:45:53 bouyer 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.56Scgd 91.56Scgdmaxusers 2 16 64 101.56Scgd 111.56Scgdfile arch/i386/i386/autoconf.c 121.56Scgdfile arch/i386/i386/conf.c 131.56Scgdfile arch/i386/i386/db_disasm.c ddb 141.56Scgdfile arch/i386/i386/db_interface.c ddb 151.85Sthorpejfile arch/i386/i386/db_memrw.c ddb | kgdb 161.56Scgdfile arch/i386/i386/db_trace.c ddb 171.56Scgdfile arch/i386/i386/disksubr.c disk 181.60Smycroftfile arch/i386/i386/gdt.c 191.74Smycroftfile arch/i386/i386/in_cksum.s inet 201.85Sthorpejfile arch/i386/i386/kgdb_machdep.c kgdb 211.56Scgdfile arch/i386/i386/machdep.c 221.56Scgdfile arch/i386/i386/math_emulate.c math_emulate 231.56Scgdfile arch/i386/i386/mem.c 241.56Scgdfile arch/i386/i386/microtime.s 251.56Scgdfile arch/i386/i386/ns_cksum.c ns 261.56Scgdfile arch/i386/i386/pmap.c 271.56Scgdfile arch/i386/i386/process_machdep.c 281.56Scgdfile arch/i386/i386/random.s 291.56Scgdfile arch/i386/i386/sys_machdep.c 301.56Scgdfile arch/i386/i386/trap.c 311.56Scgdfile arch/i386/i386/vm_machdep.c 321.56Scgdfile dev/cons.c 331.56Scgdmajor {vnd = 14} 341.56Scgd 351.56Scgd# 361.56Scgd# Machine-independent SCSI drivers 371.56Scgd# 381.56Scgd 391.87Sbouyerinclude "../../../dev/scsipi/files.scsipi" 401.56Scgdmajor {sd = 4} 411.56Scgdmajor {st = 5} 421.56Scgdmajor {cd = 6} 431.69Sperry 441.79Spk# Memory Disk for install floppy 451.79Spkfile arch/i386/i386/md_root.c memory_disk_hooks 461.79Spkmajor {md = 17} 471.56Scgd 481.56Scgd# 491.56Scgd# System bus types 501.56Scgd# 511.65Scgd 521.77Sjtkdefine mainbus { } 531.77Sjtkdevice mainbus: isabus, eisabus, pcibus, mainbus 541.67Sthorpejattach mainbus at root 551.65Scgdfile arch/i386/i386/mainbus.c mainbus 561.56Scgd 571.89Sjtk# attribute used to bring in BIOS trampoline code for real-mode probing 581.89Sjtk# of certain devices/BIOS features 591.89Sjtkdefine bioscall 601.89Sjtkfile arch/i386/i386/bioscall.s bioscall needs-flag 611.89Sjtk 621.56Scgd#device mca at root {...} 631.56Scgd 641.55Smycroft# 651.64Scgd# PCI-only drivers 661.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 671.64Scgd# XXX devices to 'pci'. 681.64Scgd# 691.64Scgd 701.64Scgdinclude "../../../dev/pci/files.pci" 711.64Scgdfile arch/i386/pci/pci_machdep.c pci 721.78Sthorpej 731.78Sthorpej# PCI-Host bridge chipsets 741.84Sjtkdevice pchb: pcibus 751.78Sthorpejattach pchb at pci 761.78Sthorpejfile arch/i386/pci/pchb.c pchb 771.78Sthorpej 781.78Sthorpej# PCI-ISA bridges 791.78Sthorpejdevice pcib: isabus 801.78Sthorpejattach pcib at pci 811.78Sthorpejfile arch/i386/pci/pcib.c pcib 821.64Scgd 831.64Scgd# 841.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 851.55Smycroft# 861.56Scgd 871.56Scgdinclude "../../../dev/isa/files.isa" 881.56Scgdmajor {mcd = 7} 891.56Scgd#major {scd = 15} 901.56Scgdmajor {wd = 0} 911.56Scgdmajor {wt = 3} 921.56Scgd 931.56Scgdfile arch/i386/isa/isa_machdep.c isa 941.56Scgd 951.56Scgd# PC clock 961.56Scgdfile arch/i386/isa/clock.c isa 971.56Scgd 981.56Scgd# Numeric Processing Extension; Math Co-processor 991.67Sthorpejdevice npx 1001.67Sthorpejattach npx at isa 1011.56Scgdfile arch/i386/isa/npx.c npx needs-flag 1021.56Scgd 1031.66Sthorpej# attribute used to represent the "keyboard controller" 1041.66Sthorpej# XXX should be a real device 1051.68Sjtkdefine pckbd { [irq = -1], [port = -1] } 1061.66Sthorpej 1071.56Scgd# PC console support a la "pccons" 1081.67Sthorpejdevice pc: tty, pckbd 1091.67Sthorpejattach pc at isa 1101.56Scgdfile arch/i386/isa/pccons.c pc needs-flag 1111.56Scgd 1121.56Scgd# PC console support a la "pcvt" 1131.67Sthorpejdevice vt: tty, pckbd 1141.67Sthorpejattach vt at isa 1151.56Scgdfile arch/i386/isa/pcvt/pcvt_drv.c vt needs-flag 1161.56Scgdfile arch/i386/isa/pcvt/pcvt_ext.c vt needs-flag 1171.56Scgdfile arch/i386/isa/pcvt/pcvt_kbd.c vt needs-flag 1181.56Scgdfile arch/i386/isa/pcvt/pcvt_out.c vt needs-flag 1191.56Scgdfile arch/i386/isa/pcvt/pcvt_sup.c vt needs-flag 1201.56Scgdfile arch/i386/isa/pcvt/pcvt_vtf.c vt needs-flag 1211.56Scgd 1221.56Scgd# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 1231.67Sthorpejdevice lms 1241.67Sthorpejattach lms at isa 1251.56Scgdfile arch/i386/isa/lms.c lms needs-flag 1261.67Sthorpejdevice mms 1271.67Sthorpejattach mms at isa 1281.56Scgdfile arch/i386/isa/mms.c mms needs-flag 1291.67Sthorpejdevice pms 1301.67Sthorpejattach pms at pckbd 1311.56Scgdfile arch/i386/isa/pms.c pms needs-flag 1321.56Scgd 1331.56Scgd# Floppy disk controller 1341.67Sthorpejdevice fdc {drive = -1} 1351.67Sthorpejattach fdc at isa 1361.67Sthorpejdevice fd: disk, isadma 1371.67Sthorpejattach fd at fdc 1381.56Scgdfile arch/i386/isa/fd.c fdc needs-flag 1391.56Scgdmajor {fd = 2} 1401.56Scgd 1411.56Scgd# PC speaker 1421.67Sthorpejdevice spkr: tty 1431.68Sjtkattach spkr at pckbd 1441.62Sscottrfile arch/i386/isa/spkr.c spkr needs-flag 1451.71Sperry 1461.71Sperry# Game adapter (joystick) 1471.71Sperrydevice joy 1481.71Sperryfile arch/i386/isa/joy.c joy needs-flag 1491.76Ssoda 1501.80Schristosattach joy at isa with joy_isa 1511.80Schristosfile arch/i386/isa/joy_isa.c joy_isa 1521.80Schristos 1531.76Ssoda# Adaptec AHA-284x VL SCSI controllers 1541.76Ssoda# device declaration in sys/conf/files 1551.76Ssodaattach ahc at isa with ahc_isa 1561.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 1571.56Scgd 1581.55Smycroft# 1591.55Smycroft# EISA-only drivers 1601.55Smycroft# 1611.56Scgd 1621.56Scgdinclude "../../../dev/eisa/files.eisa" 1631.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 1641.77Sjtk 1651.80Schristos# ISA Plug 'n Play devices 1661.80Schristos# IT IS IMPORTANT THAT THIS IS INCLUDED AFTER ALL ISA DEVICES! 1671.80Schristos# DO NOT MOVE IT! (Thanks, The Mgmt.) 1681.80Schristosinclude "dev/isapnp/files.isapnp" 1691.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 1701.80Schristos 1711.80Schristosattach joy at isapnp with joy_isapnp 1721.80Schristosfile arch/i386/isa/joy_isapnp.c joy_isapnp 1731.77Sjtk 1741.77Sjtk# 1751.77Sjtk# Other mainbus-attached devices 1761.77Sjtk# 1771.77Sjtk 1781.77Sjtk# Advanced Power Management support (APM) 1791.89Sjtkdevice apm: bioscall 1801.77Sjtkattach apm at mainbus 1811.77Sjtkfile arch/i386/i386/apm.c apm needs-count 1821.89Sjtkfile arch/i386/i386/apmcall.s apm 1831.56Scgd 1841.55Smycroft# 1851.55Smycroft# Compatibility modules 1861.55Smycroft# 1871.61Smycroft 1881.61Smycroft# VM86 mode 1891.61Smycroftfile arch/i386/i386/vm86.c vm86 1901.56Scgd 1911.59Smycroft# SVR4 binary compatibility (COMPAT_SVR4) 1921.56Scgdinclude "../../../compat/svr4/files.svr4" 1931.59Smycroftfile arch/i386/i386/svr4_machdep.c compat_svr4 1941.56Scgd 1951.59Smycroft# iBCS-2 binary compatibility (COMPAT_IBCS2) 1961.56Scgdinclude "../../../compat/ibcs2/files.ibcs2" 1971.88Smycroftfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 1981.56Scgd 1991.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 2001.56Scgdinclude "../../../compat/linux/files.linux" 2011.59Smycroftfile arch/i386/i386/linux_machdep.c compat_linux 2021.58Smycroft 2031.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 2041.58Smycroftinclude "../../../compat/freebsd/files.freebsd" 2051.58Smycroftfile arch/i386/i386/freebsd_machdep.c compat_freebsd 2061.82Saugustss 2071.82Saugustss# OSS audio driver compatibility 2081.82Saugustssinclude "../../../compat/ossaudio/files.ossaudio" 2091.91Sbouyer 2101.91Sbouyer# network devices MII bus 2111.91Sbouyerinclude "../../../dev/mii/files.mii" 2121.90Sthorpej 2131.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 2141.90Sthorpej# to be late, so devices which attach to it are attached late. But it 2151.90Sthorpej# needs to be before its isa and pci attachments. This answer is 2161.90Sthorpej# non-optimal, but I don't have a better answer right now. 2171.90Sthorpej 2181.90Sthorpej# PCIC pcmcia contoller 2191.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 2201.90Sthorpej# like a kludge, but it might be for the best. 2211.90Sthorpejdevice pcic {[controller = -1], [socket = -1]} 2221.90Sthorpej# XXX move to dev/ic 2231.90Sthorpejfile dev/isa/i82365.c pcic 2241.90Sthorpej 2251.90Sthorpej# PCIC pcmcia contoller 2261.90Sthorpejattach pcic at isa with pcic_isa 2271.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 2281.90Sthorpej 2291.90Sthorpej# PCIC pcmcia contoller 2301.90Sthorpejattach pcic at pci with pcic_pci 2311.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 2321.90Sthorpej 2331.90Sthorpej 2341.90Sthorpej# this wants to be probed as late as possible. 2351.90Sthorpej# 2361.90Sthorpej# Machine-independent PCMCIA drivers 2371.90Sthorpej# 2381.90Sthorpejinclude "dev/pcmcia/files.pcmcia" 2391.90Sthorpej 2401.90Sthorpej 241