All of lore.kernel.org
 help / color / mirror / Atom feed
* Sync SiByte system code to the new DUART driver
@ 2007-08-02 10:58 Imre Kaloz
  2007-08-02 11:13 ` Ralf Baechle
  0 siblings, 1 reply; 5+ messages in thread
From: Imre Kaloz @ 2007-08-02 10:58 UTC (permalink / raw)
  To: linux-mips@linux-mips.org

The new upstream SiByte DUART driver uses a different config option then
the old one, so the SiByte target doesn't compile currently.
This patch fixes the problem.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

---

diff --git a/arch/mips/sibyte/cfe/console.c b/arch/mips/sibyte/cfe/console.c
index c6ec748..4cec9d7 100644
--- a/arch/mips/sibyte/cfe/console.c
+++ b/arch/mips/sibyte/cfe/console.c
@@ -46,7 +46,7 @@ static int cfe_console_setup(struct console *cons, char *str)
  	/* XXXKW think about interaction with 'console=' cmdline arg */
  	/* If none of the console options are configured, the build will break. */
  	if (cfe_getenv("BOOT_CONSOLE", consdev, 32) >= 0) {
-#ifdef CONFIG_SIBYTE_SB1250_DUART
+#ifdef CONFIG_SERIAL_SB1250_DUART
  		if (!strcmp(consdev, "uart0")) {
  			setleds("u0cn");
  		} else if (!strcmp(consdev, "uart1")) {

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-08-02 11:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-02 10:58 Sync SiByte system code to the new DUART driver Imre Kaloz
2007-08-02 11:13 ` Ralf Baechle
2007-08-02 11:26   ` Maciej W. Rozycki
2007-08-02 11:29     ` Ralf Baechle
2007-08-02 11:38     ` Imre Kaloz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.