diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-14 06:28:40 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 10:12:46 +0100 |
commit | d5a2aa241aa0babf382d42d6033b30a5112e4c1e (patch) | |
tree | 64b0ffb5b321827be583de8167f5f80f0befdb33 /arch/sparc64/kernel/setup.c | |
parent | [SPARC64]: Fix comment typo in asm/hypervisor.h (diff) | |
download | linux-d5a2aa241aa0babf382d42d6033b30a5112e4c1e.tar.xz linux-d5a2aa241aa0babf382d42d6033b30a5112e4c1e.zip |
[SPARC64] sunhv: Bug fixes.
Add udelay to polling console write loop, and increment
the loop limit.
Name the device "ttyHV" and pass that to add_preferred_console()
when we're using hypervisor console.
Kill sunhv_console_setup(), it's empty.
Handle the case where we don't want to use hypervisor console.
(ie. we have a head attached to a sun4v machine)
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/setup.c')
-rw-r--r-- | arch/sparc64/kernel/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc64/kernel/setup.c b/arch/sparc64/kernel/setup.c index 4f253a0755b0..06807cf95ee1 100644 --- a/arch/sparc64/kernel/setup.c +++ b/arch/sparc64/kernel/setup.c @@ -410,6 +410,7 @@ static int __init set_preferred_console(void) * value anyways... */ serial_console = 4; + return add_preferred_console("ttyHV", 0, NULL); } else { prom_printf("Inconsistent console: " "input %d, output %d\n", |