pci_machdep.c revision 1.5
11.5Smatt/* $NetBSD: pci_machdep.c,v 1.5 2011/02/20 07:48:35 matt Exp $ */ 21.3Slukem 31.3Slukem#include <sys/cdefs.h> 41.5Smatt__KERNEL_RCSID(0, "$NetBSD: pci_machdep.c,v 1.5 2011/02/20 07:48:35 matt Exp $"); 51.1Ssimonb 61.1Ssimonb#include <sys/param.h> 71.1Ssimonb#include <sys/device.h> 81.1Ssimonb 91.2Ssimonb#define _MIPS_BUS_DMA_PRIVATE 101.1Ssimonb#include <machine/bus.h> 111.1Ssimonb 121.1Ssimonb/* 131.1Ssimonb * PCI doesn't have any special needs; just use 141.1Ssimonb * the generic versions of these functions. 151.1Ssimonb */ 161.2Ssimonbstruct mips_bus_dma_tag pci_bus_dma_tag = { 171.5Smatt ._dmamap_ops = _BUS_DMAMAP_OPS_INITIALIZER, 181.5Smatt ._dmamem_ops = _BUS_DMAMEM_OPS_INITIALIZER, 191.5Smatt ._dmatag_ops = _BUS_DMATAG_OPS_INITIALIZER, 201.1Ssimonb}; 21