1 /* $NetBSD: rmixl_obiovar.h,v 1.1.2.2 2009/09/13 07:00:30 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_bst; 11 bus_addr_t obio_addr; 12 bus_size_t obio_size; 13 int obio_intr; 14 unsigned int obio_mult; 15 bus_dma_tag_t obio_dmat; 16 }; 17 18 typedef struct obio_softc { 19 struct device sc_dev; 20 bus_dma_tag_t sc_dmat; 21 bus_space_tag_t sc_bst; 22 bus_space_handle_t sc_bsh; 23 bus_addr_t sc_base; 24 bus_size_t sc_size; 25 26 /* Bus space, DMA, and PCI tags for the PCI bus. */ 27 bus_space_handle_t sc_pcicfg_ioh; 28 #ifdef NOTYET 29 struct XXX_bus_dma_tag sc_pci_dmat; 30 struct XXX_pci_chipset sc_pci_chipset; 31 #endif 32 } obio_softc_t; 33 34 extern struct mips_bus_space rmixl_bus_mbst; 35 extern struct mips_bus_dma_tag rmixl_bus_mdt; 36 37 38 #endif /* _MIPS_OMAP_RMIXL_OBIOVAR_H_ */ 39