18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * sun3ints.h -- Linux/Sun3 interrupt handling code definitions 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * Erik Verbruggen (erik@bigmama.xtdnet.nl) 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * This file is subject to the terms and conditions of the GNU General Public 78c2ecf20Sopenharmony_ci * License. See the file COPYING in the main directory of this archive for 88c2ecf20Sopenharmony_ci * more details. 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci#ifndef SUN3INTS_H 128c2ecf20Sopenharmony_ci#define SUN3INTS_H 138c2ecf20Sopenharmony_ci 148c2ecf20Sopenharmony_ci#include <linux/types.h> 158c2ecf20Sopenharmony_ci#include <linux/interrupt.h> 168c2ecf20Sopenharmony_ci#include <asm/intersil.h> 178c2ecf20Sopenharmony_ci#include <asm/oplib.h> 188c2ecf20Sopenharmony_ci#include <asm/traps.h> 198c2ecf20Sopenharmony_ci#include <asm/irq.h> 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci#define SUN3_INT_VECS 192 228c2ecf20Sopenharmony_ci 238c2ecf20Sopenharmony_civoid sun3_enable_irq(unsigned int irq); 248c2ecf20Sopenharmony_civoid sun3_disable_irq(unsigned int irq); 258c2ecf20Sopenharmony_ciextern void sun3_init_IRQ (void); 268c2ecf20Sopenharmony_ciextern void sun3_enable_interrupts (void); 278c2ecf20Sopenharmony_ciextern void sun3_disable_interrupts (void); 288c2ecf20Sopenharmony_ciextern volatile unsigned char* sun3_intreg; 298c2ecf20Sopenharmony_ci 308c2ecf20Sopenharmony_ci/* master list of VME vectors -- don't fuck with this */ 318c2ecf20Sopenharmony_ci#define SUN3_VEC_FLOPPY (IRQ_USER+0) 328c2ecf20Sopenharmony_ci#define SUN3_VEC_VMESCSI0 (IRQ_USER+0) 338c2ecf20Sopenharmony_ci#define SUN3_VEC_VMESCSI1 (IRQ_USER+1) 348c2ecf20Sopenharmony_ci#define SUN3_VEC_CG (IRQ_USER+104) 358c2ecf20Sopenharmony_ci 368c2ecf20Sopenharmony_ci 378c2ecf20Sopenharmony_ci#endif /* SUN3INTS_H */ 38