files.i386 revision 1.101
11.101Sthorpej# $NetBSD: files.i386,v 1.101 1998/01/15 22:25:52 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.98Sthorpej 171.56Scgdfile arch/i386/i386/autoconf.c 181.56Scgdfile arch/i386/i386/conf.c 191.56Scgdfile arch/i386/i386/db_disasm.c ddb 201.56Scgdfile arch/i386/i386/db_interface.c ddb 211.85Sthorpejfile arch/i386/i386/db_memrw.c ddb | kgdb 221.56Scgdfile arch/i386/i386/db_trace.c ddb 231.56Scgdfile arch/i386/i386/disksubr.c disk 241.60Smycroftfile arch/i386/i386/gdt.c 251.74Smycroftfile arch/i386/i386/in_cksum.s inet 261.85Sthorpejfile arch/i386/i386/kgdb_machdep.c kgdb 271.56Scgdfile arch/i386/i386/machdep.c 281.56Scgdfile arch/i386/i386/math_emulate.c math_emulate 291.56Scgdfile arch/i386/i386/mem.c 301.56Scgdfile arch/i386/i386/microtime.s 311.56Scgdfile arch/i386/i386/ns_cksum.c ns 321.56Scgdfile arch/i386/i386/pmap.c 331.56Scgdfile arch/i386/i386/process_machdep.c 341.56Scgdfile arch/i386/i386/random.s 351.56Scgdfile arch/i386/i386/sys_machdep.c 361.56Scgdfile arch/i386/i386/trap.c 371.56Scgdfile arch/i386/i386/vm_machdep.c 381.56Scgdfile dev/cons.c 391.56Scgdmajor {vnd = 14} 401.56Scgd 411.56Scgd# 421.56Scgd# Machine-independent SCSI drivers 431.56Scgd# 441.56Scgd 451.98Sthorpejinclude "dev/scsipi/files.scsipi" 461.56Scgdmajor {sd = 4} 471.56Scgdmajor {st = 5} 481.56Scgdmajor {cd = 6} 491.69Sperry 501.97Scgd# 511.97Scgd# Machine-independent ATA drivers 521.97Scgd# 531.97Scgd 541.98Sthorpejinclude "dev/ata/files.ata" 551.97Scgdmajor {wd = 0} 561.97Scgd 571.79Spk# Memory Disk for install floppy 581.79Spkfile arch/i386/i386/md_root.c memory_disk_hooks 591.79Spkmajor {md = 17} 601.56Scgd 611.56Scgd# 621.56Scgd# System bus types 631.56Scgd# 641.65Scgd 651.77Sjtkdefine mainbus { } 661.96Sthorpejdevice mainbus class dull: isabus, eisabus, pcibus, mainbus 671.67Sthorpejattach mainbus at root 681.65Scgdfile arch/i386/i386/mainbus.c mainbus 691.56Scgd 701.89Sjtk# attribute used to bring in BIOS trampoline code for real-mode probing 711.89Sjtk# of certain devices/BIOS features 721.89Sjtkdefine bioscall 731.89Sjtkfile arch/i386/i386/bioscall.s bioscall needs-flag 741.89Sjtk 751.56Scgd#device mca at root {...} 761.56Scgd 771.55Smycroft# 781.64Scgd# PCI-only drivers 791.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 801.64Scgd# XXX devices to 'pci'. 811.64Scgd# 821.64Scgd 831.98Sthorpejinclude "dev/pci/files.pci" 841.64Scgdfile arch/i386/pci/pci_machdep.c pci 851.78Sthorpej 861.78Sthorpej# PCI-Host bridge chipsets 871.96Sthorpejdevice pchb class dull: pcibus 881.78Sthorpejattach pchb at pci 891.78Sthorpejfile arch/i386/pci/pchb.c pchb 901.78Sthorpej 911.78Sthorpej# PCI-ISA bridges 921.96Sthorpejdevice pcib class dull: isabus 931.78Sthorpejattach pcib at pci 941.78Sthorpejfile arch/i386/pci/pcib.c pcib 951.64Scgd 961.64Scgd# 971.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 981.55Smycroft# 991.56Scgd 1001.98Sthorpejinclude "dev/isa/files.isa" 1011.56Scgdmajor {mcd = 7} 1021.56Scgd#major {scd = 15} 1031.56Scgdmajor {wt = 3} 1041.56Scgd 1051.56Scgdfile arch/i386/isa/isa_machdep.c isa 1061.56Scgd 1071.56Scgd# PC clock 1081.56Scgdfile arch/i386/isa/clock.c isa 1091.56Scgd 1101.56Scgd# Numeric Processing Extension; Math Co-processor 1111.96Sthorpejdevice npx class dull 1121.67Sthorpejattach npx at isa 1131.56Scgdfile arch/i386/isa/npx.c npx needs-flag 1141.56Scgd 1151.66Sthorpej# attribute used to represent the "keyboard controller" 1161.66Sthorpej# XXX should be a real device 1171.68Sjtkdefine pckbd { [irq = -1], [port = -1] } 1181.66Sthorpej 1191.56Scgd# PC console support a la "pccons" 1201.96Sthorpejdevice pc class tty: tty, pckbd 1211.67Sthorpejattach pc at isa 1221.56Scgdfile arch/i386/isa/pccons.c pc needs-flag 1231.56Scgd 1241.56Scgd# PC console support a la "pcvt" 1251.96Sthorpejdevice vt class tty: tty, pckbd 1261.67Sthorpejattach vt at isa 1271.56Scgdfile arch/i386/isa/pcvt/pcvt_drv.c vt needs-flag 1281.56Scgdfile arch/i386/isa/pcvt/pcvt_ext.c vt needs-flag 1291.56Scgdfile arch/i386/isa/pcvt/pcvt_kbd.c vt needs-flag 1301.56Scgdfile arch/i386/isa/pcvt/pcvt_out.c vt needs-flag 1311.56Scgdfile arch/i386/isa/pcvt/pcvt_sup.c vt needs-flag 1321.56Scgdfile arch/i386/isa/pcvt/pcvt_vtf.c vt needs-flag 1331.56Scgd 1341.56Scgd# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 1351.96Sthorpejdevice lms class dull 1361.67Sthorpejattach lms at isa 1371.56Scgdfile arch/i386/isa/lms.c lms needs-flag 1381.96Sthorpejdevice mms class dull 1391.67Sthorpejattach mms at isa 1401.56Scgdfile arch/i386/isa/mms.c mms needs-flag 1411.96Sthorpejdevice pms class dull 1421.67Sthorpejattach pms at pckbd 1431.56Scgdfile arch/i386/isa/pms.c pms needs-flag 1441.56Scgd 1451.56Scgd# Floppy disk controller 1461.96Sthorpejdevice fdc class dull {drive = -1} 1471.67Sthorpejattach fdc at isa 1481.96Sthorpejdevice fd class disk: disk, isadma 1491.67Sthorpejattach fd at fdc 1501.56Scgdfile arch/i386/isa/fd.c fdc needs-flag 1511.56Scgdmajor {fd = 2} 1521.56Scgd 1531.56Scgd# PC speaker 1541.96Sthorpejdevice spkr class dull: tty 1551.68Sjtkattach spkr at pckbd 1561.62Sscottrfile arch/i386/isa/spkr.c spkr needs-flag 1571.71Sperry 1581.71Sperry# Game adapter (joystick) 1591.96Sthorpejdevice joy class dull 1601.71Sperryfile arch/i386/isa/joy.c joy needs-flag 1611.76Ssoda 1621.80Schristosattach joy at isa with joy_isa 1631.80Schristosfile arch/i386/isa/joy_isa.c joy_isa 1641.80Schristos 1651.76Ssoda# Adaptec AHA-284x VL SCSI controllers 1661.76Ssoda# device declaration in sys/conf/files 1671.76Ssodaattach ahc at isa with ahc_isa 1681.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 1691.56Scgd 1701.55Smycroft# 1711.55Smycroft# EISA-only drivers 1721.55Smycroft# 1731.56Scgd 1741.98Sthorpejinclude "dev/eisa/files.eisa" 1751.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 1761.77Sjtk 1771.80Schristos# ISA Plug 'n Play devices 1781.80Schristos# IT IS IMPORTANT THAT THIS IS INCLUDED AFTER ALL ISA DEVICES! 1791.80Schristos# DO NOT MOVE IT! (Thanks, The Mgmt.) 1801.80Schristosinclude "dev/isapnp/files.isapnp" 1811.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 1821.80Schristos 1831.80Schristosattach joy at isapnp with joy_isapnp 1841.80Schristosfile arch/i386/isa/joy_isapnp.c joy_isapnp 1851.77Sjtk 1861.77Sjtk# 1871.77Sjtk# Other mainbus-attached devices 1881.77Sjtk# 1891.77Sjtk 1901.77Sjtk# Advanced Power Management support (APM) 1911.96Sthorpejdevice apm class dull: bioscall 1921.77Sjtkattach apm at mainbus 1931.77Sjtkfile arch/i386/i386/apm.c apm needs-count 1941.89Sjtkfile arch/i386/i386/apmcall.s apm 1951.56Scgd 1961.55Smycroft# 1971.55Smycroft# Compatibility modules 1981.55Smycroft# 1991.61Smycroft 2001.61Smycroft# VM86 mode 2011.61Smycroftfile arch/i386/i386/vm86.c vm86 2021.56Scgd 2031.59Smycroft# SVR4 binary compatibility (COMPAT_SVR4) 2041.98Sthorpejinclude "compat/svr4/files.svr4" 2051.59Smycroftfile arch/i386/i386/svr4_machdep.c compat_svr4 2061.56Scgd 2071.59Smycroft# iBCS-2 binary compatibility (COMPAT_IBCS2) 2081.98Sthorpejinclude "compat/ibcs2/files.ibcs2" 2091.88Smycroftfile arch/i386/i386/ibcs2_machdep.c compat_ibcs2 2101.56Scgd 2111.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 2121.98Sthorpejinclude "compat/linux/files.linux" 2131.59Smycroftfile arch/i386/i386/linux_machdep.c compat_linux 2141.58Smycroft 2151.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 2161.98Sthorpejinclude "compat/freebsd/files.freebsd" 2171.58Smycroftfile arch/i386/i386/freebsd_machdep.c compat_freebsd 2181.82Saugustss 2191.82Saugustss# OSS audio driver compatibility 2201.98Sthorpejinclude "compat/ossaudio/files.ossaudio" 2211.91Sbouyer 2221.91Sbouyer# network devices MII bus 2231.98Sthorpejinclude "dev/mii/files.mii" 2241.90Sthorpej 2251.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 2261.90Sthorpej# to be late, so devices which attach to it are attached late. But it 2271.90Sthorpej# needs to be before its isa and pci attachments. This answer is 2281.90Sthorpej# non-optimal, but I don't have a better answer right now. 2291.90Sthorpej 2301.90Sthorpej# PCIC pcmcia contoller 2311.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 2321.90Sthorpej# like a kludge, but it might be for the best. 2331.93Sthorpej 2341.93Sthorpejdefopt PCIC_ISA_ALLOC_IOBASE 2351.93Sthorpejdefopt PCIC_ISA_ALLOC_IOSIZE 2361.93Sthorpejdefopt PCIC_ISA_INTR_ALLOC_MASK 2371.93Sthorpej 2381.96Sthorpejdevice pcic class dull {[controller = -1], [socket = -1]} 2391.92Sthorpejfile dev/ic/i82365.c pcic 2401.90Sthorpej 2411.90Sthorpej# PCIC pcmcia contoller 2421.90Sthorpejattach pcic at isa with pcic_isa 2431.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 2441.90Sthorpej 2451.90Sthorpej# PCIC pcmcia contoller 2461.90Sthorpejattach pcic at pci with pcic_pci 2471.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 2481.90Sthorpej 2491.90Sthorpej 2501.90Sthorpej# this wants to be probed as late as possible. 2511.90Sthorpej# 2521.90Sthorpej# Machine-independent PCMCIA drivers 2531.90Sthorpej# 2541.90Sthorpejinclude "dev/pcmcia/files.pcmcia" 2551.90Sthorpej 2561.90Sthorpej 257