2002-02-02 21:37:38 +03:00
|
|
|
# $NetBSD: files.arm32,v 1.134 2002/02/02 18:37:42 jdolecek Exp $
|
1996-02-01 02:14:53 +03:00
|
|
|
#
|
|
|
|
# First try for arm-specific configuration info
|
|
|
|
#
|
|
|
|
|
|
|
|
maxpartitions 8
|
|
|
|
maxusers 2 8 64
|
|
|
|
|
1998-07-06 06:35:34 +04:00
|
|
|
# COMPAT_OLD_OFW for SHARKs
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag COMPAT_OLD_OFW
|
1998-07-06 06:35:34 +04:00
|
|
|
|
1998-07-06 04:41:17 +04:00
|
|
|
# Maintain Interrupt statistics
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag IRQSTATS
|
1998-07-06 04:41:17 +04:00
|
|
|
|
|
|
|
# X server support in console drivers
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag XSERVER
|
1998-07-06 04:41:17 +04:00
|
|
|
|
2001-02-18 03:54:02 +03:00
|
|
|
# Bootloader options (COMPAT... to be dropped ASAP)
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag COMPAT_OLD_BOOTLOADER
|
2001-02-18 03:54:02 +03:00
|
|
|
|
2000-03-06 06:15:46 +03:00
|
|
|
# Architectures and core logic
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag NETWINDER
|
2000-03-06 06:15:46 +03:00
|
|
|
|
1998-09-06 06:28:58 +04:00
|
|
|
define todservice {}
|
|
|
|
|
1998-09-22 05:45:47 +04:00
|
|
|
#
|
|
|
|
# ISA and mixed ISA+EISA or ISA+PCI drivers
|
|
|
|
#
|
|
|
|
include "dev/isa/files.isa"
|
1996-08-21 23:56:00 +04:00
|
|
|
|
2001-03-20 21:20:53 +03:00
|
|
|
# Include WSCONS stuff
|
|
|
|
include "dev/wscons/files.wscons"
|
|
|
|
include "dev/rasops/files.rasops"
|
|
|
|
include "dev/wsfont/files.wsfont"
|
|
|
|
|
1998-09-22 04:37:51 +04:00
|
|
|
#
|
|
|
|
# Machine-independent ATA drivers
|
|
|
|
#
|
|
|
|
include "dev/ata/files.ata"
|
1998-06-13 03:21:53 +04:00
|
|
|
major {wd = 16}
|
1998-09-22 05:45:47 +04:00
|
|
|
|
1998-06-13 03:21:53 +04:00
|
|
|
# Common OFW files
|
1998-07-31 01:58:48 +04:00
|
|
|
include "dev/ofw/files.ofw"
|
1998-06-13 03:21:53 +04:00
|
|
|
attach ofbus at root with ofbus_root
|
|
|
|
file arch/arm32/ofw/ofw.c ofw
|
|
|
|
file arch/arm32/ofw/openfirm.c ofw
|
|
|
|
file arch/arm32/ofw/oftodclock.c ofw & (shark | ofwgencfg)
|
|
|
|
|
2001-06-11 15:56:57 +04:00
|
|
|
# OFW console initialization
|
|
|
|
file arch/arm32/ofw/consinit.c ofw
|
2001-11-24 04:11:51 +03:00
|
|
|
file dev/cninit.c ofw
|
2001-06-11 15:56:57 +04:00
|
|
|
|
1998-09-22 05:45:47 +04:00
|
|
|
# ISA DMA glue
|
1998-07-08 08:51:12 +04:00
|
|
|
file arch/arm32/isa/isadma_machdep.c isadma
|
|
|
|
|
2002-02-02 21:37:38 +03:00
|
|
|
# Game adapter (joystick)
|
|
|
|
file arch/arm32/isa/joy_timer.c joy
|
1998-08-20 10:28:18 +04:00
|
|
|
|
1998-06-13 03:21:53 +04:00
|
|
|
# OFW ISA bus driver.
|
1998-07-31 01:58:48 +04:00
|
|
|
include "dev/ofisa/files.ofisa"
|
1998-06-13 03:21:53 +04:00
|
|
|
file arch/arm32/ofw/ofisa_machdep.c ofisa
|
|
|
|
file arch/arm32/ofw/com_ofisa_machdep.c com_ofisa
|
|
|
|
file arch/arm32/ofw/com_ofisa_consolehack.c com_ofisa # XXX
|
1998-08-15 06:59:01 +04:00
|
|
|
file arch/arm32/ofw/if_cs_ofisa_machdep.c cs_ofisa
|
1998-06-13 03:21:53 +04:00
|
|
|
file arch/arm32/ofw/lpt_ofisa_machdep.c lpt_ofisa
|
|
|
|
file arch/arm32/ofw/wdc_ofisa_machdep.c wdc_ofisa
|
|
|
|
|
|
|
|
# Glue for OFW ISA device attachment
|
|
|
|
device ofisapc {}
|
|
|
|
attach ofisapc at ofbus
|
|
|
|
file arch/arm32/ofw/ofisapc.c pc & ofw
|
|
|
|
device ofisascr {}
|
|
|
|
attach ofisascr at ofisa
|
|
|
|
file arch/arm32/ofw/ofisascr.c scr & ofw
|
|
|
|
|
|
|
|
device ofrom
|
|
|
|
attach ofrom at ofbus
|
|
|
|
file arch/arm32/ofw/ofrom.c ofrom needs-flag
|
1997-10-15 01:59:28 +04:00
|
|
|
|
|
|
|
# Memory disk driver
|
|
|
|
file arch/arm32/dev/md_hooks.c md & memory_disk_hooks
|
2001-11-20 15:56:17 +03:00
|
|
|
major {md = 18}
|
1997-10-15 01:59:28 +04:00
|
|
|
|
2000-03-14 18:56:51 +03:00
|
|
|
# RAIDframe
|
|
|
|
major {raid = 71}
|
|
|
|
|
1998-06-13 03:21:53 +04:00
|
|
|
# attribute used to represent the "keyboard controller" on the shark
|
|
|
|
# XXX should be a real device
|
1998-10-08 05:50:28 +04:00
|
|
|
define spckbd { [irq = -1], [port = -1] }
|
1998-06-13 03:21:53 +04:00
|
|
|
|
1997-10-15 01:59:28 +04:00
|
|
|
# PS/2 mouse device
|
1999-01-24 01:18:41 +03:00
|
|
|
device opms: tty
|
2001-11-24 04:15:36 +03:00
|
|
|
file arch/arm32/shark/pms.c opms needs-flag
|
1999-01-24 01:18:41 +03:00
|
|
|
|
|
|
|
attach opms at spckbd with opms
|
1996-02-01 02:14:53 +03:00
|
|
|
|
1998-02-17 01:12:45 +03:00
|
|
|
device todclock
|
1998-09-06 06:28:58 +04:00
|
|
|
attach todclock at todservice
|
1997-10-15 01:59:28 +04:00
|
|
|
file arch/arm32/dev/todclock.c todclock needs-count
|
|
|
|
|
1996-02-01 02:14:53 +03:00
|
|
|
#
|
|
|
|
# Machine-independent SCSI drivers
|
|
|
|
#
|
|
|
|
|
1998-07-31 01:58:48 +04:00
|
|
|
include "dev/scsipi/files.scsipi"
|
2001-11-20 15:56:17 +03:00
|
|
|
major {sd = 24}
|
|
|
|
major {cd = 26}
|
1996-02-01 02:14:53 +03:00
|
|
|
|
1997-10-15 01:59:28 +04:00
|
|
|
# Generic MD files
|
1996-02-01 02:14:53 +03:00
|
|
|
file arch/arm32/arm32/autoconf.c
|
|
|
|
file arch/arm32/arm32/conf.c
|
|
|
|
|
2001-03-14 17:39:45 +03:00
|
|
|
file arch/arm/arm/disksubr.c disk
|
|
|
|
file arch/arm/arm/disksubr_acorn.c disk
|
|
|
|
file arch/arm/arm/disksubr_mbr.c disk
|
|
|
|
|
2001-11-26 23:33:43 +03:00
|
|
|
file arch/arm/arm32/intr.c
|
|
|
|
file arch/arm/arm32/spl.S
|
|
|
|
|
1998-06-13 03:21:53 +04:00
|
|
|
# Shark specific files
|
|
|
|
file arch/arm32/shark/shark_machdep.c shark
|
2001-11-20 15:56:17 +03:00
|
|
|
file arch/arm32/shark/sequoia.c shark
|
2001-12-20 04:20:21 +03:00
|
|
|
file arch/arm32/shark/shark_fiq.S shark
|
2001-11-20 15:56:17 +03:00
|
|
|
file arch/arm32/shark/hat.c shark
|
1998-06-13 03:21:53 +04:00
|
|
|
file arch/arm32/isa/isa_irqhandler.c shark
|
|
|
|
file arch/arm32/isa/clock.c shark
|
|
|
|
file arch/arm32/isa/isa_irq.S shark
|
|
|
|
file arch/arm32/isa/isa_shark_machdep.c shark
|
1998-10-05 05:01:43 +04:00
|
|
|
file arch/arm32/isa/isa_io.c shark | isa
|
|
|
|
file arch/arm32/isa/isa_io_asm.S shark | isa
|
1998-06-13 03:21:53 +04:00
|
|
|
|
|
|
|
# OFWGENCFG specific files
|
|
|
|
file arch/arm32/ofw/ofw_irq.S ofwgencfg
|
|
|
|
file arch/arm32/ofw/ofw_irqhandler.c ofwgencfg
|
|
|
|
file arch/arm32/ofw/ofwgencfg_clock.c ofwgencfg
|
|
|
|
file arch/arm32/ofw/ofwgencfg_machdep.c ofwgencfg
|
|
|
|
|
|
|
|
# National Semiconductor PC97307VUL SuperIO chip configuration routines
|
|
|
|
define nsio
|
|
|
|
file arch/arm32/shark/ns87307.c nsio & shark
|
|
|
|
|
|
|
|
# 8042 microcontroller routines for keyboard and mouse
|
|
|
|
define i8042
|
|
|
|
file arch/arm32/shark/i8042.c i8042
|
|
|
|
|
1999-07-07 04:05:28 +04:00
|
|
|
defpseudo profiler: disk
|
1998-06-13 03:21:53 +04:00
|
|
|
file arch/arm32/shark/profile.c profiler needs-flag
|
|
|
|
|
|
|
|
# SHARK pc console
|
2001-11-20 15:56:17 +03:00
|
|
|
device pc: tty, spckbd, i8042
|
|
|
|
attach pc at ofisapc
|
1998-06-13 03:21:53 +04:00
|
|
|
file arch/arm32/shark/pccons.c pc & ofw needs-flag
|
|
|
|
|
|
|
|
# Smart Card Reader
|
2001-11-20 15:56:17 +03:00
|
|
|
device scr: tty
|
1998-06-13 03:21:53 +04:00
|
|
|
file arch/arm32/shark/scr.c scr needs-flag
|
2001-11-20 15:56:17 +03:00
|
|
|
attach scr at ofisascr
|
1998-07-31 08:50:01 +04:00
|
|
|
|
1998-09-22 05:45:47 +04:00
|
|
|
# ISA Plug 'n Play autoconfiguration glue.
|
|
|
|
file arch/arm32/isa/isapnp_machdep.c isapnp
|
|
|
|
|
1998-09-06 06:28:58 +04:00
|
|
|
# EBSA285/CATS class board
|
|
|
|
|
1998-10-05 04:44:45 +04:00
|
|
|
device sysbeep
|
|
|
|
attach sysbeep at pcppi with sysbeep_isa
|
|
|
|
file arch/arm32/isa/sysbeep_isa.c sysbeep_isa
|
|
|
|
|
1998-10-05 05:21:39 +04:00
|
|
|
device dsrtc: todservice
|
|
|
|
attach dsrtc at isa
|
|
|
|
file arch/arm32/isa/dsrtc.c dsrtc
|
|
|
|
|
2000-11-08 22:48:51 +03:00
|
|
|
# Machine-independent I2O drivers.
|
|
|
|
include "dev/i2o/files.i2o"
|
|
|
|
|
1998-09-06 06:28:58 +04:00
|
|
|
# PCI devices
|
|
|
|
|
2001-06-09 14:29:11 +04:00
|
|
|
include "arch/arm/conf/files.footbridge"
|
|
|
|
|
1998-09-06 06:28:58 +04:00
|
|
|
#
|
|
|
|
# Include PCI config
|
|
|
|
#
|
|
|
|
include "dev/pci/files.pci"
|
|
|
|
|
|
|
|
# network devices MII bus
|
|
|
|
include "dev/mii/files.mii"
|
|
|
|
|
|
|
|
device pcib: isabus
|
|
|
|
attach pcib at pci
|
|
|
|
file arch/arm32/pci/pcib.c pcib
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
file arch/arm32/pci/pciide_machdep.c pciide
|
|
|
|
|
|
|
|
# Include USB stuff
|
|
|
|
include "dev/usb/files.usb"
|
|
|
|
|
1998-10-08 05:50:28 +04:00
|
|
|
include "dev/pckbc/files.pckbc"
|