]> git.baikalelectronics.ru Git - kernel.git/commit
[SERIAL] sunsab: Fix E250 console with RSC.
authorMarc Zyngier <maz@misterjones.org>
Wed, 23 Aug 2006 22:50:57 +0000 (15:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Aug 2006 22:50:57 +0000 (15:50 -0700)
commit86f083bdcea10588103e1cb13b173fa15c2bca2c
tree0aca57fc40523377916f0836506646205a0677eb
parent63978b63099f999c61a275fbe480b2787fd14ef1
[SERIAL] sunsab: Fix E250 console with RSC.

This fixes yet another sunsab problem, when console is set to anything
but the first port. The console framework calls sunsab_console_setup
for each port, and we end up setting up a console on a not yet
discovered port, which leads to an Oops. Instead, defer console setup
until the requested port is properly initialized. Tested on an E250
through an RSC console.

Reported by Daniel Smolik <marvin@mydatex.cz>

Signed-off-by: Marc Zyngier <maz@misterjones.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/serial/sunsab.c