Hi Greg,

Thank you for the reply. Actually, I think I've found the culprit

diff --git a/drivers/serial/mcf.c b/drivers/serial/mcf.c
index b2001c5..4137fd3 100644
--- a/drivers/serial/mcf.c
+++ b/drivers/serial/mcf.c
@@ -502,7 +502,7 @@ static int __init mcf_console_setup(struct console *co, 
char *options)
        int parity = 'n';
        int flow = 'n';

-       if ((co->index >= 0) && (co->index <= MCF_MAXPORTS))
+       if ((co->index < 0) || (co->index >= MCF_MAXPORTS))
                co->index = 0;
        port = &mcf_ports[co->index].port;
        if (port->membase == 0)

Before, this causes all console to defaults to ttyS0.

One of my colleague is submitting the patch to kernel.org,
I figured I'll let you and this mailing list know as well for future reference.

We tested this on 2.6.27 and 2.6.29-rc3 from kernel.org's git tree.

Thanks again for all your time.

- Richard Retanubun.
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to