pci_machdep.c revision 1.2
1/* $NetBSD: pci_machdep.c,v 1.2 2002/03/18 01:21:13 simonb Exp $ */ 2 3#include <sys/param.h> 4#include <sys/device.h> 5 6#define _MIPS_BUS_DMA_PRIVATE 7#include <machine/bus.h> 8 9/* 10 * PCI doesn't have any special needs; just use 11 * the generic versions of these functions. 12 */ 13struct mips_bus_dma_tag pci_bus_dma_tag = { 14 NULL, /* cookie */ 15 0, /* _wbase */ 16 0, /* _physbase */ 17 0, /* _wsize */ 18 _bus_dmamap_create, 19 _bus_dmamap_destroy, 20 _bus_dmamap_load, 21 _bus_dmamap_load_mbuf, 22 _bus_dmamap_load_uio, 23 _bus_dmamap_load_raw, 24 _bus_dmamap_unload, 25 _bus_dmamap_sync, 26 _bus_dmamem_alloc, 27 _bus_dmamem_free, 28 _bus_dmamem_map, 29 _bus_dmamem_unmap, 30 _bus_dmamem_mmap, 31}; 32