isc.h 803 B

123456789101112131415161718192021222324252627
  1. #ifndef _ASM_S390_ISC_H
  2. #define _ASM_S390_ISC_H
  3. #include <linux/types.h>
  4. /*
  5. * I/O interruption subclasses used by drivers.
  6. * Please add all used iscs here so that it is possible to distribute
  7. * isc usage between drivers.
  8. * Reminder: 0 is highest priority, 7 lowest.
  9. */
  10. #define MAX_ISC 7
  11. /* Regular I/O interrupts. */
  12. #define IO_SCH_ISC 3 /* regular I/O subchannels */
  13. #define CONSOLE_ISC 1 /* console I/O subchannel */
  14. #define CHSC_SCH_ISC 7 /* CHSC subchannels */
  15. /* Adapter interrupts. */
  16. #define QDIO_AIRQ_ISC IO_SCH_ISC /* I/O subchannel in qdio mode */
  17. #define AP_ISC 6 /* adjunct processor (crypto) devices */
  18. /* Functions for registration of I/O interruption subclasses */
  19. void isc_register(unsigned int isc);
  20. void isc_unregister(unsigned int isc);
  21. #endif /* _ASM_S390_ISC_H */