files.discovery revision 1.3
1#	$NetBSD: files.discovery,v 1.3 2003/03/24 17:02:14 matt Exp $
2#
3# Config file and device description for machine-independent support for
4# the Moverll (formerly Galileo Technologies) Discovery system controllers.
5#
6# Ports that include this must also supply some glue code of their own.
7# Notably:
8#	* devices here are indirectly configured by the configuration
9# 	  file since difference systems will be configured somewhat
10#	  differently,
11#	* The Multi-Purpose Port (MPP) is configured differently on
12#	  different systems,
13#	* CPU attachment is handled in largely a machine-independent
14#	  fashion,
15#	* The interrupts on different systems will be handled differently.
16#
17# Systems with multiple GT controllers are not currently handled by this
18# code.
19
20defparam	opt_marvell.h	MPSC_CONSOLE
21defparam	opt_marvell.h	GT_MPSC_DEFAULT_BAUD_RATE
22defparam	opt_marvell.h	GT_MPP_INTERRUPTS GT_MPP_WATCHDOG GT_BASE
23defparam	opt_marvell.h	GT_MPSC_FREQUENCY GT_MPSC_CLOCK_SOURCE
24
25define	gt { [unit = -1] }
26device	gt: gt
27file	dev/marvell/gt.c			gt
28
29# PCI bus
30device	gtpci: isabus, pcibus
31attach	gtpci at gt
32file	dev/marvell/gtpci.c			gt & pci
33
34# Fast ethernet
35device	gfe: ether, ifnet, arp, mii
36attach	gfe at gt
37file	dev/marvell/if_gfe.c			gfe
38
39# Serial controller
40device	gtmpsc: tty
41attach	gtmpsc at gt
42file	dev/marvell/gtmpsc.c			gtmpsc needs-flag
43
44# DMA controller
45device	gtidma
46attach	gtidma at gt
47file	dev/marvell/gtidma.c			gtidma
48
49define	obio { [offset=-1], [size=0], [irq=-1] }
50device	obio: obio
51attach	obio at gt
52file	dev/marvell/obio.c			obio
53