1 /* $NetBSD: pci_machdep.c,v 1.6 2011/07/01 18:46:35 dyoung Exp $ */ 2 3 #include <sys/cdefs.h> 4 __KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.6 2011/07/01 18:46:35 dyoung Exp $"); 5 6 #include <sys/param.h> 7 #include <sys/device.h> 8 9 #define _MIPS_BUS_DMA_PRIVATE 10 #include <sys/bus.h> 11 12 /* 13 * PCI doesn't have any special needs; just use 14 * the generic versions of these functions. 15 */ 16 struct mips_bus_dma_tag pci_bus_dma_tag = { 17 ._dmamap_ops = _BUS_DMAMAP_OPS_INITIALIZER, 18 ._dmamem_ops = _BUS_DMAMEM_OPS_INITIALIZER, 19 ._dmatag_ops = _BUS_DMATAG_OPS_INITIALIZER, 20 }; 21