Home | History | Annotate | Line # | Download | only in marvell
files.discovery revision 1.8
      1  1.8  drochner #	$NetBSD: files.discovery,v 1.8 2004/09/13 12:36:18 drochner Exp $
      2  1.1      matt #
      3  1.1      matt # Config file and device description for machine-independent support for
      4  1.7  nisimura # the Marvell (formerly Galileo Technology) 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.7  nisimura # 	  file since different 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.6       scw defflag 	opt_marvell.h	GT_PCI0_EXT_ARBITER GT_PCI1_EXT_ARBITER
     29  1.5       scw defflag 	opt_marvell.h	GT_ECC
     30  1.1      matt 
     31  1.1      matt define	gt { [unit = -1] }
     32  1.2      matt device	gt: gt
     33  1.1      matt file	dev/marvell/gt.c			gt
     34  1.1      matt 
     35  1.1      matt # PCI bus
     36  1.8  drochner device	gtpci: pcibus
     37  1.1      matt attach	gtpci at gt
     38  1.1      matt file	dev/marvell/gtpci.c			gt & pci
     39  1.1      matt 
     40  1.1      matt # Fast ethernet
     41  1.1      matt device	gfe: ether, ifnet, arp, mii
     42  1.1      matt attach	gfe at gt
     43  1.1      matt file	dev/marvell/if_gfe.c			gfe
     44  1.1      matt 
     45  1.1      matt # Serial controller
     46  1.1      matt device	gtmpsc: tty
     47  1.1      matt attach	gtmpsc at gt
     48  1.1      matt file	dev/marvell/gtmpsc.c			gtmpsc needs-flag
     49  1.1      matt 
     50  1.1      matt # DMA controller
     51  1.1      matt device	gtidma
     52  1.1      matt attach	gtidma at gt
     53  1.1      matt file	dev/marvell/gtidma.c			gtidma
     54  1.2      matt 
     55  1.2      matt define	obio { [offset=-1], [size=0], [irq=-1] }
     56  1.2      matt device	obio: obio
     57  1.2      matt attach	obio at gt
     58  1.2      matt file	dev/marvell/obio.c			obio
     59