files.discovery revision 1.2
1# $NetBSD: files.discovery,v 1.2 2003/03/16 07:05:33 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 20defflag 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 23 24define gt { [unit = -1] } 25device gt: gt 26file dev/marvell/gt.c gt 27 28# PCI bus 29device gtpci: isabus, pcibus 30attach gtpci at gt 31file dev/marvell/gtpci.c gt & pci 32 33# Fast ethernet 34device gfe: ether, ifnet, arp, mii 35attach gfe at gt 36file dev/marvell/if_gfe.c gfe 37 38# Serial controller 39device gtmpsc: tty 40attach gtmpsc at gt 41file dev/marvell/gtmpsc.c gtmpsc needs-flag 42 43# DMA controller 44device gtidma 45attach gtidma at gt 46file dev/marvell/gtidma.c gtidma 47 48define obio { [offset=-1], [size=0], [irq=-1] } 49device obio: obio 50attach obio at gt 51file dev/marvell/obio.c obio 52