[SPARC64] sunhv: Bug fixes.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 14 Feb 2006 05:28:40 +0000 (21:28 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:12:46 +0000 (01:12 -0800)
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>
arch/sparc64/kernel/setup.c
drivers/serial/sunhv.c

index 4f253a0..06807cf 100644 (file)
@@ -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",
Simple merge