• Maciej W. Rozycki's avatar
    serial: DZ11: avoid a hang at console switch-over · e9a8f4d1
    Maciej W. Rozycki authored
    Changes to the generic console support code that happened a while ago
    introduced a scenario where the initial console is used in parallel with
    the final console during a brief period when switching between the two is
    in progress.  During that time a message about the switch-over is printed.
    
    With some combinations of chips, firmware and drivers, such as the DEC
    DZ11 clone used with the DECstation, a hang may happen because the
    firmware used for the initial console may not expect the state of the chip
    after it has been initialised by the driver.
    
    This is a workaround for the DZ11 which reuses the power-management
    callback to keep the transmitter of the line associated with the console
    enabled.  It reflects the consensus reached in a discussion a while ago.
    Signed-off-by: default avatarMaciej W. Rozycki <macro@linux-mips.org>
    Cc: Jiri Slaby <jirislaby@gmail.com>
    Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    e9a8f4d1
dz.c 22.6 KB