summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/setup.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-14 06:28:40 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 10:12:46 +0100
commitd5a2aa241aa0babf382d42d6033b30a5112e4c1e (patch)
tree64b0ffb5b321827be583de8167f5f80f0befdb33 /arch/sparc64/kernel/setup.c
parent[SPARC64]: Fix comment typo in asm/hypervisor.h (diff)
downloadlinux-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.c1
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",