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/device.c | |
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/device.c')
-rw-r--r-- | drivers/s390/cio/device.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/cio/device.c b/drivers/s390/cio/device.c index 215d27dba9e2..67e7a3123954 100644 --- a/drivers/s390/cio/device.c +++ b/drivers/s390/cio/device.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include <asm/cio.h> | 22 | #include <asm/cio.h> |
23 | #include <asm/param.h> /* HZ */ | 23 | #include <asm/param.h> /* HZ */ |
24 | #include <asm/cmb.h> | 24 | #include <asm/cmb.h> |
25 | #include <asm/isc.h> | ||
25 | 26 | ||
26 | #include "chp.h" | 27 | #include "chp.h" |
27 | #include "cio.h" | 28 | #include "cio.h" |
@@ -1121,7 +1122,7 @@ static void io_subchannel_init_fields(struct subchannel *sch) | |||
1121 | else | 1122 | else |
1122 | sch->opm = chp_get_sch_opm(sch); | 1123 | sch->opm = chp_get_sch_opm(sch); |
1123 | sch->lpm = sch->schib.pmcw.pam & sch->opm; | 1124 | sch->lpm = sch->schib.pmcw.pam & sch->opm; |
1124 | sch->isc = cio_is_console(sch->schid) ? 1 : 3; | 1125 | sch->isc = cio_is_console(sch->schid) ? CONSOLE_ISC : IO_SCH_ISC; |
1125 | 1126 | ||
1126 | CIO_MSG_EVENT(6, "Detected device %04x on subchannel 0.%x.%04X" | 1127 | CIO_MSG_EVENT(6, "Detected device %04x on subchannel 0.%x.%04X" |
1127 | " - PIM = %02X, PAM = %02X, POM = %02X\n", | 1128 | " - PIM = %02X, PAM = %02X, POM = %02X\n", |