From: Frans Pop <elendil@xxxxxxxxx> Date: Wed, 17 Mar 2010 11:50:07 +0100 > Now that I know it's not a huge issue for me personally. It just means I > can no longer use my Sparc box for testing use of console= for Debian > installations, which is a pity as it's the most suitable box I have for > that. > > I'm not sure how much this is going to throw off other users, but I suspect > the majority (except maybe for long time sparc sysadmins) would expect > console= to be honored. Frans, is this patch enough to get the behavior you want? -------------------- sunserial: Don't call add_preferred_console() when console= is specified. Reported-by: Frans Pop <elendil@xxxxxxxxx> Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx> --- drivers/serial/suncore.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/serial/suncore.c b/drivers/serial/suncore.c index ed7d958..544f2e2 100644 --- a/drivers/serial/suncore.c +++ b/drivers/serial/suncore.c @@ -71,7 +71,9 @@ int sunserial_console_match(struct console *con, struct device_node *dp, con->index = line; drv->cons = con; - add_preferred_console(con->name, line, NULL); + + if (!console_set_on_cmdline) + add_preferred_console(con->name, line, NULL); return 1; } -- 1.7.0.4 -- To unsubscribe from this list: send the line "unsubscribe sparclinux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html