1*768423b8Smartin /* $NetBSD: sbusvar.h,v 1.4 2014/03/31 11:25:49 martin Exp $ */ 2*768423b8Smartin 3*768423b8Smartin /*- 4*768423b8Smartin * Copyright (c) 2001 The NetBSD Foundation, Inc. 5*768423b8Smartin * All rights reserved. 6*768423b8Smartin * 7*768423b8Smartin * This code is derived from software contributed to The NetBSD Foundation 8*768423b8Smartin * by UCHIYAMA Yasushi. 9*768423b8Smartin * 10*768423b8Smartin * Redistribution and use in source and binary forms, with or without 11*768423b8Smartin * modification, are permitted provided that the following conditions 12*768423b8Smartin * are met: 13*768423b8Smartin * 1. Redistributions of source code must retain the above copyright 14*768423b8Smartin * notice, this list of conditions and the following disclaimer. 15*768423b8Smartin * 2. Redistributions in binary form must reproduce the above copyright 16*768423b8Smartin * notice, this list of conditions and the following disclaimer in the 17*768423b8Smartin * documentation and/or other materials provided with the distribution. 18*768423b8Smartin * 19*768423b8Smartin * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 20*768423b8Smartin * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 21*768423b8Smartin * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22*768423b8Smartin * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 23*768423b8Smartin * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24*768423b8Smartin * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25*768423b8Smartin * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26*768423b8Smartin * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27*768423b8Smartin * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28*768423b8Smartin * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29*768423b8Smartin * POSSIBILITY OF SUCH DAMAGE. 30*768423b8Smartin */ 31*768423b8Smartin 32*768423b8Smartin enum sbus_irq { 33*768423b8Smartin SBUS_IRQ_PCMCIA, 34*768423b8Smartin SBUS_IRQ_USB 35*768423b8Smartin }; 36*768423b8Smartin 37*768423b8Smartin struct sbus_attach_args { 38*768423b8Smartin /* none */ 39*768423b8Smartin }; 40*768423b8Smartin 41*768423b8Smartin void *sbus_intr_establish(enum sbus_irq, int (*)(void *), void *); 42*768423b8Smartin void sbus_intr_disestablish(void *); 43