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

Martin Schwidefsky
2009-11-13T15:15:52Z

[-- Attachment #1: 124-sclp-dump-indicator.diff --]
[-- Type: text/plain, Size: 794 bytes --]

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

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

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
---

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);