aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390/isc.h
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2008-07-14 03:58:58 -0400
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-07-14 04:02:10 -0400
commit3a3fc29a6d0626fb4897b7391c4e956efbacd394 (patch)
tree7107a7883f44c6350d8d85bab7a1871b6cb342e6 /include/asm-s390/isc.h
parent75784c00876c88ca6e955c39cbb5d47cf408fd3c (diff)
[S390] cio: Introduce abstract isc definitions.
Replace the numeric values for I/O interruption subclass usage with abstract definitions and collect them all in asm/isc.h. This gives us a better overview of which iscs are actually used and makes it possible to better spread out isc usage in the future. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'include/asm-s390/isc.h')
-rw-r--r--include/asm-s390/isc.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/asm-s390/isc.h b/include/asm-s390/isc.h
new file mode 100644
index 000000000000..533a1372234a
--- /dev/null
+++ b/include/asm-s390/isc.h
@@ -0,0 +1,18 @@
1#ifndef _ASM_S390_ISC_H
2#define _ASM_S390_ISC_H
3
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
12/* Regular I/O interrupts. */
13#define IO_SCH_ISC 3 /* regular I/O subchannels */
14#define CONSOLE_ISC 1 /* console I/O subchannel */
15/* Adapter interrupts. */
16#define QDIO_AIRQ_ISC IO_SCH_ISC /* I/O subchannel in qdio mode */
17
18#endif /* _ASM_S390_ISC_H */