/* $NetBSD: bus.h,v 1.11 2003/07/28 17:35:54 thorpej Exp $ */12/*-3* SPDX-License-Identifier: BSD-2-Clause4*5* Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.6* All rights reserved.7*8* This code is derived from software contributed to The NetBSD Foundation9* by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,10* NASA Ames Research Center.11*12* Redistribution and use in source and binary forms, with or without13* modification, are permitted provided that the following conditions14* are met:15* 1. Redistributions of source code must retain the above copyright16* notice, this list of conditions and the following disclaimer.17* 2. Redistributions in binary form must reproduce the above copyright18* notice, this list of conditions and the following disclaimer in the19* documentation and/or other materials provided with the distribution.20*21* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS22* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED23* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR24* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS25* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR26* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF27* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS28* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN29* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)30* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE31* POSSIBILITY OF SUCH DAMAGE.32*/3334/*-35* Copyright (c) 1996 Charles M. Hannum. All rights reserved.36* Copyright (c) 1996 Christopher G. Demetriou. All rights reserved.37*38* Redistribution and use in source and binary forms, with or without39* modification, are permitted provided that the following conditions40* are met:41* 1. Redistributions of source code must retain the above copyright42* notice, this list of conditions and the following disclaimer.43* 2. Redistributions in binary form must reproduce the above copyright44* notice, this list of conditions and the following disclaimer in the45* documentation and/or other materials provided with the distribution.46* 3. All advertising materials mentioning features or use of this software47* must display the following acknowledgement:48* This product includes software developed by Christopher G. Demetriou49* for the NetBSD Project.50* 4. The name of the author may not be used to endorse or promote products51* derived from this software without specific prior written permission52*53* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR54* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES55* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.56* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,57* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT58* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,59* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY60* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT61* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF62* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.63*/6465#ifndef _ARM_BUS_DMA_H66#define _ARM_BUS_DMA_H6768#include <sys/bus_dma.h>69#include <sys/bus_dma_internal.h>7071/* Bus Space DMA macros */7273#define BUS_DMA_TAG_VALID(t) ((t) != (bus_dma_tag_t)0)7475#endif /* _ARM_BUS_DMA_H */767778