diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-12 08:24:30 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 10:12:28 +0100 |
commit | 1a7a242c898dd131f2df005c492e9b44fb8900e0 (patch) | |
tree | 5f00961b9c6539951adda7bfaafda030cea39c38 /arch/sparc64/prom | |
parent | [SPARC64]: Do not try to synchronize %stick registers on SUN4V. (diff) | |
download | linux-1a7a242c898dd131f2df005c492e9b44fb8900e0.tar.xz linux-1a7a242c898dd131f2df005c492e9b44fb8900e0.zip |
[SPARC64]: Recognize "virtual-console" as input and output console device.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/prom')
-rw-r--r-- | arch/sparc64/prom/console.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/sparc64/prom/console.c b/arch/sparc64/prom/console.c index ac6d035dd150..7c25c54cefdc 100644 --- a/arch/sparc64/prom/console.c +++ b/arch/sparc64/prom/console.c @@ -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; |