1*95e1ffb1Schristos /* $NetBSD: iocvar.h,v 1.2 2005/12/11 12:18:53 christos Exp $ */ 2aa10d020Ssekiya 3aa10d020Ssekiya /* 4aa10d020Ssekiya * Copyright (c) 2003 Christopher Sekiya 5aa10d020Ssekiya * All rights reserved. 6aa10d020Ssekiya * 7aa10d020Ssekiya * Redistribution and use in source and binary forms, with or without 8aa10d020Ssekiya * modification, are permitted provided that the following conditions 9aa10d020Ssekiya * are met: 10aa10d020Ssekiya * 1. Redistributions of source code must retain the above copyright 11aa10d020Ssekiya * notice, this list of conditions and the following disclaimer. 12aa10d020Ssekiya * 2. Redistributions in binary form must reproduce the above copyright 13aa10d020Ssekiya * notice, this list of conditions and the following disclaimer in the 14aa10d020Ssekiya * documentation and/or other materials provided with the distribution. 15aa10d020Ssekiya * 3. All advertising materials mentioning features or use of this software 16aa10d020Ssekiya * must display the following acknowledgement: 17aa10d020Ssekiya * This product includes software developed for the 18aa10d020Ssekiya * NetBSD Project. See http://www.NetBSD.org/ for 19aa10d020Ssekiya * information about NetBSD. 20aa10d020Ssekiya * 4. The name of the author may not be used to endorse or promote products 21aa10d020Ssekiya * derived from this software without specific prior written permission. 22aa10d020Ssekiya * 23aa10d020Ssekiya * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 24aa10d020Ssekiya * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 25aa10d020Ssekiya * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 26aa10d020Ssekiya * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 27aa10d020Ssekiya * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 28aa10d020Ssekiya * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 29aa10d020Ssekiya * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 30aa10d020Ssekiya * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 31aa10d020Ssekiya * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 32aa10d020Ssekiya * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 33aa10d020Ssekiya */ 34aa10d020Ssekiya 35aa10d020Ssekiya struct ioc_attach_args { 36aa10d020Ssekiya bus_space_tag_t iaa_st; 37aa10d020Ssekiya bus_space_handle_t iaa_sh; 38aa10d020Ssekiya bus_dma_tag_t iaa_dmat; 39aa10d020Ssekiya 40aa10d020Ssekiya long iaa_offset; 41aa10d020Ssekiya int iaa_intr; 42aa10d020Ssekiya }; 43