mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Signed-off-by: Sebastian Ott <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
This commit is contained in:
parent
0e6c83d187
commit
d1eb16e64f
2 changed files with 13 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue