1 /* $NetBSD: rmixl_obiovar.h,v 1.1.2.4 2009/11/09 10:05:50 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/bus_dma.h> 8 #include <mips/pci_machdep.h> 9 10 struct obio_attach_args { 11 bus_space_tag_t obio_el_bst; 12 bus_space_tag_t obio_eb_bst; 13 bus_addr_t obio_addr; 14 bus_size_t obio_size; 15 int obio_intr; 16 unsigned int obio_mult; 17 bus_dma_tag_t obio_29bit_dmat; 18 bus_dma_tag_t obio_32bit_dmat; 19 bus_dma_tag_t obio_64bit_dmat; 20 }; 21 22 typedef struct obio_softc { 23 device_t sc_dev; 24 bus_space_tag_t sc_el_bst; 25 bus_space_tag_t sc_eb_bst; 26 bus_dma_tag_t sc_29bit_dmat; 27 bus_dma_tag_t sc_32bit_dmat; 28 bus_dma_tag_t sc_64bit_dmat; 29 bus_addr_t sc_base; 30 bus_size_t sc_size; 31 } obio_softc_t; 32 33 #endif /* _MIPS_OMAP_RMIXL_OBIOVAR_H_ */ 34