isabrvar.h revision 1.4.4.1
11.4.4.1Srpaulo/* $NetBSD: isabrvar.h,v 1.4.4.1 2006/09/09 02:37:52 rpaulo Exp $ */ 21.1Ssoda/* $OpenBSD: isabus.c,v 1.15 1998/03/16 09:38:46 pefo Exp $ */ 31.1Ssoda/* NetBSD: isa.c,v 1.33 1995/06/28 04:30:51 cgd Exp */ 41.1Ssoda 51.1Ssoda/*- 61.2Sagc * Copyright (c) 1990 The Regents of the University of California. 71.2Sagc * All rights reserved. 81.2Sagc * 91.2Sagc * This code is derived from software contributed to Berkeley by 101.2Sagc * William Jolitz and Don Ahn. 111.2Sagc * 121.2Sagc * Redistribution and use in source and binary forms, with or without 131.2Sagc * modification, are permitted provided that the following conditions 141.2Sagc * are met: 151.2Sagc * 1. Redistributions of source code must retain the above copyright 161.2Sagc * notice, this list of conditions and the following disclaimer. 171.2Sagc * 2. Redistributions in binary form must reproduce the above copyright 181.2Sagc * notice, this list of conditions and the following disclaimer in the 191.2Sagc * documentation and/or other materials provided with the distribution. 201.2Sagc * 3. Neither the name of the University nor the names of its contributors 211.2Sagc * may be used to endorse or promote products derived from this software 221.2Sagc * without specific prior written permission. 231.2Sagc * 241.2Sagc * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 251.2Sagc * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 261.2Sagc * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 271.2Sagc * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 281.2Sagc * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 291.2Sagc * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 301.2Sagc * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 311.2Sagc * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 321.2Sagc * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 331.2Sagc * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 341.2Sagc * SUCH DAMAGE. 351.2Sagc * 361.2Sagc * @(#)isa.c 7.2 (Berkeley) 5/12/91 371.2Sagc */ 381.2Sagc 391.2Sagc/*- 401.1Ssoda * Copyright (c) 1995 Per Fogelstrom 411.1Ssoda * Copyright (c) 1993, 1994 Charles M. Hannum. 421.1Ssoda * 431.1Ssoda * This code is derived from software contributed to Berkeley by 441.1Ssoda * William Jolitz and Don Ahn. 451.1Ssoda * 461.1Ssoda * Redistribution and use in source and binary forms, with or without 471.1Ssoda * modification, are permitted provided that the following conditions 481.1Ssoda * are met: 491.1Ssoda * 1. Redistributions of source code must retain the above copyright 501.1Ssoda * notice, this list of conditions and the following disclaimer. 511.1Ssoda * 2. Redistributions in binary form must reproduce the above copyright 521.1Ssoda * notice, this list of conditions and the following disclaimer in the 531.1Ssoda * documentation and/or other materials provided with the distribution. 541.1Ssoda * 3. All advertising materials mentioning features or use of this software 551.1Ssoda * must display the following acknowledgement: 561.1Ssoda * This product includes software developed by the University of 571.1Ssoda * California, Berkeley and its contributors. 581.1Ssoda * 4. Neither the name of the University nor the names of its contributors 591.1Ssoda * may be used to endorse or promote products derived from this software 601.1Ssoda * without specific prior written permission. 611.1Ssoda * 621.1Ssoda * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 631.1Ssoda * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 641.1Ssoda * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 651.1Ssoda * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 661.1Ssoda * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 671.1Ssoda * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 681.1Ssoda * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 691.1Ssoda * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 701.1Ssoda * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 711.1Ssoda * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 721.1Ssoda * SUCH DAMAGE. 731.1Ssoda * 741.1Ssoda * @(#)isa.c 7.2 (Berkeley) 5/12/91 751.1Ssoda */ 761.1Ssoda 771.1Ssoda#define ICU_LEN 16 781.1Ssoda 791.1Ssodastruct isabr_softc { 801.1Ssoda struct device sc_dev; 811.1Ssoda struct arc_isa_bus arc_isa_cs; 821.1Ssoda struct arc_bus_dma_tag sc_dmat; 831.1Ssoda}; 841.1Ssoda 851.1Ssodastruct isabr_config { 861.1Ssoda int (*ic_intr_status)(void); 871.1Ssoda}; 881.1Ssoda 891.1Ssodaextern struct isabr_config *isabr_conf; 901.1Ssoda 911.1Ssodavoid isabrattach(struct isabr_softc *); 921.3Stsutsuiuint32_t isabr_iointr(uint32_t, struct clockframe *); 93