[SPARC64]: Recognize "virtual-console" as input and output console device.
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -102,6 +102,9 @@ prom_query_input_device(void)
|
||||
if (!strncmp (propb, "rsc", 3))
|
||||
return PROMDEV_IRSC;
|
||||
|
||||
if (!strncmp (propb, "virtual-console", 3))
|
||||
return PROMDEV_IVCONS;
|
||||
|
||||
if (strncmp (propb, "tty", 3) || !propb[3])
|
||||
return PROMDEV_I_UNK;
|
||||
|
||||
@@ -143,6 +146,9 @@ prom_query_output_device(void)
|
||||
if (!strncmp (propb, "rsc", 3))
|
||||
return PROMDEV_ORSC;
|
||||
|
||||
if (!strncmp (propb, "virtual-console", 3))
|
||||
return PROMDEV_OVCONS;
|
||||
|
||||
if (strncmp (propb, "tty", 3) || !propb[3])
|
||||
return PROMDEV_O_UNK;
|
||||
|
||||
|
Reference in New Issue
Block a user