files.i386 revision 1.193
1# $NetBSD: files.i386,v 1.193 2001/09/09 18:36:36 perry Exp $ 2# 3# new style config file for i386 architecture 4# 5 6# maxpartitions must be first item in files.${ARCH}.newconf 7maxpartitions 8 8 9maxusers 2 16 128 10 11# APM options 12defopt opt_apm.h APM_DISABLE APM_FORCE_64K_SEGMENTS APM_NO_IDLE 13 APM_NO_STANDBY APM_V10_ONLY APM_NO_V12 APMDEBUG 14 APMDEBUG_VALUE APM_POWER_PRINT APM_DISABLE_INTERRUPTS 15 APM_ALLOW_BOGUS_SEGMENTS 16 17# Processor type options. 18defopt opt_cputype.h I386_CPU I486_CPU I586_CPU I686_CPU 19 20# delay before cpu_reset() for reboot. 21defopt CPURESET_DELAY 22 23# VM86 emulation 24defopt VM86 25 26# Floating point emulation 27defopt MATH_EMULATE 28 29# User-settable LDT (used by WINE) 30defopt USER_LDT 31 32# Speed hack; make NOPs dummies (might break on some machines) 33defopt DUMMY_NOPS 34 35# Performance counter support 36defopt PERFCTRS 37 38# X server support in console drivers 39defopt opt_xserver.h XSERVER XSERVER_DDB 40 41# The REAL{BASE,EXT}MEM options 42defopt opt_realmem.h REALBASEMEM REALEXTMEM 43 44# understand boot device passed by pre-1.3 bootblocks 45defopt COMPAT_OLDBOOT 46 47# PCI BIOS options 48defopt opt_pcibios.h PCIBIOS PCIBIOSVERBOSE 49 PCIBIOS_ADDR_FIXUP PCIBIOS_BUS_FIXUP 50 PCIBIOS_INTR_FIXUP PCIBIOS_INTR_FIXUP_FORCE 51 PCIBIOS_INTR_GUESS PCIBIOS_IRQS_HINT PCIINTR_DEBUG 52 53# Large page size 54defopt LARGEPAGES 55 56file arch/i386/i386/autoconf.c 57file arch/i386/i386/bus_machdep.c 58file arch/i386/i386/conf.c 59file arch/i386/i386/consinit.c 60file arch/i386/i386/db_dbgreg.s ddb 61file arch/i386/i386/db_disasm.c ddb 62file arch/i386/i386/db_interface.c ddb 63file arch/i386/i386/db_memrw.c ddb | kgdb 64file arch/i386/i386/db_trace.c ddb 65file arch/i386/i386/disksubr.c disk 66file arch/i386/i386/gdt.c 67file arch/i386/i386/in_cksum.s inet 68file arch/i386/i386/ipkdb_glue.c ipkdb 69file arch/i386/i386/kgdb_machdep.c kgdb 70file arch/i386/i386/machdep.c 71file arch/i386/i386/math_emulate.c math_emulate 72file arch/i386/i386/mem.c 73file arch/i386/i386/microtime.s 74file netns/ns_cksum.c ns 75file arch/i386/i386/pmap.c 76file arch/i386/i386/process_machdep.c 77file arch/i386/i386/procfs_machdep.c procfs 78file arch/i386/i386/softintr.c 79file arch/i386/i386/sys_machdep.c 80file arch/i386/i386/syscall.c 81file arch/i386/i386/trap.c 82file arch/i386/i386/vm_machdep.c 83file dev/cons.c 84 85file arch/i386/i386/pmc.c perfctrs 86 87file crypto/des/arch/i386/des_enc.S ipsec & ipsec_esp 88#file crypto/des/arch/i386/des_cbc.S ipsec & ipsec_esp 89file crypto/blowfish/arch/i386/bf_enc.S ipsec & ipsec_esp 90#file crypto/blowfish/arch/i386/bf_cbc.S ipsec & ipsec_esp 91 92# 93# Machine-independent SCSI drivers 94# 95 96include "dev/scsipi/files.scsipi" 97major {sd = 4} 98major {cd = 6} 99 100# 101# Machine-independent ATA drivers 102# 103 104include "dev/ata/files.ata" 105major {wd = 0} 106 107# Memory Disk for install floppy 108file arch/i386/i386/md_root.c memory_disk_hooks 109major {md = 17} 110 111# RAIDframe 112major {raid = 18} 113 114# Logical disk 115major {ld = 19} 116 117# 118# Machine-independent I2O drivers 119# 120 121include "dev/i2o/files.i2o" 122 123# attribute used to bring in BIOS trampoline code for real-mode probing 124# of certain devices/BIOS features 125define bioscall 126file arch/i386/i386/bioscall.s bioscall needs-flag 127 128# BIOS32 routines 129define bios32 130file arch/i386/i386/bios32.c bios32 needs-flag 131 132# 133# System bus types 134# 135 136define mainbus { } 137# XXX BIOS32 only if something that uses it is configured! 138device mainbus: isabus, eisabus, mcabus, pcibus, mainbus, bios32 139attach mainbus at root 140file arch/i386/i386/mainbus.c mainbus 141 142# 143# PCI-only drivers 144# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 145# XXX devices to 'pci'. 146# 147 148include "dev/pci/files.pci" 149file arch/i386/pci/pci_machdep.c pci 150file arch/i386/pci/pcibios.c pcibios 151file arch/i386/pci/pci_intr_fixup.c pcibios & pcibios_intr_fixup 152file arch/i386/pci/piix.c pcibios & pcibios_intr_fixup 153file arch/i386/pci/opti82c558.c pcibios & pcibios_intr_fixup 154file arch/i386/pci/opti82c700.c pcibios & pcibios_intr_fixup 155file arch/i386/pci/sis85c503.c pcibios & pcibios_intr_fixup 156file arch/i386/pci/via82c586.c pcibios & pcibios_intr_fixup 157file arch/i386/pci/amd756.c pcibios & pcibios_intr_fixup 158file arch/i386/pci/ali1543.c pcibios & pcibios_intr_fixup 159file arch/i386/pci/pci_bus_fixup.c pcibios & pcibios_bus_fixup 160file arch/i386/pci/pci_addr_fixup.c pcibios & pcibios_addr_fixup 161defopt PCI_CONF_MODE 162file arch/i386/pci/pciide_machdep.c pciide 163file arch/i386/pci/pcic_pci_machdep.c pcic_pci 164 165# PCI-Host bridge chipsets 166device pchb: pcibus 167attach pchb at pci 168file arch/i386/pci/pchb.c pchb 169file arch/i386/pci/pchb_rnd.c pchb & rnd 170 171# PCI-EISA bridges 172device pceb: eisabus, isabus 173attach pceb at pci 174file arch/i386/pci/pceb.c pceb 175 176# PCI-ISA bridges 177device pcib: isabus 178attach pcib at pci 179file arch/i386/pci/pcib.c pcib 180 181# PCI-MCA bridges 182device pcmb: mcabus 183attach pcmb at pci 184file arch/i386/pci/pcmb.c pcmb 185 186# Game adapter (joystick) 187device joy 188file arch/i386/isa/joy.c joy needs-flag 189 190# PCI joysticks 191attach joy at pci with pci_joy 192file arch/i386/pci/joy_pci.c pci_joy 193 194# 195# ISA and mixed ISA+EISA or ISA+PCI drivers 196# 197 198include "dev/isa/files.isa" 199major {mcd = 7} 200#major {scd = 15} 201 202# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 203# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 204# XXX (when the conf/files and files.isa bogons are fixed, this can 205# XXX be fixed as well.) 206 207attach lpt at puc with lpt_puc 208file dev/pci/lpt_puc.c lpt_puc 209 210file arch/i386/isa/isa_machdep.c isa 211 212# PC clock 213file arch/i386/isa/clock.c isa 214file dev/clock_subr.c isa 215 216# Numeric Processing Extension; Math Co-processor 217device npx 218file arch/i386/isa/npx.c npx needs-flag 219 220attach npx at isa with npx_isa 221file arch/i386/isa/npx_isa.c npx_isa 222 223# attribute used to represent the "keyboard controller" 224# XXX should be a real device 225define pckbcport { [irq = -1], [port = -1] } 226 227# PC console support a la "pccons" 228device pc: tty, pckbcport 229attach pc at isa 230device pcconskbd 231attach pcconskbd at pckbc 232file arch/i386/isa/pccons.c pc | pcconskbd needs-flag 233 234# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 235device olms 236attach olms at isa 237file arch/i386/isa/olms.c olms needs-flag 238device lms: wsmousedev 239attach lms at isa 240file arch/i386/isa/lms.c lms 241device omms 242attach omms at isa 243file arch/i386/isa/omms.c omms needs-flag 244device mms: wsmousedev 245attach mms at isa 246file arch/i386/isa/mms.c mms 247device opms 248attach opms at pckbcport with opms_hack 249attach opms at pckbc with opms_pckbc 250file arch/i386/isa/pms.c opms | opms_hack | opms_pckbc needs-flag 251 252include "dev/wscons/files.wscons" 253include "dev/wsfont/files.wsfont" 254 255include "dev/pckbc/files.pckbc" 256 257device sysbeep 258attach sysbeep at pcppi 259 260# Floppy disk controller 261device fdc {drive = -1}: isadma 262file dev/isa/fd.c fdc needs-flag 263 264attach fdc at isa with fdc_isa 265file dev/isa/fdc_isa.c fdc_isa 266 267device fd: disk 268attach fd at fdc 269major {fd = 2} 270 271attach joy at isa with joy_isa 272file arch/i386/isa/joy_isa.c joy_isa 273 274# Adaptec AHA-284x VL SCSI controllers 275# device declaration in sys/conf/files 276attach ahc at isa with ahc_isa: ahc_aic77xx, smc93cx6 277file arch/i386/isa/ahc_isa.c ahc_isa 278 279# 280# EISA-only drivers 281# 282 283include "dev/eisa/files.eisa" 284file arch/i386/eisa/eisa_machdep.c eisa 285 286# 287# MCA-only drivers 288# 289 290device mca {[slot = -1]} : bioscall 291include "dev/mca/files.mca" 292file arch/i386/mca/mca_machdep.c mca 293 294major { ed = 20 } 295 296# ISA Plug 'n Play devices 297file arch/i386/isa/isapnp_machdep.c isapnp 298 299attach joy at isapnp with joy_isapnp 300file arch/i386/isa/joy_isapnp.c joy_isapnp 301 302# 303# VME support 304# 305include "dev/vme/files.vme" 306 307# 308# Other mainbus-attached devices 309# 310 311# Advanced Power Management support (APM) 312device apm: bioscall 313attach apm at mainbus 314file arch/i386/i386/apm.c apm needs-count 315file arch/i386/i386/apmcall.s apm 316 317# 318# Compatibility modules 319# 320 321# VM86 mode 322file arch/i386/i386/vm86.c vm86 323 324# Binary compatibility with previous NetBSD releases (COMPAT_XX) 325file arch/i386/i386/compat_13_machdep.c compat_13 | compat_aout 326 327# SVR4 binary compatibility (COMPAT_SVR4) 328include "compat/svr4/files.svr4" 329file arch/i386/i386/svr4_machdep.c compat_svr4 330file arch/i386/i386/svr4_sigcode.s compat_svr4 331file arch/i386/i386/svr4_syscall.c compat_svr4 332 333# MACH binary compatibility (COMPAT_MACH) 334include "compat/mach/files.mach" 335file arch/i386/i386/mach_machdep.c compat_mach 336file arch/i386/i386/mach_sigcode.s compat_mach 337file arch/i386/i386/mach_syscall.c compat_mach 338file arch/i386/i386/macho_machdep.c exec_macho 339 340# iBCS-2 binary compatibility (COMPAT_IBCS2) 341include "compat/ibcs2/files.ibcs2" 342file arch/i386/i386/ibcs2_machdep.c compat_ibcs2 343file arch/i386/i386/ibcs2_sigcode.s compat_ibcs2 344file arch/i386/i386/ibcs2_syscall.c compat_ibcs2 345 346# Linux binary compatibility (COMPAT_LINUX) 347include "compat/linux/files.linux" 348include "compat/linux/arch/i386/files.linux_i386" 349file arch/i386/i386/linux_sigcode.s compat_linux 350file arch/i386/i386/linux_syscall.c compat_linux 351file arch/i386/i386/linux_trap.c compat_linux 352 353# FreeBSD binary compatibility (COMPAT_FREEBSD) 354include "compat/freebsd/files.freebsd" 355file arch/i386/i386/freebsd_machdep.c compat_freebsd 356file arch/i386/i386/freebsd_sigcode.s compat_freebsd 357file arch/i386/i386/freebsd_syscall.c compat_freebsd 358 359# a.out binary compatibility (COMPAT_AOUT) 360include "compat/aout/files.aout" 361 362# Win32 binary compatibility (COMPAT_PECOFF) 363include "compat/pecoff/files.pecoff" 364 365# OSS audio driver compatibility 366include "compat/ossaudio/files.ossaudio" 367 368# network devices MII bus 369include "dev/mii/files.mii" 370 371# 372# CARDBUS 373# 374include "dev/cardbus/files.cardbus" 375file arch/i386/i386/rbus_machdep.c cardbus 376 377# XXXX pcic here because it needs to be late. The catch: pcic needs 378# to be late, so devices which attach to it are attached late. But it 379# needs to be before its isa and pci attachments. This answer is 380# non-optimal, but I don't have a better answer right now. 381 382# PCIC pcmcia controller 383# XXX this needs to be done very late, so it's done here. This feels 384# like a kludge, but it might be for the best. 385 386defopt PCIC_ISA_ALLOC_IOBASE 387defopt PCIC_ISA_ALLOC_IOSIZE 388defopt PCIC_ISA_INTR_ALLOC_MASK 389 390device pcic: pcmciabus 391file dev/ic/i82365.c pcic 392 393# PCIC pcmcia controller on ISA bus. 394attach pcic at isa with pcic_isa 395file dev/isa/i82365_isa.c pcic_isa 396 397# PCIC pcmcia controller on PCI bus. 398attach pcic at pci with pcic_pci 399file dev/pci/i82365_pci.c pcic_pci 400 401# PCIC pcmcia controller on PnP board 402attach pcic at isapnp with pcic_isapnp 403file dev/isapnp/i82365_isapnp.c pcic_isapnp 404 405# Code common to ISA and ISAPnP attachments 406file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 407 408# XXXX tcic here because it needs to be late. The catch: tcic needs 409# to be late, so devices which attach to it are attached late. But it 410# needs to be before its isa and pci attachments. This answer is 411# non-optimal, but I don't have a better answer right now. 412 413# TCIC pcmcia controller 414# XXX this needs to be done very late, so it's done here. This feels 415# like a kludge, but it might be for the best. 416 417defopt TCIC_ISA_ALLOC_IOBASE 418defopt TCIC_ISA_ALLOC_IOSIZE 419defopt TCIC_ISA_INTR_ALLOC_MASK 420 421device tcic: pcmciabus 422file dev/ic/tcic2.c tcic 423 424# TCIC pcmcia controller 425attach tcic at isa with tcic_isa 426file dev/isa/tcic2_isa.c tcic_isa 427 428# this wants to be probed as late as possible. 429# 430# Machine-independent PCMCIA drivers 431# 432include "dev/pcmcia/files.pcmcia" 433 434 435include "dev/usb/files.usb" 436 437include "dev/ieee1394/files.ieee1394" 438 439include "arch/i386/pnpbios/files.pnpbios" 440