Home | History | Annotate | Line # | Download | only in rmi
rmixl_obiovar.h revision 1.1.2.3
      1 /*	$NetBSD: rmixl_obiovar.h,v 1.1.2.3 2009/09/15 02:32:02 cliff Exp $	*/
      2 
      3 #ifndef _MIPS_RMIXL_OBIOVAR_H_
      4 #define _MIPS_RMIXL_OBIOVAR_H_
      5 
      6 #include <dev/pci/pcivar.h>
      7 #include <mips/pci_machdep.h>
      8 
      9 struct obio_attach_args {
     10 	bus_space_tag_t	obio_el_bst;
     11 	bus_space_tag_t	obio_eb_bst;
     12 	bus_addr_t	obio_addr;
     13 	bus_size_t	obio_size;
     14 	int		obio_intr;
     15 	unsigned int	obio_mult;
     16 	bus_dma_tag_t	obio_dmat;
     17 };
     18 
     19 typedef struct obio_softc {
     20 	struct device		sc_dev;
     21 	bus_space_tag_t		sc_el_bst;
     22 	bus_space_tag_t		sc_eb_bst;
     23 	bus_dma_tag_t		sc_lt4G_dmat;
     24 	bus_dma_tag_t		sc_ge4G_dmat;
     25 	bus_addr_t		sc_base;
     26 	bus_size_t		sc_size;
     27 
     28 	/* Bus space, DMA, and PCI tags for the PCI bus. */
     29 	bus_space_handle_t	sc_pcicfg_ioh;
     30 #ifdef NOTYET
     31 	struct XXX_bus_dma_tag sc_pci_dmat;
     32 	struct XXX_pci_chipset sc_pci_chipset;
     33 #endif
     34 } obio_softc_t;
     35 
     36 extern struct mips_bus_space   rmixl_bus_mbst;
     37 extern struct mips_bus_dma_tag rmixl_bus_mdt;
     38 
     39 
     40 #endif /* _MIPS_OMAP_RMIXL_OBIOVAR_H_ */
     41