Home | History | Annotate | Line # | Download | only in rmi
rmixl_obiovar.h revision 1.1.2.8
      1 /*	$NetBSD: rmixl_obiovar.h,v 1.1.2.8 2010/03/21 21:26:45 cliff Exp $	*/
      2 
      3 #ifndef _MIPS_RMI_RMIXL_OBIOVAR_H_
      4 #define _MIPS_RMI_RMIXL_OBIOVAR_H_
      5 
      6 #include <dev/pci/pcivar.h>
      7 #include <mips/bus_dma.h>
      8 #include <mips/pci_machdep.h>
      9 
     10 struct obio_attach_args {
     11 	bus_space_tag_t	obio_eb_bst;
     12 	bus_space_tag_t	obio_el_bst;
     13 	bus_addr_t	obio_addr;
     14 	bus_size_t	obio_size;
     15 	int		obio_intr;
     16 	int		obio_tmsk;
     17 	unsigned int	obio_mult;
     18 	bus_dma_tag_t	obio_29bit_dmat;
     19 	bus_dma_tag_t	obio_32bit_dmat;
     20 	bus_dma_tag_t	obio_64bit_dmat;
     21 };
     22 
     23 typedef struct obio_softc {
     24 	device_t		sc_dev;
     25 	bus_space_tag_t		sc_eb_bst;
     26 	bus_space_tag_t		sc_el_bst;
     27 	bus_dma_tag_t		sc_29bit_dmat;
     28 	bus_dma_tag_t		sc_32bit_dmat;
     29 	bus_dma_tag_t		sc_64bit_dmat;
     30 	bus_addr_t		sc_base;
     31 	bus_size_t		sc_size;
     32 } obio_softc_t;
     33 
     34 #endif /* _MIPS_RMI_RMIXL_OBIOVAR_H_ */
     35