aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2006-02-13 21:28:40 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-03-20 01:12:46 -0800
commitd5a2aa241aa0babf382d42d6033b30a5112e4c1e (patch)
tree64b0ffb5b321827be583de8167f5f80f0befdb33 /arch
parent5259d5bfaf5b2953b130e9a500277a905bd37823 (diff)
downloadlinux-d5a2aa241aa0babf382d42d6033b30a5112e4c1e.tar.gz
[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')
-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 4f253a0755b0b..06807cf95ee15 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",