2009-11-13 15:15:52

by Martin Schwidefsky

[permalink] [raw]
Subject: [patch 25/52] [PATCH] sclp: improve servicability setting

From: Martin Schwidefsky <[email protected]>

Set dump indicator on read-scp-info command to get meaningful dumps.

Signed-off-by: Martin Schwidefsky <[email protected]>
---

drivers/s390/char/sclp_cmd.c | 1 +
1 file changed, 1 insertion(+)

Index: quilt-2.6/drivers/s390/char/sclp_cmd.c
===================================================================
--- quilt-2.6.orig/drivers/s390/char/sclp_cmd.c 2009-11-13 15:48:33.000000000 +0100
+++ quilt-2.6/drivers/s390/char/sclp_cmd.c 2009-11-13 16:08:17.000000000 +0100
@@ -84,6 +84,7 @@
do {
memset(sccb, 0, sizeof(*sccb));
sccb->header.length = sizeof(*sccb);
+ sccb->header.function_code = 0x80;
sccb->header.control_mask[2] = 0x80;
rc = sclp_cmd_sync_early(commands[i], sccb);
} while (rc == -EBUSY);