]> err.no Git - linux-2.6/commit
powerpc/powermac: Use sane default baudrate for SCC debugging
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2008 02:06:19 +0000 (12:06 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2008 06:30:52 +0000 (16:30 +1000)
commitf023bf0f91f1f1b926ec8f5cf0ee24be134bf024
tree32f8fdc281d6a76153aab7ae6f8f28c6cbf1f485
parent83ac6a1ed40bfbe185cf2bac5505d8d97aad8b1d
powerpc/powermac: Use sane default baudrate for SCC debugging

When using the "sccdbg" option to route early kernel messages and
xmon to the SCC serial port on PowerMacs, when this wasn't the
configured output port of Open Firmware, we initialize the baudrate
to 57600bps. This isn't a very good default on some powermacs where
both the FW and pmac_zilog will default to 38400. This fixes it to
use the same logic as pmac_zilog to pick a default speed.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/powermac/udbg_scc.c