files.i386 revision 1.129
1# $NetBSD: files.i386,v 1.129 1999/01/28 12:43:13 drochner 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 64 10 11# APM options 12defopt opt_apm.h APM_DISABLE APM_FORCE_64K_SEGMENTS APM_NO_IDLE 13 APM_NO_STANDBY APM_V10_ONLY APMDEBUG APMDEBUG_VALUE 14 15# Processor type options. 16defopt opt_cputype.h I386_CPU I486_CPU I586_CPU I686_CPU 17 18# delay before cpu_reset() for reboot. 19defopt CPURESET_DELAY 20 21# VM86 emulation 22defopt VM86 23 24# Floating point emulation 25defopt MATH_EMULATE 26 27# User-settable LDT (used by WINE) 28defopt USER_LDT 29 30# Speed hack; make NOPs dummies (might break on some machines) 31defopt DUMMY_NOPS 32 33# X server support in console drivers 34defopt opt_xserver.h XSERVER XSERVER_DDB 35 36file arch/i386/i386/autoconf.c 37file arch/i386/i386/conf.c 38file arch/i386/i386/db_dbgreg.s ddb 39file arch/i386/i386/db_disasm.c ddb 40file arch/i386/i386/db_interface.c ddb 41file arch/i386/i386/db_memrw.c ddb | kgdb 42file arch/i386/i386/db_trace.c ddb 43file arch/i386/i386/disksubr.c disk 44file arch/i386/i386/gdt.c 45file arch/i386/i386/in_cksum.s inet 46file arch/i386/i386/kgdb_machdep.c kgdb 47file arch/i386/i386/machdep.c 48file arch/i386/i386/math_emulate.c math_emulate 49file arch/i386/i386/mem.c 50file arch/i386/i386/microtime.s 51file arch/i386/i386/ns_cksum.c ns 52file arch/i386/i386/pmap.c !pmap_new 53file arch/i386/i386/pmap.new.c pmap_new 54file arch/i386/i386/process_machdep.c 55file arch/i386/i386/sys_machdep.c 56file arch/i386/i386/trap.c 57file arch/i386/i386/vm_machdep.c 58file dev/cons.c 59major {vnd = 14} 60 61# 62# Machine-independent SCSI drivers 63# 64 65include "dev/scsipi/files.scsipi" 66major {sd = 4} 67major {st = 5} 68major {cd = 6} 69 70# 71# Machine-independent ATA drivers 72# 73 74include "dev/ata/files.ata" 75major {wd = 0} 76 77# Memory Disk for install floppy 78file arch/i386/i386/md_root.c memory_disk_hooks 79major {md = 17} 80 81# 82# System bus types 83# 84 85define mainbus { } 86device mainbus: isabus, eisabus, pcibus, mainbus 87attach mainbus at root 88file arch/i386/i386/mainbus.c mainbus 89 90# attribute used to bring in BIOS trampoline code for real-mode probing 91# of certain devices/BIOS features 92define bioscall 93file arch/i386/i386/bioscall.s bioscall needs-flag 94 95#device mca at root {...} 96 97# 98# PCI-only drivers 99# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 100# XXX devices to 'pci'. 101# 102 103include "dev/pci/files.pci" 104file arch/i386/pci/pci_machdep.c pci 105defopt PCI_CONF_MODE 106file arch/i386/pci/pciide_machdep.c pciide 107file arch/i386/pci/pcic_pci_machdep.c pcic_pci 108 109# PCI-Host bridge chipsets 110device pchb: pcibus 111attach pchb at pci 112file arch/i386/pci/pchb.c pchb 113 114# PCI-EISA bridges 115device pceb: eisabus, isabus 116attach pceb at pci 117file arch/i386/pci/pceb.c pceb 118 119# PCI-ISA bridges 120device pcib: isabus 121attach pcib at pci 122file arch/i386/pci/pcib.c pcib 123 124# 125# ISA and mixed ISA+EISA or ISA+PCI drivers 126# 127 128include "dev/isa/files.isa" 129major {mcd = 7} 130#major {scd = 15} 131major {wt = 3} 132 133# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 134# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 135# XXX (when the conf/files and files.isa bogons are fixed, this can 136# XXX be fixed as well.) 137 138attach lpt at puc with lpt_puc 139file dev/pci/lpt_puc.c lpt_puc 140 141file arch/i386/isa/isa_machdep.c isa 142 143# PC clock 144file arch/i386/isa/clock.c isa 145 146# Numeric Processing Extension; Math Co-processor 147device npx 148attach npx at isa 149file arch/i386/isa/npx.c npx needs-flag 150 151# attribute used to represent the "keyboard controller" 152# XXX should be a real device 153define pckbcport { [irq = -1], [port = -1] } 154 155# PC console support a la "pccons" 156device pc: tty, pckbcport 157attach pc at isa 158device pcconskbd 159attach pcconskbd at pckbc 160file arch/i386/isa/pccons.c pc | pcconskbd needs-flag 161 162# PC console support a la "pcvt" 163device vt: tty, pckbcport 164attach vt at isa 165file arch/i386/isa/pcvt/pcvt_drv.c vt needs-flag 166file arch/i386/isa/pcvt/pcvt_ext.c vt needs-flag 167file arch/i386/isa/pcvt/pcvt_kbd.c vt needs-flag 168file arch/i386/isa/pcvt/pcvt_out.c vt needs-flag 169file arch/i386/isa/pcvt/pcvt_sup.c vt needs-flag 170file arch/i386/isa/pcvt/pcvt_vtf.c vt needs-flag 171 172# PC Mice; Logitech-style, Microsoft-style, and PS/2-style 173device olms 174attach olms at isa 175file arch/i386/isa/olms.c olms needs-flag 176device lms: wsmousedev 177attach lms at isa 178file arch/i386/isa/lms.c lms 179device omms 180attach omms at isa 181file arch/i386/isa/omms.c omms needs-flag 182device mms: wsmousedev 183attach mms at isa 184file arch/i386/isa/mms.c mms 185device opms 186attach opms at pckbcport with opms_hack 187attach opms at pckbc with opms_pckbc 188file arch/i386/isa/pms.c opms | opms_hack | opms_pckbc needs-flag 189 190include "dev/wscons/files.wscons" 191 192include "dev/pckbc/files.pckbc" 193 194device sysbeep 195attach sysbeep at pcppi 196 197# Floppy disk controller 198device fdc {drive = -1} 199attach fdc at isa 200device fd: disk, isadma 201attach fd at fdc 202file arch/i386/isa/fd.c fdc needs-flag 203major {fd = 2} 204 205# Game adapter (joystick) 206device joy 207file arch/i386/isa/joy.c joy needs-flag 208 209attach joy at isa with joy_isa 210file arch/i386/isa/joy_isa.c joy_isa 211 212# Adaptec AHA-284x VL SCSI controllers 213# device declaration in sys/conf/files 214attach ahc at isa with ahc_isa 215file arch/i386/isa/ahc_isa.c ahc_isa 216 217# 218# EISA-only drivers 219# 220 221include "dev/eisa/files.eisa" 222file arch/i386/eisa/eisa_machdep.c eisa 223 224# ISA Plug 'n Play devices 225file arch/i386/isa/isapnp_machdep.c isapnp 226 227attach joy at isapnp with joy_isapnp 228file arch/i386/isa/joy_isapnp.c joy_isapnp 229 230# 231# Other mainbus-attached devices 232# 233 234# Advanced Power Management support (APM) 235device apm: bioscall 236attach apm at mainbus 237file arch/i386/i386/apm.c apm needs-count 238file arch/i386/i386/apmcall.s apm 239 240# 241# Compatibility modules 242# 243 244# VM86 mode 245file arch/i386/i386/vm86.c vm86 246 247# Binary compatibility with previous NetBSD releases (COMPAT_XX) 248file arch/i386/i386/compat_13_machdep.c compat_13 249 250# SVR4 binary compatibility (COMPAT_SVR4) 251include "compat/svr4/files.svr4" 252file arch/i386/i386/svr4_machdep.c compat_svr4 253 254# iBCS-2 binary compatibility (COMPAT_IBCS2) 255include "compat/ibcs2/files.ibcs2" 256file arch/i386/i386/ibcs2_machdep.c compat_ibcs2 257 258# Linux binary compatibility (COMPAT_LINUX) 259include "compat/linux/files.linux" 260include "compat/linux/arch/i386/files.linux_i386" 261 262# FreeBSD binary compatibility (COMPAT_FREEBSD) 263include "compat/freebsd/files.freebsd" 264file arch/i386/i386/freebsd_machdep.c compat_freebsd 265 266# OSS audio driver compatibility 267include "compat/ossaudio/files.ossaudio" 268 269# network devices MII bus 270include "dev/mii/files.mii" 271 272# XXXX pcic here because it needs to be late. The catch: pcic needs 273# to be late, so devices which attach to it are attached late. But it 274# needs to be before its isa and pci attachments. This answer is 275# non-optimal, but I don't have a better answer right now. 276 277# PCIC pcmcia contoller 278# XXX this needs to be done very late, so it's done here. This feels 279# like a kludge, but it might be for the best. 280 281defopt PCIC_ISA_ALLOC_IOBASE 282defopt PCIC_ISA_ALLOC_IOSIZE 283defopt PCIC_ISA_INTR_ALLOC_MASK 284 285device pcic: pcmciabus 286file dev/ic/i82365.c pcic 287 288# PCIC pcmcia controller on ISA bus. 289attach pcic at isa with pcic_isa 290file dev/isa/i82365_isa.c pcic_isa 291 292# PCIC pcmcia controller on PCI bus. 293attach pcic at pci with pcic_pci 294file dev/pci/i82365_pci.c pcic_pci 295 296# PCIC pcmcia controller on PnP board 297attach pcic at isapnp with pcic_isapnp 298file dev/isapnp/i82365_isapnp.c pcic_isapnp 299 300# Code common to ISA and ISAPnP attachments 301file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 302 303# this wants to be probed as late as possible. 304# 305# Machine-independent PCMCIA drivers 306# 307include "dev/pcmcia/files.pcmcia" 308 309 310include "dev/usb/files.usb" 311