• Marc Zyngier's avatar
    [SERIAL] sunsab: Fix E250 console with RSC. · 0f4184f7
    Marc Zyngier authored
    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: default avatarMarc Zyngier <maz@misterjones.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    0f4184f7
sunsab.c 30 KB