aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/setup.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-12 02:24:30 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 04:12:28 -0500
commit1a7a242c898dd131f2df005c492e9b44fb8900e0 (patch)
tree5f00961b9c6539951adda7bfaafda030cea39c38 /arch/sparc64/kernel/setup.c
parent02fead75055246d01af56a45a9d1b311d506da3e (diff)
[SPARC64]: Recognize "virtual-console" as input and output console device.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/setup.c')
-rw-r--r--arch/sparc64/kernel/setup.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c
index ca75f3b26a37..4f253a0755b0 100644
--- a/arch/sparc64/kernel/setup.c
+++ b/arch/sparc64/kernel/setup.c
@@ -405,6 +405,11 @@ static int __init set_preferred_console(void)
405 serial_console = 2; 405 serial_console = 2;
406 } else if (idev == PROMDEV_IRSC && odev == PROMDEV_ORSC) { 406 } else if (idev == PROMDEV_IRSC && odev == PROMDEV_ORSC) {
407 serial_console = 3; 407 serial_console = 3;
408 } else if (idev == PROMDEV_IVCONS && odev == PROMDEV_OVCONS) {
409 /* sunhv_console_init() doesn't check the serial_console
410 * value anyways...
411 */
412 serial_console = 4;
408 } else { 413 } else {
409 prom_printf("Inconsistent console: " 414 prom_printf("Inconsistent console: "
410 "input %d, output %d\n", 415 "input %d, output %d\n",