isc.h 897 B

1234567891011121314151617181920212223242526272829
  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 EADM_SCH_ISC 4 /* EADM subchannels */
  15. #define CHSC_SCH_ISC 7 /* CHSC subchannels */
  16. /* Adapter interrupts. */
  17. #define QDIO_AIRQ_ISC IO_SCH_ISC /* I/O subchannel in qdio mode */
  18. #define PCI_ISC 2 /* PCI I/O subchannels */
  19. #define AP_ISC 6 /* adjunct processor (crypto) devices */
  20. /* Functions for registration of I/O interruption subclasses */
  21. void isc_register(unsigned int isc);
  22. void isc_unregister(unsigned int isc);
  23. #endif /* _ASM_S390_ISC_H */