1999-09-09 07:52:21 +04:00
|
|
|
# $NetBSD: files.i386,v 1.138 1999/09/09 03:52:21 itohy Exp $
|
1993-03-21 21:04:42 +03:00
|
|
|
#
|
1995-04-28 12:19:12 +04:00
|
|
|
# new style config file for i386 architecture
|
1994-11-03 18:55:40 +03:00
|
|
|
#
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
# maxpartitions must be first item in files.${ARCH}.newconf
|
|
|
|
maxpartitions 8
|
|
|
|
|
|
|
|
maxusers 2 16 64
|
|
|
|
|
1998-11-13 00:32:16 +03:00
|
|
|
# APM options
|
|
|
|
defopt opt_apm.h APM_DISABLE APM_FORCE_64K_SEGMENTS APM_NO_IDLE
|
1999-08-17 22:58:49 +04:00
|
|
|
APM_NO_STANDBY APM_V10_ONLY APM_NO_V12 APMDEBUG APMDEBUG_VALUE
|
1999-09-09 07:52:21 +04:00
|
|
|
APM_NO_POWER_PRINT
|
1998-11-13 00:32:16 +03:00
|
|
|
|
1998-01-15 22:47:36 +03:00
|
|
|
# Processor type options.
|
|
|
|
defopt opt_cputype.h I386_CPU I486_CPU I586_CPU I686_CPU
|
|
|
|
|
1998-10-13 15:43:50 +04:00
|
|
|
# delay before cpu_reset() for reboot.
|
|
|
|
defopt CPURESET_DELAY
|
|
|
|
|
1998-01-16 01:25:52 +03:00
|
|
|
# VM86 emulation
|
|
|
|
defopt VM86
|
|
|
|
|
1998-01-22 02:29:08 +03:00
|
|
|
# Floating point emulation
|
|
|
|
defopt MATH_EMULATE
|
|
|
|
|
1998-01-22 03:39:16 +03:00
|
|
|
# User-settable LDT (used by WINE)
|
|
|
|
defopt USER_LDT
|
|
|
|
|
1998-01-22 03:44:06 +03:00
|
|
|
# Speed hack; make NOPs dummies (might break on some machines)
|
|
|
|
defopt DUMMY_NOPS
|
|
|
|
|
1998-01-22 04:16:23 +03:00
|
|
|
# X server support in console drivers
|
1998-08-13 21:41:10 +04:00
|
|
|
defopt opt_xserver.h XSERVER XSERVER_DDB
|
1998-01-22 04:16:23 +03:00
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/i386/i386/autoconf.c
|
|
|
|
file arch/i386/i386/conf.c
|
1998-08-13 21:55:41 +04:00
|
|
|
file arch/i386/i386/db_dbgreg.s ddb
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/i386/i386/db_disasm.c ddb
|
|
|
|
file arch/i386/i386/db_interface.c ddb
|
1997-07-06 08:09:45 +04:00
|
|
|
file arch/i386/i386/db_memrw.c ddb | kgdb
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/i386/i386/db_trace.c ddb
|
|
|
|
file arch/i386/i386/disksubr.c disk
|
1995-10-11 07:19:29 +03:00
|
|
|
file arch/i386/i386/gdt.c
|
1996-07-03 17:01:40 +04:00
|
|
|
file arch/i386/i386/in_cksum.s inet
|
1997-07-06 08:09:45 +04:00
|
|
|
file arch/i386/i386/kgdb_machdep.c kgdb
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/i386/i386/machdep.c
|
|
|
|
file arch/i386/i386/math_emulate.c math_emulate
|
|
|
|
file arch/i386/i386/mem.c
|
|
|
|
file arch/i386/i386/microtime.s
|
|
|
|
file arch/i386/i386/ns_cksum.c ns
|
1999-06-17 04:12:10 +04:00
|
|
|
file arch/i386/i386/pmap.c
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/i386/i386/process_machdep.c
|
|
|
|
file arch/i386/i386/sys_machdep.c
|
|
|
|
file arch/i386/i386/trap.c
|
|
|
|
file arch/i386/i386/vm_machdep.c
|
|
|
|
file dev/cons.c
|
|
|
|
|
1994-11-03 18:55:40 +03:00
|
|
|
#
|
1995-04-28 12:19:12 +04:00
|
|
|
# Machine-independent SCSI drivers
|
1994-11-03 18:55:40 +03:00
|
|
|
#
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1998-01-15 09:15:08 +03:00
|
|
|
include "dev/scsipi/files.scsipi"
|
1995-04-28 12:19:12 +04:00
|
|
|
major {sd = 4}
|
|
|
|
major {cd = 6}
|
|
|
|
|
1998-01-15 02:36:30 +03:00
|
|
|
#
|
|
|
|
# Machine-independent ATA drivers
|
|
|
|
#
|
|
|
|
|
1998-01-15 09:15:08 +03:00
|
|
|
include "dev/ata/files.ata"
|
1998-01-15 02:36:30 +03:00
|
|
|
major {wd = 0}
|
|
|
|
|
1996-12-29 02:10:44 +03:00
|
|
|
# Memory Disk for install floppy
|
|
|
|
file arch/i386/i386/md_root.c memory_disk_hooks
|
|
|
|
major {md = 17}
|
1996-03-25 21:44:29 +03:00
|
|
|
|
1994-11-03 18:55:40 +03:00
|
|
|
#
|
1995-04-28 12:19:12 +04:00
|
|
|
# System bus types
|
|
|
|
#
|
|
|
|
|
1996-08-26 03:38:57 +04:00
|
|
|
define mainbus { }
|
1998-02-17 01:12:45 +03:00
|
|
|
device mainbus: isabus, eisabus, pcibus, mainbus
|
1996-03-17 04:26:49 +03:00
|
|
|
attach mainbus at root
|
1996-03-04 06:25:48 +03:00
|
|
|
file arch/i386/i386/mainbus.c mainbus
|
|
|
|
|
1997-10-14 07:55:51 +04:00
|
|
|
# attribute used to bring in BIOS trampoline code for real-mode probing
|
|
|
|
# of certain devices/BIOS features
|
|
|
|
define bioscall
|
|
|
|
file arch/i386/i386/bioscall.s bioscall needs-flag
|
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
#device mca at root {...}
|
|
|
|
|
1996-02-28 04:58:25 +03:00
|
|
|
#
|
|
|
|
# PCI-only drivers
|
|
|
|
# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
|
|
|
|
# XXX devices to 'pci'.
|
|
|
|
#
|
|
|
|
|
1998-01-15 09:15:08 +03:00
|
|
|
include "dev/pci/files.pci"
|
1996-02-28 04:58:25 +03:00
|
|
|
file arch/i386/pci/pci_machdep.c pci
|
1999-01-28 15:43:13 +03:00
|
|
|
defopt PCI_CONF_MODE
|
1998-03-04 09:40:29 +03:00
|
|
|
file arch/i386/pci/pciide_machdep.c pciide
|
1998-12-20 20:53:28 +03:00
|
|
|
file arch/i386/pci/pcic_pci_machdep.c pcic_pci
|
1996-02-28 04:58:25 +03:00
|
|
|
|
1996-11-28 06:15:13 +03:00
|
|
|
# PCI-Host bridge chipsets
|
1998-02-17 01:12:45 +03:00
|
|
|
device pchb: pcibus
|
1996-11-28 06:15:13 +03:00
|
|
|
attach pchb at pci
|
|
|
|
file arch/i386/pci/pchb.c pchb
|
|
|
|
|
1998-02-06 10:53:26 +03:00
|
|
|
# PCI-EISA bridges
|
1998-02-17 01:12:45 +03:00
|
|
|
device pceb: eisabus, isabus
|
1998-02-06 10:53:26 +03:00
|
|
|
attach pceb at pci
|
|
|
|
file arch/i386/pci/pceb.c pceb
|
|
|
|
|
1996-11-28 06:15:13 +03:00
|
|
|
# PCI-ISA bridges
|
1998-02-17 01:12:45 +03:00
|
|
|
device pcib: isabus
|
1996-11-28 06:15:13 +03:00
|
|
|
attach pcib at pci
|
|
|
|
file arch/i386/pci/pcib.c pcib
|
|
|
|
|
1994-11-03 18:55:40 +03:00
|
|
|
#
|
1995-04-28 12:19:12 +04:00
|
|
|
# ISA and mixed ISA+EISA or ISA+PCI drivers
|
1994-11-03 18:55:40 +03:00
|
|
|
#
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1998-01-15 09:15:08 +03:00
|
|
|
include "dev/isa/files.isa"
|
1995-04-28 12:19:12 +04:00
|
|
|
major {mcd = 7}
|
|
|
|
#major {scd = 15}
|
|
|
|
|
1998-06-26 22:58:38 +04:00
|
|
|
# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT
|
|
|
|
# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files.
|
|
|
|
# XXX (when the conf/files and files.isa bogons are fixed, this can
|
|
|
|
# XXX be fixed as well.)
|
|
|
|
|
|
|
|
attach lpt at puc with lpt_puc
|
|
|
|
file dev/pci/lpt_puc.c lpt_puc
|
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/i386/isa/isa_machdep.c isa
|
|
|
|
|
|
|
|
# PC clock
|
|
|
|
file arch/i386/isa/clock.c isa
|
1999-02-07 20:25:31 +03:00
|
|
|
file dev/clock_subr.c isa
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
# Numeric Processing Extension; Math Co-processor
|
1998-02-17 01:12:45 +03:00
|
|
|
device npx
|
1996-03-17 04:26:49 +03:00
|
|
|
attach npx at isa
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/i386/isa/npx.c npx needs-flag
|
|
|
|
|
1996-03-16 09:08:46 +03:00
|
|
|
# attribute used to represent the "keyboard controller"
|
|
|
|
# XXX should be a real device
|
1998-03-22 19:14:39 +03:00
|
|
|
define pckbcport { [irq = -1], [port = -1] }
|
1996-03-16 09:08:46 +03:00
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
# PC console support a la "pccons"
|
1998-03-22 19:14:39 +03:00
|
|
|
device pc: tty, pckbcport
|
1996-03-17 04:26:49 +03:00
|
|
|
attach pc at isa
|
1998-03-22 19:14:39 +03:00
|
|
|
device pcconskbd
|
|
|
|
attach pcconskbd at pckbc
|
|
|
|
file arch/i386/isa/pccons.c pc | pcconskbd needs-flag
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
# PC console support a la "pcvt"
|
1998-03-22 19:14:39 +03:00
|
|
|
device vt: tty, pckbcport
|
1996-03-17 04:26:49 +03:00
|
|
|
attach vt at isa
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/i386/isa/pcvt/pcvt_drv.c vt needs-flag
|
|
|
|
file arch/i386/isa/pcvt/pcvt_ext.c vt needs-flag
|
|
|
|
file arch/i386/isa/pcvt/pcvt_kbd.c vt needs-flag
|
|
|
|
file arch/i386/isa/pcvt/pcvt_out.c vt needs-flag
|
|
|
|
file arch/i386/isa/pcvt/pcvt_sup.c vt needs-flag
|
|
|
|
file arch/i386/isa/pcvt/pcvt_vtf.c vt needs-flag
|
|
|
|
|
|
|
|
# PC Mice; Logitech-style, Microsoft-style, and PS/2-style
|
1999-01-23 18:09:55 +03:00
|
|
|
device olms
|
|
|
|
attach olms at isa
|
|
|
|
file arch/i386/isa/olms.c olms needs-flag
|
|
|
|
device lms: wsmousedev
|
1996-03-17 04:26:49 +03:00
|
|
|
attach lms at isa
|
1999-01-23 18:09:55 +03:00
|
|
|
file arch/i386/isa/lms.c lms
|
|
|
|
device omms
|
|
|
|
attach omms at isa
|
|
|
|
file arch/i386/isa/omms.c omms needs-flag
|
|
|
|
device mms: wsmousedev
|
1996-03-17 04:26:49 +03:00
|
|
|
attach mms at isa
|
1999-01-23 18:09:55 +03:00
|
|
|
file arch/i386/isa/mms.c mms
|
|
|
|
device opms
|
|
|
|
attach opms at pckbcport with opms_hack
|
|
|
|
attach opms at pckbc with opms_pckbc
|
|
|
|
file arch/i386/isa/pms.c opms | opms_hack | opms_pckbc needs-flag
|
1998-03-22 19:14:39 +03:00
|
|
|
|
|
|
|
include "dev/wscons/files.wscons"
|
|
|
|
|
|
|
|
include "dev/pckbc/files.pckbc"
|
|
|
|
|
1998-04-17 00:16:28 +04:00
|
|
|
device sysbeep
|
|
|
|
attach sysbeep at pcppi
|
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
# Floppy disk controller
|
1998-02-17 01:12:45 +03:00
|
|
|
device fdc {drive = -1}
|
1996-03-17 04:26:49 +03:00
|
|
|
attach fdc at isa
|
1998-02-17 01:12:45 +03:00
|
|
|
device fd: disk, isadma
|
1996-03-17 04:26:49 +03:00
|
|
|
attach fd at fdc
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/i386/isa/fd.c fdc needs-flag
|
|
|
|
major {fd = 2}
|
|
|
|
|
1996-03-27 22:11:13 +03:00
|
|
|
# Game adapter (joystick)
|
1998-02-17 01:12:45 +03:00
|
|
|
device joy
|
1996-03-27 22:11:13 +03:00
|
|
|
file arch/i386/isa/joy.c joy needs-flag
|
|
|
|
|
1997-01-17 02:19:56 +03:00
|
|
|
attach joy at isa with joy_isa
|
|
|
|
file arch/i386/isa/joy_isa.c joy_isa
|
|
|
|
|
1996-08-06 01:15:58 +04:00
|
|
|
# Adaptec AHA-284x VL SCSI controllers
|
|
|
|
# device declaration in sys/conf/files
|
|
|
|
attach ahc at isa with ahc_isa
|
|
|
|
file arch/i386/isa/ahc_isa.c ahc_isa
|
|
|
|
|
1994-11-03 18:55:40 +03:00
|
|
|
#
|
|
|
|
# EISA-only drivers
|
|
|
|
#
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1998-01-15 09:15:08 +03:00
|
|
|
include "dev/eisa/files.eisa"
|
1996-04-10 02:59:03 +04:00
|
|
|
file arch/i386/eisa/eisa_machdep.c eisa
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1997-01-17 02:19:56 +03:00
|
|
|
# ISA Plug 'n Play devices
|
|
|
|
file arch/i386/isa/isapnp_machdep.c isapnp
|
|
|
|
|
|
|
|
attach joy at isapnp with joy_isapnp
|
|
|
|
file arch/i386/isa/joy_isapnp.c joy_isapnp
|
1996-08-26 03:38:57 +04:00
|
|
|
|
1999-02-07 20:25:31 +03:00
|
|
|
#
|
|
|
|
# VME support
|
|
|
|
#
|
|
|
|
include "dev/vme/files.vme"
|
|
|
|
|
1996-08-26 03:38:57 +04:00
|
|
|
#
|
|
|
|
# Other mainbus-attached devices
|
|
|
|
#
|
|
|
|
|
|
|
|
# Advanced Power Management support (APM)
|
1998-02-17 01:12:45 +03:00
|
|
|
device apm: bioscall
|
1996-08-26 03:38:57 +04:00
|
|
|
attach apm at mainbus
|
|
|
|
file arch/i386/i386/apm.c apm needs-count
|
1997-10-14 07:55:51 +04:00
|
|
|
file arch/i386/i386/apmcall.s apm
|
1996-08-26 03:38:57 +04:00
|
|
|
|
1994-11-03 18:55:40 +03:00
|
|
|
#
|
|
|
|
# Compatibility modules
|
|
|
|
#
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1996-01-08 16:51:30 +03:00
|
|
|
# VM86 mode
|
|
|
|
file arch/i386/i386/vm86.c vm86
|
|
|
|
|
1998-09-12 14:48:27 +04:00
|
|
|
# Binary compatibility with previous NetBSD releases (COMPAT_XX)
|
1999-07-28 05:57:05 +04:00
|
|
|
file arch/i386/i386/compat_13_machdep.c compat_13 | compat_aout
|
1998-09-12 14:48:27 +04:00
|
|
|
|
1995-10-10 04:30:25 +03:00
|
|
|
# SVR4 binary compatibility (COMPAT_SVR4)
|
1998-01-15 09:15:08 +03:00
|
|
|
include "compat/svr4/files.svr4"
|
1995-10-10 04:30:25 +03:00
|
|
|
file arch/i386/i386/svr4_machdep.c compat_svr4
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1995-10-10 04:30:25 +03:00
|
|
|
# iBCS-2 binary compatibility (COMPAT_IBCS2)
|
1998-01-15 09:15:08 +03:00
|
|
|
include "compat/ibcs2/files.ibcs2"
|
1997-09-12 03:05:30 +04:00
|
|
|
file arch/i386/i386/ibcs2_machdep.c compat_ibcs2
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1995-10-10 04:30:25 +03:00
|
|
|
# Linux binary compatibility (COMPAT_LINUX)
|
1998-01-15 09:15:08 +03:00
|
|
|
include "compat/linux/files.linux"
|
1998-10-04 03:17:03 +04:00
|
|
|
include "compat/linux/arch/i386/files.linux_i386"
|
1995-10-10 04:22:31 +03:00
|
|
|
|
1995-10-10 04:30:25 +03:00
|
|
|
# FreeBSD binary compatibility (COMPAT_FREEBSD)
|
1998-01-15 09:15:08 +03:00
|
|
|
include "compat/freebsd/files.freebsd"
|
1995-10-10 04:22:31 +03:00
|
|
|
file arch/i386/i386/freebsd_machdep.c compat_freebsd
|
1997-04-04 19:35:06 +04:00
|
|
|
|
1999-02-11 23:14:28 +03:00
|
|
|
# a.out binary compatibility (COMPAT_AOUT)
|
|
|
|
include "compat/aout/files.aout"
|
|
|
|
|
1997-04-04 19:35:06 +04:00
|
|
|
# OSS audio driver compatibility
|
1998-01-15 09:15:08 +03:00
|
|
|
include "compat/ossaudio/files.ossaudio"
|
1997-10-17 03:32:35 +04:00
|
|
|
|
1997-10-17 22:45:53 +04:00
|
|
|
# network devices MII bus
|
1998-01-15 09:15:08 +03:00
|
|
|
include "dev/mii/files.mii"
|
1997-10-17 22:45:53 +04:00
|
|
|
|
1997-10-17 03:32:35 +04:00
|
|
|
# XXXX pcic here because it needs to be late. The catch: pcic needs
|
|
|
|
# to be late, so devices which attach to it are attached late. But it
|
|
|
|
# needs to be before its isa and pci attachments. This answer is
|
|
|
|
# non-optimal, but I don't have a better answer right now.
|
|
|
|
|
|
|
|
# PCIC pcmcia contoller
|
|
|
|
# XXX this needs to be done very late, so it's done here. This feels
|
|
|
|
# like a kludge, but it might be for the best.
|
1997-10-30 01:50:46 +03:00
|
|
|
|
|
|
|
defopt PCIC_ISA_ALLOC_IOBASE
|
|
|
|
defopt PCIC_ISA_ALLOC_IOSIZE
|
|
|
|
defopt PCIC_ISA_INTR_ALLOC_MASK
|
|
|
|
|
1998-11-26 18:35:58 +03:00
|
|
|
device pcic: pcmciabus
|
1997-10-21 00:26:25 +04:00
|
|
|
file dev/ic/i82365.c pcic
|
1997-10-17 03:32:35 +04:00
|
|
|
|
1998-06-07 22:34:38 +04:00
|
|
|
# PCIC pcmcia controller on ISA bus.
|
1997-10-17 03:32:35 +04:00
|
|
|
attach pcic at isa with pcic_isa
|
|
|
|
file dev/isa/i82365_isa.c pcic_isa
|
|
|
|
|
1998-06-07 22:34:38 +04:00
|
|
|
# PCIC pcmcia controller on PCI bus.
|
1997-10-17 03:32:35 +04:00
|
|
|
attach pcic at pci with pcic_pci
|
|
|
|
file dev/pci/i82365_pci.c pcic_pci
|
|
|
|
|
1998-06-07 22:34:38 +04:00
|
|
|
# PCIC pcmcia controller on PnP board
|
|
|
|
attach pcic at isapnp with pcic_isapnp
|
|
|
|
file dev/isapnp/i82365_isapnp.c pcic_isapnp
|
|
|
|
|
|
|
|
# Code common to ISA and ISAPnP attachments
|
1998-12-20 20:53:28 +03:00
|
|
|
file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci
|
1997-10-17 03:32:35 +04:00
|
|
|
|
1999-03-23 23:07:39 +03:00
|
|
|
# XXXX tcic here because it needs to be late. The catch: tcic needs
|
|
|
|
# to be late, so devices which attach to it are attached late. But it
|
|
|
|
# needs to be before its isa and pci attachments. This answer is
|
|
|
|
# non-optimal, but I don't have a better answer right now.
|
|
|
|
|
|
|
|
# TCIC pcmcia contoller
|
|
|
|
# XXX this needs to be done very late, so it's done here. This feels
|
|
|
|
# like a kludge, but it might be for the best.
|
|
|
|
|
|
|
|
defopt TCIC_ISA_ALLOC_IOBASE
|
|
|
|
defopt TCIC_ISA_ALLOC_IOSIZE
|
|
|
|
defopt TCIC_ISA_INTR_ALLOC_MASK
|
|
|
|
|
|
|
|
device tcic: pcmciabus
|
|
|
|
file dev/ic/tcic2.c tcic
|
|
|
|
|
|
|
|
# TCIC pcmcia contoller
|
|
|
|
attach tcic at isa with tcic_isa
|
|
|
|
file dev/isa/tcic2_isa.c tcic_isa
|
|
|
|
|
1997-10-17 03:32:35 +04:00
|
|
|
# this wants to be probed as late as possible.
|
|
|
|
#
|
|
|
|
# Machine-independent PCMCIA drivers
|
|
|
|
#
|
|
|
|
include "dev/pcmcia/files.pcmcia"
|
|
|
|
|
|
|
|
|
1998-07-12 23:51:55 +04:00
|
|
|
include "dev/usb/files.usb"
|