diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2013-04-30 17:17:34 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2013-05-02 15:50:20 +0200 |
commit | d1eb16e64f20bbb88b0949fb5203ac43b661dffe (patch) | |
tree | dd76d036ec78af56aa6e028859432ce5739b10c1 /drivers/s390/cio/blacklist.c | |
parent | s390/cio: add ipldev keyword to cio_ignore (diff) | |
download | linux-d1eb16e64f20bbb88b0949fb5203ac43b661dffe.tar.xz linux-d1eb16e64f20bbb88b0949fb5203ac43b661dffe.zip |
s390/cio: add condev keyword to cio_ignore
Provide a 'condev' keyword to cio_ignore to (un)ignore the
CCW console device.
Reviewed-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/blacklist.c')
-rw-r--r-- | drivers/s390/cio/blacklist.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/s390/cio/blacklist.c b/drivers/s390/cio/blacklist.c index 706eb9b6513f..a9fe3de2dec1 100644 --- a/drivers/s390/cio/blacklist.c +++ b/drivers/s390/cio/blacklist.c @@ -189,6 +189,13 @@ static int blacklist_parse_parameters(char *str, range_action action, to_cssid = from_cssid; to_ssid = from_ssid; to = from; + } else if (strcmp(parm, "condev") == 0) { + if (console_devno == -1) + continue; + + from_cssid = to_cssid = 0; + from_ssid = to_ssid = 0; + from = to = console_devno; } else { rc = parse_busid(strsep(&parm, "-"), &from_cssid, &from_ssid, &from, msgtrigger); |