powerpc/powermac: Fixup default serial port device for pmac_zilog
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2008 03:49:15 +0000 (13:49 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2008 06:30:53 +0000 (16:30 +1000)
commit025d7917a5ede982a5669c6735ef73a227b9827e
treeb921600f898523c63cefa79effdc4f917b1cf4ab
parentf023bf0f91f1f1b926ec8f5cf0ee24be134bf024
powerpc/powermac: Fixup default serial port device for pmac_zilog

This removes the non-working code in legacy_serial that tried to handle
the powermac SCC ports, and instead add a (now working) function to the
powermac platform code to find the default serial console if any.

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