diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-02-26 21:55:58 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-02-26 21:55:58 +0000 |
commit | f6eb98b82d9942ad94251820af6c67483e9e89b7 (patch) | |
tree | 9865b5a6418db66fd318bcd6392dd163dcdf532f /sys/arch/amiga/isa/ggbusvar.h | |
parent | bbc8bb4dfcc290c2e2b9556401f4892fb0ed30a8 (diff) |
Initial checkin of the Amiga ISA-kit
Diffstat (limited to 'sys/arch/amiga/isa/ggbusvar.h')
-rw-r--r-- | sys/arch/amiga/isa/ggbusvar.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/sys/arch/amiga/isa/ggbusvar.h b/sys/arch/amiga/isa/ggbusvar.h new file mode 100644 index 00000000000..1036b58411b --- /dev/null +++ b/sys/arch/amiga/isa/ggbusvar.h @@ -0,0 +1,50 @@ +/* $NetBSD: ggbusvar.h,v 1.1 1994/07/08 23:32:17 niklas Exp $ */ + +/* + * Copyright (c) 1994, 1995 Niklas Hallqvist + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by Niklas Hallqvist. + * 4. The name of the author may not be used to endorse or promote products + * derived from this software without specific prior written permission + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES + * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. + * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, + * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +#ifndef _GGBUSVAR_H_ +#define _GGBUSVAR_H_ + +struct ggbus_device { + struct device gd_dev; + struct zbus_args gd_zargs; + struct isa_link gd_link; + int (*gd_ifunc[16])(); + void *gd_iarg[16]; + int gd_ipri[16]; + int gd_imask; + struct isr gd_isr; +}; + +extern int ggdebug; + +#endif + + |