files.discovery revision 1.5 1 1.5 scw # $NetBSD: files.discovery,v 1.5 2003/05/17 08:27:58 scw 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.4 matt defparam opt_marvell.h GT_PCI0_MEMBASE GT_PCI0_MEMSIZE
25 1.4 matt defparam opt_marvell.h GT_PCI1_MEMBASE GT_PCI1_MEMSIZE
26 1.4 matt defparam opt_marvell.h GT_PCI0_IOBASE GT_PCI0_IOSIZE
27 1.4 matt defparam opt_marvell.h GT_PCI1_IOBASE GT_PCI1_IOSIZE
28 1.5 scw defflag opt_marvell.h GT_ECC
29 1.1 matt
30 1.1 matt define gt { [unit = -1] }
31 1.2 matt device gt: gt
32 1.1 matt file dev/marvell/gt.c gt
33 1.1 matt
34 1.1 matt # PCI bus
35 1.2 matt device gtpci: isabus, pcibus
36 1.1 matt attach gtpci at gt
37 1.1 matt file dev/marvell/gtpci.c gt & pci
38 1.1 matt
39 1.1 matt # Fast ethernet
40 1.1 matt device gfe: ether, ifnet, arp, mii
41 1.1 matt attach gfe at gt
42 1.1 matt file dev/marvell/if_gfe.c gfe
43 1.1 matt
44 1.1 matt # Serial controller
45 1.1 matt device gtmpsc: tty
46 1.1 matt attach gtmpsc at gt
47 1.1 matt file dev/marvell/gtmpsc.c gtmpsc needs-flag
48 1.1 matt
49 1.1 matt # DMA controller
50 1.1 matt device gtidma
51 1.1 matt attach gtidma at gt
52 1.1 matt file dev/marvell/gtidma.c gtidma
53 1.2 matt
54 1.2 matt define obio { [offset=-1], [size=0], [irq=-1] }
55 1.2 matt device obio: obio
56 1.2 matt attach obio at gt
57 1.2 matt file dev/marvell/obio.c obio
58