modify these to provide a new, better-specified PCI interface
(soon to be documented on mailing lists; eventually in section 9 manual
pages), most importantly:
(1) support interrupt pin swizzling on non-i386 systems with
PCI-PCI bridges (per PPB spec; done, but meaningless, on i386).
(2) provide pci_{io,mem}_find(), to determine what I/O or memory
space is described by a given PCI configuration space
mapping register.
(3) provide pci_intr_map(), pci_intr_string(), and
pci_intr_{,dis}establish() to manipulate and print info about
PCI interrupts.
(4) deprecate the pci_map_* functions, and provide them only
as compatibility interfaces (in pci_compat.c) which will
eventually go away, implemented as wrappers around
the functions described above.
(5) make pci functions take as an argument a machine-dependent
cookie, to allow more flexibility in implementation.
1996-03-27 07:01:10 +03:00
|
|
|
# $NetBSD: files.i386,v 1.70 1996/03/27 04:01:10 cgd 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
|
|
|
|
|
|
|
|
file arch/i386/i386/autoconf.c
|
|
|
|
file arch/i386/i386/conf.c
|
|
|
|
file arch/i386/i386/db_disasm.c ddb
|
|
|
|
file arch/i386/i386/db_interface.c ddb
|
|
|
|
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
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/i386/i386/in_cksum.c inet
|
|
|
|
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
|
|
|
|
file arch/i386/i386/pmap.c
|
|
|
|
file arch/i386/i386/process_machdep.c
|
|
|
|
file arch/i386/i386/random.s
|
|
|
|
file arch/i386/i386/sys_machdep.c
|
|
|
|
file arch/i386/i386/trap.c
|
|
|
|
file arch/i386/i386/vm_machdep.c
|
|
|
|
file dev/cons.c
|
|
|
|
file dev/cninit.c
|
|
|
|
major {vnd = 14}
|
|
|
|
|
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
|
|
|
|
|
|
|
include "../../../scsi/files.scsi"
|
|
|
|
major {sd = 4}
|
|
|
|
major {st = 5}
|
|
|
|
major {cd = 6}
|
|
|
|
|
1996-03-25 21:44:29 +03:00
|
|
|
# RAM Disk for install floppy
|
|
|
|
pseudo-device rd
|
|
|
|
file dev/ramdisk.c rd needs-flag
|
|
|
|
file arch/i386/i386/rd_root.c ramdisk_hooks
|
|
|
|
major {rd = 17}
|
|
|
|
|
1994-11-03 18:55:40 +03:00
|
|
|
#
|
1995-04-28 12:19:12 +04:00
|
|
|
# System bus types
|
|
|
|
#
|
|
|
|
|
1996-03-17 04:26:49 +03:00
|
|
|
device mainbus: isabus, eisabus, pcibus
|
|
|
|
attach mainbus at root
|
1996-03-04 06:25:48 +03:00
|
|
|
file arch/i386/i386/mainbus.c mainbus
|
|
|
|
|
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'.
|
|
|
|
#
|
|
|
|
|
|
|
|
include "../../../dev/pci/files.pci"
|
|
|
|
file arch/i386/pci/pci_machdep.c pci
|
modify these to provide a new, better-specified PCI interface
(soon to be documented on mailing lists; eventually in section 9 manual
pages), most importantly:
(1) support interrupt pin swizzling on non-i386 systems with
PCI-PCI bridges (per PPB spec; done, but meaningless, on i386).
(2) provide pci_{io,mem}_find(), to determine what I/O or memory
space is described by a given PCI configuration space
mapping register.
(3) provide pci_intr_map(), pci_intr_string(), and
pci_intr_{,dis}establish() to manipulate and print info about
PCI interrupts.
(4) deprecate the pci_map_* functions, and provide them only
as compatibility interfaces (in pci_compat.c) which will
eventually go away, implemented as wrappers around
the functions described above.
(5) make pci functions take as an argument a machine-dependent
cookie, to allow more flexibility in implementation.
1996-03-27 07:01:10 +03:00
|
|
|
file arch/i386/pci/pci_compat.c pci # XXX compatibility
|
1996-02-28 04:58:25 +03:00
|
|
|
|
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
|
|
|
|
|
|
|
include "../../../dev/isa/files.isa"
|
|
|
|
major {mcd = 7}
|
|
|
|
#major {scd = 15}
|
|
|
|
major {wd = 0}
|
|
|
|
major {wt = 3}
|
|
|
|
|
|
|
|
file arch/i386/isa/isa_machdep.c isa
|
|
|
|
|
|
|
|
# PC clock
|
|
|
|
file arch/i386/isa/clock.c isa
|
|
|
|
|
|
|
|
# Numeric Processing Extension; Math Co-processor
|
1996-03-17 04:26:49 +03:00
|
|
|
device npx
|
|
|
|
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
|
1996-03-18 04:26:10 +03:00
|
|
|
define pckbd { [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"
|
1996-03-17 04:26:49 +03:00
|
|
|
device pc: tty, pckbd
|
|
|
|
attach pc at isa
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/i386/isa/pccons.c pc needs-flag
|
|
|
|
|
|
|
|
# PC console support a la "pcvt"
|
1996-03-17 04:26:49 +03:00
|
|
|
device vt: tty, pckbd
|
|
|
|
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
|
1996-03-17 04:26:49 +03:00
|
|
|
device lms
|
|
|
|
attach lms at isa
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/i386/isa/lms.c lms needs-flag
|
1996-03-17 04:26:49 +03:00
|
|
|
device mms
|
|
|
|
attach mms at isa
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/i386/isa/mms.c mms needs-flag
|
1996-03-17 04:26:49 +03:00
|
|
|
device pms
|
|
|
|
attach pms at pckbd
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/i386/isa/pms.c pms needs-flag
|
|
|
|
|
|
|
|
# Floppy disk controller
|
1996-03-17 04:26:49 +03:00
|
|
|
device fdc {drive = -1}
|
|
|
|
attach fdc at isa
|
|
|
|
device fd: disk, isadma
|
|
|
|
attach fd at fdc
|
1995-04-28 12:19:12 +04:00
|
|
|
file arch/i386/isa/fd.c fdc needs-flag
|
|
|
|
major {fd = 2}
|
|
|
|
|
|
|
|
# PC speaker
|
1996-03-17 04:26:49 +03:00
|
|
|
device spkr: tty
|
1996-03-18 04:26:10 +03:00
|
|
|
attach spkr at pckbd
|
1996-02-22 08:53:16 +03:00
|
|
|
file arch/i386/isa/spkr.c spkr needs-flag
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
# AMD am7990 (Lance) -based boards
|
|
|
|
# (BICC Isolan, NE2100, DEPCA)
|
|
|
|
# XXX conflicts with other ports; can't be in files.isa
|
1996-03-17 04:26:49 +03:00
|
|
|
device le: ether, ifnet
|
|
|
|
attach le at isa with le_isa: isadma
|
|
|
|
attach le at pci with le_pci
|
1995-04-28 12:19:12 +04:00
|
|
|
file dev/isa/if_le.c le
|
|
|
|
|
1994-11-03 18:55:40 +03:00
|
|
|
#
|
|
|
|
# EISA-only drivers
|
|
|
|
#
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
include "../../../dev/eisa/files.eisa"
|
|
|
|
|
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
|
|
|
|
|
1995-10-10 04:30:25 +03:00
|
|
|
# SVR4 binary compatibility (COMPAT_SVR4)
|
1995-04-28 12:19:12 +04: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)
|
1995-04-28 12:19:12 +04:00
|
|
|
include "../../../compat/ibcs2/files.ibcs2"
|
|
|
|
|
1995-10-10 04:30:25 +03:00
|
|
|
# Linux binary compatibility (COMPAT_LINUX)
|
1995-04-28 12:19:12 +04:00
|
|
|
include "../../../compat/linux/files.linux"
|
1995-10-10 04:30:25 +03:00
|
|
|
file arch/i386/i386/linux_machdep.c compat_linux
|
1995-10-10 04:22:31 +03:00
|
|
|
|
1995-10-10 04:30:25 +03:00
|
|
|
# FreeBSD binary compatibility (COMPAT_FREEBSD)
|
1995-10-10 04:22:31 +03:00
|
|
|
include "../../../compat/freebsd/files.freebsd"
|
|
|
|
file arch/i386/i386/freebsd_machdep.c compat_freebsd
|