NetBSD/sys/dev/marvell/files.discovery

53 lines
1.5 KiB
Plaintext
Raw Normal View History

# $NetBSD: files.discovery,v 1.3 2003/03/24 17:02:14 matt Exp $
#
# Config file and device description for machine-independent support for
# the Moverll (formerly Galileo Technologies) Discovery system controllers.
#
# Ports that include this must also supply some glue code of their own.
# Notably:
# * devices here are indirectly configured by the configuration
# file since difference systems will be configured somewhat
# differently,
# * The Multi-Purpose Port (MPP) is configured differently on
# different systems,
# * CPU attachment is handled in largely a machine-independent
# fashion,
# * The interrupts on different systems will be handled differently.
#
# Systems with multiple GT controllers are not currently handled by this
# code.
defparam opt_marvell.h MPSC_CONSOLE
defparam opt_marvell.h GT_MPSC_DEFAULT_BAUD_RATE
defparam opt_marvell.h GT_MPP_INTERRUPTS GT_MPP_WATCHDOG GT_BASE
defparam opt_marvell.h GT_MPSC_FREQUENCY GT_MPSC_CLOCK_SOURCE
define gt { [unit = -1] }
device gt: gt
file dev/marvell/gt.c gt
# PCI bus
device gtpci: isabus, pcibus
attach gtpci at gt
file dev/marvell/gtpci.c gt & pci
# Fast ethernet
device gfe: ether, ifnet, arp, mii
attach gfe at gt
file dev/marvell/if_gfe.c gfe
# Serial controller
device gtmpsc: tty
attach gtmpsc at gt
file dev/marvell/gtmpsc.c gtmpsc needs-flag
# DMA controller
device gtidma
attach gtidma at gt
file dev/marvell/gtidma.c gtidma
define obio { [offset=-1], [size=0], [irq=-1] }
device obio: obio
attach obio at gt
file dev/marvell/obio.c obio