2001-01-23 17:12:25 +03:00
|
|
|
# $NetBSD: files.prep,v 1.16 2001/01/23 14:12:25 nonaka Exp $
|
2000-02-29 18:21:20 +03:00
|
|
|
#
|
|
|
|
# prep-specific configuration info
|
|
|
|
#
|
2000-05-31 18:28:26 +04:00
|
|
|
maxpartitions 8
|
2000-02-29 18:21:20 +03:00
|
|
|
|
|
|
|
maxusers 2 8 64
|
|
|
|
|
|
|
|
file arch/prep/prep/autoconf.c
|
|
|
|
file arch/prep/prep/bus_dma.c
|
2000-03-27 20:45:41 +04:00
|
|
|
file arch/prep/prep/bus_space.c
|
2000-02-29 18:21:20 +03:00
|
|
|
file arch/prep/prep/clock.c
|
|
|
|
file arch/prep/prep/conf.c
|
|
|
|
file arch/prep/prep/disksubr.c disk
|
|
|
|
file arch/prep/prep/extintr.c
|
|
|
|
file arch/prep/prep/machdep.c
|
2001-01-17 03:07:18 +03:00
|
|
|
file arch/prep/prep/procfs_machdep.c procfs
|
2000-02-29 18:21:20 +03:00
|
|
|
file dev/clock_subr.c
|
|
|
|
file dev/cons.c
|
|
|
|
|
2001-01-19 04:51:16 +03:00
|
|
|
#
|
|
|
|
# Compatibility modules
|
|
|
|
#
|
|
|
|
|
|
|
|
# OSS audio driver compatibility
|
|
|
|
include "compat/ossaudio/files.ossaudio"
|
|
|
|
|
|
|
|
# Linux binary compatibility (COMPAT_LINUX)
|
|
|
|
include "compat/linux/files.linux"
|
|
|
|
include "compat/linux/arch/powerpc/files.linux_powerpc"
|
|
|
|
file arch/powerpc/powerpc/linux_sigcode.S compat_linux
|
|
|
|
|
2000-11-08 22:48:51 +03:00
|
|
|
#
|
|
|
|
# Machine-independent I2O drivers
|
|
|
|
#
|
|
|
|
include "dev/i2o/files.i2o"
|
|
|
|
|
2000-02-29 18:21:20 +03:00
|
|
|
#
|
|
|
|
# Machine-independent SCSI drivers
|
|
|
|
#
|
|
|
|
include "dev/scsipi/files.scsipi"
|
|
|
|
major {sd = 4}
|
|
|
|
major {cd = 6}
|
|
|
|
|
|
|
|
#
|
|
|
|
# Machine-independent ATA drivers
|
|
|
|
#
|
|
|
|
|
|
|
|
include "dev/ata/files.ata"
|
|
|
|
major {wd = 0}
|
|
|
|
|
|
|
|
#
|
|
|
|
# Memory Disk for install floppy
|
|
|
|
#
|
2000-11-27 20:03:12 +03:00
|
|
|
file dev/md_root.c memory_disk_hooks
|
2000-02-29 18:21:20 +03:00
|
|
|
major {md = 17}
|
|
|
|
|
2000-03-15 19:57:12 +03:00
|
|
|
#
|
|
|
|
# RAIDframe
|
|
|
|
#
|
2000-03-15 20:08:37 +03:00
|
|
|
major {raid = 18}
|
2000-03-15 19:57:12 +03:00
|
|
|
|
2000-02-29 18:21:20 +03:00
|
|
|
#
|
|
|
|
# System bus types
|
|
|
|
#
|
|
|
|
define mainbus {}
|
|
|
|
device mainbus: pcibus, mainbus
|
|
|
|
attach mainbus at root
|
|
|
|
file arch/prep/prep/mainbus.c mainbus
|
|
|
|
|
|
|
|
device cpu
|
|
|
|
attach cpu at mainbus
|
|
|
|
file arch/prep/prep/cpu.c cpu
|
|
|
|
|
2000-12-02 00:54:01 +03:00
|
|
|
include "dev/wscons/files.wscons"
|
|
|
|
include "dev/wsfont/files.wsfont"
|
|
|
|
include "dev/rasops/files.rasops"
|
|
|
|
|
2000-02-29 18:21:20 +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/prep/pci/pci_machdep.c pci
|
|
|
|
|
|
|
|
# PCI-Host bridge chipsets
|
|
|
|
device pchb: pcibus
|
|
|
|
attach pchb at pci
|
|
|
|
file arch/prep/pci/pchb.c pchb
|
|
|
|
|
|
|
|
# PCI-ISA bridges
|
|
|
|
device pcib: isabus
|
|
|
|
attach pcib at pci
|
|
|
|
file arch/prep/pci/pcib.c pcib
|
|
|
|
|
2000-12-02 00:54:01 +03:00
|
|
|
# IBM G10 display on ThinkPad 820
|
|
|
|
device gten: wsemuldisplaydev, rasops8
|
|
|
|
attach gten at pci
|
|
|
|
file arch/prep/pci/gten.c gten needs-flag
|
|
|
|
|
2000-02-29 18:21:20 +03:00
|
|
|
#
|
|
|
|
# ISA and mixed ISA+PCI drivers
|
|
|
|
#
|
|
|
|
|
|
|
|
include "dev/isa/files.isa"
|
|
|
|
major {mcd = 7}
|
|
|
|
file arch/prep/isa/isa_machdep.c isa
|
|
|
|
file arch/prep/isa/isadma_machdep.c isa
|
|
|
|
|
2001-01-05 20:49:43 +03:00
|
|
|
# ISA Plug 'n Play devices
|
|
|
|
file arch/prep/isa/isapnp_machdep.c isapnp
|
|
|
|
|
2000-02-29 18:21:20 +03:00
|
|
|
#
|
|
|
|
# clock
|
|
|
|
#
|
|
|
|
# mc146818 and compat.
|
|
|
|
device mcclock
|
|
|
|
attach mcclock at isa with mcclock_isa
|
|
|
|
file arch/prep/prep/mcclock.c mcclock
|
|
|
|
file arch/prep/isa/mcclock_isa.c mcclock_isa
|
|
|
|
|
|
|
|
# attribute used to represent the "keyboard controller"
|
|
|
|
# XXX should be a real device
|
|
|
|
define pckbcport { [irq = -1], [port = -1] }
|
|
|
|
|
|
|
|
# PC console support a la "pccons"
|
|
|
|
device pc: tty, pckbcport
|
|
|
|
attach pc at isa
|
|
|
|
device pcconskbd
|
|
|
|
attach pcconskbd at pckbc
|
|
|
|
file arch/prep/isa/pccons.c pc | pcconskbd needs-flag
|
|
|
|
|
|
|
|
include "dev/pckbc/files.pckbc"
|
|
|
|
|
|
|
|
# ISA speaker generates keyboard beep
|
|
|
|
device isabeep
|
|
|
|
attach isabeep at pcppi
|
|
|
|
file arch/prep/isa/isabeep.c
|
|
|
|
|
|
|
|
# Floppy disk controller
|
2000-11-28 00:50:13 +03:00
|
|
|
device fdc { drive = -1 }: isadma
|
|
|
|
file dev/isa/fd.c fdc needs-flag
|
|
|
|
|
|
|
|
attach fdc at isa with fdc_isa
|
|
|
|
file dev/isa/fdc_isa.c fdc_isa
|
|
|
|
# Floppy disk controller
|
|
|
|
device fd: disk
|
2000-02-29 18:21:20 +03:00
|
|
|
attach fd at fdc
|
|
|
|
major {fd = 2}
|
|
|
|
|
|
|
|
# Game adapter (joystick)
|
|
|
|
device joy
|
|
|
|
file arch/prep/isa/joy.c joy needs-flag
|
|
|
|
|
|
|
|
attach joy at isa with joy_isa
|
|
|
|
file arch/prep/isa/joy_isa.c joy_isa
|
|
|
|
|
2000-12-07 02:42:34 +03:00
|
|
|
device paud { }: audio, isadma, ad1848, auconv
|
|
|
|
attach paud at isa with paud_isa
|
|
|
|
file arch/prep/isa/paud_isa.c paud_isa
|
|
|
|
|
2000-02-29 18:21:20 +03:00
|
|
|
# network devices MII bus
|
|
|
|
include "dev/mii/files.mii"
|
|
|
|
|
2000-06-08 17:16:23 +04:00
|
|
|
# USB drivers
|
|
|
|
include "dev/usb/files.usb"
|
|
|
|
|
2000-11-22 11:55:35 +03:00
|
|
|
# PCMCIA drivers/support
|
|
|
|
defopt PCIC_ISA_ALLOC_IOBASE
|
|
|
|
defopt PCIC_ISA_ALLOC_IOSIZE
|
|
|
|
defopt PCIC_ISA_INTR_ALLOC_MASK
|
|
|
|
|
|
|
|
device pcic: pcmciabus
|
|
|
|
file dev/ic/i82365.c pcic
|
|
|
|
attach pcic at isa with pcic_isa
|
|
|
|
file dev/isa/i82365_isa.c pcic_isa
|
|
|
|
file dev/isa/i82365_isasubr.c pcic_isa
|
|
|
|
|
|
|
|
include "dev/pcmcia/files.pcmcia"
|