sun3ints.h 989 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * sun3ints.h -- Linux/Sun3 interrupt handling code definitions
  3. *
  4. * Erik Verbruggen (erik@bigmama.xtdnet.nl)
  5. *
  6. * This file is subject to the terms and conditions of the GNU General Public
  7. * License. See the file COPYING in the main directory of this archive for
  8. * more details.
  9. */
  10. #ifndef SUN3INTS_H
  11. #define SUN3INTS_H
  12. #include <linux/types.h>
  13. #include <linux/interrupt.h>
  14. #include <asm/intersil.h>
  15. #include <asm/oplib.h>
  16. #include <asm/traps.h>
  17. #include <asm/irq.h>
  18. #define SUN3_INT_VECS 192
  19. void sun3_enable_irq(unsigned int irq);
  20. void sun3_disable_irq(unsigned int irq);
  21. extern void sun3_init_IRQ (void);
  22. extern void sun3_enable_interrupts (void);
  23. extern void sun3_disable_interrupts (void);
  24. extern volatile unsigned char* sun3_intreg;
  25. /* master list of VME vectors -- don't fuck with this */
  26. #define SUN3_VEC_FLOPPY (IRQ_USER+0)
  27. #define SUN3_VEC_VMESCSI0 (IRQ_USER+0)
  28. #define SUN3_VEC_VMESCSI1 (IRQ_USER+1)
  29. #define SUN3_VEC_CG (IRQ_USER+104)
  30. #endif /* SUN3INTS_H */