1143598Sscottl/*- 2143598Sscottl * Copyright (c) 2005 Scott Long 3143598Sscottl * All rights reserved. 4143598Sscottl * 5143598Sscottl * Redistribution and use in source and binary forms, with or without 6143598Sscottl * modification, are permitted provided that the following conditions 7143598Sscottl * are met: 8143598Sscottl * 1. Redistributions of source code must retain the above copyright 9143598Sscottl * notice, this list of conditions and the following disclaimer. 10143598Sscottl * 2. Redistributions in binary form must reproduce the above copyright 11143598Sscottl * notice, this list of conditions and the following disclaimer in the 12143598Sscottl * documentation and/or other materials provided with the distribution. 13143598Sscottl * 14143598Sscottl * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15143598Sscottl * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16143598Sscottl * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17143598Sscottl * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18143598Sscottl * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19143598Sscottl * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20143598Sscottl * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21143598Sscottl * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22143598Sscottl * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23143598Sscottl * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24143598Sscottl * SUCH DAMAGE. 25143598Sscottl */ 26143598Sscottl/* $FreeBSD$ */ 27143598Sscottl 28143598Sscottl#ifndef _POWERPC_BUS_DMA_H_ 29143598Sscottl#define _POWERPC_BUS_DMA_H_ 30143598Sscottl 31143598Sscottl#include <sys/bus_dma.h> 32143598Sscottl 33216154Snwhitehornstruct device; 34216154Snwhitehorn 35216154Snwhitehornint bus_dma_tag_set_iommu(bus_dma_tag_t, struct device *iommu, void *cookie); 36216154Snwhitehorn 37143598Sscottl#endif /* _POWERPC_BUS_DMA_H_ */ 38