1 /* $NetBSD: rmixl_obiovar.h,v 1.2 2009/12/14 00:46:07 matt 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_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_29bit_dmat; 17 bus_dma_tag_t obio_32bit_dmat; 18 bus_dma_tag_t obio_64bit_dmat; 19 }; 20 21 typedef struct obio_softc { 22 device_t sc_dev; 23 bus_space_tag_t sc_bst; 24 bus_dma_tag_t sc_29bit_dmat; 25 bus_dma_tag_t sc_32bit_dmat; 26 bus_dma_tag_t sc_64bit_dmat; 27 bus_addr_t sc_base; 28 bus_size_t sc_size; 29 } obio_softc_t; 30 31 #endif /* _MIPS_RMI_RMIXL_OBIOVAR_H_ */ 32