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