1 # $NetBSD: files.discovery,v 1.6.2.4 2005/02/04 11:46:29 skrll Exp $
3 # Config file and device description for machine-independent support for
4 # the Marvell (formerly Galileo Technology) Discovery system controllers.
6 # Ports that include this must also supply some glue code of their own.
8 # * devices here are indirectly configured by the configuration
9 # file since different systems will be configured somewhat
11 # * The Multi-Purpose Port (MPP) is configured differently on
13 # * CPU attachment is handled in largely a machine-independent
15 # * The interrupts on different systems will be handled differently.
17 # Systems with multiple GT controllers are not currently handled by this
20 defparam opt_marvell.h MPSC_CONSOLE
21 defparam opt_marvell.h GT_MPSC_DEFAULT_BAUD_RATE
22 defparam opt_marvell.h GT_MPP_INTERRUPTS GT_MPP_WATCHDOG GT_BASE
23 defparam opt_marvell.h GT_MPSC_FREQUENCY GT_MPSC_CLOCK_SOURCE
24 defparam opt_marvell.h GT_PCI0_MEMBASE GT_PCI0_MEMSIZE
25 defparam opt_marvell.h GT_PCI1_MEMBASE GT_PCI1_MEMSIZE
26 defparam opt_marvell.h GT_PCI0_IOBASE GT_PCI0_IOSIZE
27 defparam opt_marvell.h GT_PCI1_IOBASE GT_PCI1_IOSIZE
28 defflag opt_marvell.h GT_PCI0_EXT_ARBITER GT_PCI1_EXT_ARBITER
29 defflag opt_marvell.h GT_ECC
31 define gt { [unit = -1] }
33 file dev/marvell/gt.c gt
38 file dev/marvell/gtpci.c gt & pci
41 device gfe: ether, ifnet, arp, mii
43 file dev/marvell/if_gfe.c gfe
48 file dev/marvell/gtmpsc.c gtmpsc needs-flag
53 file dev/marvell/gtidma.c gtidma
55 define obio { [offset=-1], [size=0], [irq=-1] }
58 file dev/marvell/obio.c obio
62 file dev/marvell/gti2c.c gtiic