diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-07-14 03:58:58 -0400 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2008-07-14 04:02:10 -0400 |
commit | 3a3fc29a6d0626fb4897b7391c4e956efbacd394 (patch) | |
tree | 7107a7883f44c6350d8d85bab7a1871b6cb342e6 /drivers/s390/cio/qdio.h | |
parent | 75784c00876c88ca6e955c39cbb5d47cf408fd3c (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 'drivers/s390/cio/qdio.h')
-rw-r--r-- | drivers/s390/cio/qdio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/cio/qdio.h b/drivers/s390/cio/qdio.h index c3df6b2c38b7..733934a166b1 100644 --- a/drivers/s390/cio/qdio.h +++ b/drivers/s390/cio/qdio.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #define _CIO_QDIO_H | 2 | #define _CIO_QDIO_H |
3 | 3 | ||
4 | #include <asm/page.h> | 4 | #include <asm/page.h> |
5 | #include <asm/isc.h> | ||
5 | 6 | ||
6 | #include "schid.h" | 7 | #include "schid.h" |
7 | 8 | ||
@@ -26,7 +27,7 @@ | |||
26 | */ | 27 | */ |
27 | #define IQDIO_FILL_LEVEL_TO_POLL 4 | 28 | #define IQDIO_FILL_LEVEL_TO_POLL 4 |
28 | 29 | ||
29 | #define TIQDIO_THININT_ISC 3 | 30 | #define TIQDIO_THININT_ISC QDIO_AIRQ_ISC |
30 | #define TIQDIO_DELAY_TARGET 0 | 31 | #define TIQDIO_DELAY_TARGET 0 |
31 | #define QDIO_BUSY_BIT_PATIENCE 100 /* in microsecs */ | 32 | #define QDIO_BUSY_BIT_PATIENCE 100 /* in microsecs */ |
32 | #define QDIO_BUSY_BIT_GIVE_UP 10000000 /* 10 seconds */ | 33 | #define QDIO_BUSY_BIT_GIVE_UP 10000000 /* 10 seconds */ |