diff options
author | Cornelia Huck <cohuck@de.ibm.com> | 2006-01-06 03:19:21 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:51 -0500 |
commit | a8237fc4108060402d904bea5e1062e22e731969 (patch) | |
tree | fc19e33ea8bbe664c33fba6c78b34e497f2cc478 /drivers/s390/cio/device_id.c | |
parent | 8129ee164267dc030b8e1d541ee3643c0b9f2fa1 (diff) |
[PATCH] s390: introduce struct subchannel_id
This patch introduces a struct subchannel_id containing the subchannel number
(formerly referred to as "irq") and switches code formerly relying on the
subchannel number over to it.
While we're touching inline assemblies anyway, make sure they have correct
memory constraints.
Signed-off-by: Cornelia Huck <cohuck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/s390/cio/device_id.c')
-rw-r--r-- | drivers/s390/cio/device_id.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/cio/device_id.c b/drivers/s390/cio/device_id.c index 0e68fb511dc9..207881ec7aaf 100644 --- a/drivers/s390/cio/device_id.c +++ b/drivers/s390/cio/device_id.c | |||
@@ -258,7 +258,7 @@ ccw_device_check_sense_id(struct ccw_device *cdev) | |||
258 | */ | 258 | */ |
259 | CIO_MSG_EVENT(2, "SenseID : device %04x on Subchannel %04x " | 259 | CIO_MSG_EVENT(2, "SenseID : device %04x on Subchannel %04x " |
260 | "reports cmd reject\n", | 260 | "reports cmd reject\n", |
261 | cdev->private->devno, sch->irq); | 261 | cdev->private->devno, sch->schid.sch_no); |
262 | return -EOPNOTSUPP; | 262 | return -EOPNOTSUPP; |
263 | } | 263 | } |
264 | if (irb->esw.esw0.erw.cons) { | 264 | if (irb->esw.esw0.erw.cons) { |
@@ -280,13 +280,13 @@ ccw_device_check_sense_id(struct ccw_device *cdev) | |||
280 | CIO_MSG_EVENT(2, "SenseID : path %02X for device %04x on" | 280 | CIO_MSG_EVENT(2, "SenseID : path %02X for device %04x on" |
281 | " subchannel %04x is 'not operational'\n", | 281 | " subchannel %04x is 'not operational'\n", |
282 | sch->orb.lpm, cdev->private->devno, | 282 | sch->orb.lpm, cdev->private->devno, |
283 | sch->irq); | 283 | sch->schid.sch_no); |
284 | return -EACCES; | 284 | return -EACCES; |
285 | } | 285 | } |
286 | /* Hmm, whatever happened, try again. */ | 286 | /* Hmm, whatever happened, try again. */ |
287 | CIO_MSG_EVENT(2, "SenseID : start_IO() for device %04x on " | 287 | CIO_MSG_EVENT(2, "SenseID : start_IO() for device %04x on " |
288 | "subchannel %04x returns status %02X%02X\n", | 288 | "subchannel %04x returns status %02X%02X\n", |
289 | cdev->private->devno, sch->irq, | 289 | cdev->private->devno, sch->schid.sch_no, |
290 | irb->scsw.dstat, irb->scsw.cstat); | 290 | irb->scsw.dstat, irb->scsw.cstat); |
291 | return -EAGAIN; | 291 | return -EAGAIN; |
292 | } | 292 | } |