Title: [6160] trunk/drivers/serial/bfin_5xx.c: Fix [#4968].
- Revision
- 6160
- Author
- rgetz
- Date
- 2009-03-08 13:30:18 -0500 (Sun, 08 Mar 2009)
Log Message
Fix [#4968].
Since we already setup the early console UART in
arch/blackfin/kernel/early_printk.c, and common functions which are
enabled from the .setup will override the proper settings later, don't
fill in these structures.
Modified Paths
Diff
Modified: trunk/drivers/serial/bfin_5xx.c (6159 => 6160)
--- trunk/drivers/serial/bfin_5xx.c 2009-03-06 18:43:43 UTC (rev 6159)
+++ trunk/drivers/serial/bfin_5xx.c 2009-03-08 18:30:18 UTC (rev 6160)
@@ -1323,12 +1323,17 @@
}
}
+/*
+ * This should have a .setup or .early_setup in it, but then things get called
+ * without the command line options, and the baud rate gets messed up - so
+ * don't let the common infrastructure play with things. (see calls to setup
+ * & earlysetup in ./kernel/printk.c:register_console()
+ */
static struct __initdata console bfin_early_serial_console = {
.name = "early_BFuart",
.write = early_serial_write,
.device = uart_console_device,
.flags = CON_PRINTBUFFER,
- .setup = bfin_serial_console_setup,
.index = -1,
.data = ""
};
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits