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