2003-03-24 20:02:14 +03:00
|
|
|
# $NetBSD: files.discovery,v 1.3 2003/03/24 17:02:14 matt Exp $
|
2003-03-06 01:08:18 +03:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2003-03-24 20:02:14 +03:00
|
|
|
defparam opt_marvell.h MPSC_CONSOLE
|
2003-03-06 01:08:18 +03:00
|
|
|
defparam opt_marvell.h GT_MPSC_DEFAULT_BAUD_RATE
|
|
|
|
defparam opt_marvell.h GT_MPP_INTERRUPTS GT_MPP_WATCHDOG GT_BASE
|
2003-03-24 20:02:14 +03:00
|
|
|
defparam opt_marvell.h GT_MPSC_FREQUENCY GT_MPSC_CLOCK_SOURCE
|
2003-03-06 01:08:18 +03:00
|
|
|
|
|
|
|
define gt { [unit = -1] }
|
2003-03-16 10:05:33 +03:00
|
|
|
device gt: gt
|
2003-03-06 01:08:18 +03:00
|
|
|
file dev/marvell/gt.c gt
|
|
|
|
|
|
|
|
# PCI bus
|
2003-03-16 10:05:33 +03:00
|
|
|
device gtpci: isabus, pcibus
|
2003-03-06 01:08:18 +03:00
|
|
|
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
|
2003-03-16 10:05:33 +03:00
|
|
|
|
|
|
|
define obio { [offset=-1], [size=0], [irq=-1] }
|
|
|
|
device obio: obio
|
|
|
|
attach obio at gt
|
|
|
|
file dev/marvell/obio.c obio
|