Re: Garbage on serial console after serial driver loads

From: David Woodhouse
Date: Mon Apr 18 2005 - 18:16:03 EST


On Wed, 2005-04-13 at 12:45 +0000, Paul Slootman wrote:
> Phil Oester <kernel@xxxxxxxxxxxx> wrote:
> >On Sat, Mar 26, 2005 at 03:10:05PM +0000, Russell King wrote:
> >> Doesn't matter. The problem is that dwmw2's NS16550A patch (from ages
> >> ago) changes the prescaler setting for this device so we can use the
> >> higher speed baud rates. This means any programmed divisor (programmed
> >> at early serial console initialisation time) suddenly becomes wrong as
> >> soon as we fiddle with the prescaler during normal UART initialisation
> >> time.

Hmm. Why aren't we recalculating the divisor when we change the
prescaler? This used to work for serial consoles at the time -- even for
serial consoles about 115200 baud, IIRC.

--
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/