[PATCH] PowerPC: Fix find_legacy_serial_ports on OPB.
Arnd Bergmann
arnd at arndb.de
Fri Oct 12 03:09:39 EST 2007
On Thursday 11 October 2007, Josh Boyer wrote:
> Wait, no. We already had this discussion months ago when David was
> working on the original Ebony port. It was declared that legacy_serial
> is not how serial should be done on 4xx and the serial_of driver was
> supposed to be used instead.
>
> Have we changed our stance on that? If not, then perhaps KGDB should be
> fixed to work with serial_of.
I guess I'm fine with a patch that removes the OPB probing from
legacy_serial, but as long as it's there it should work on all
platforms.
Note that of_serial and legacy_serial are not exclusive, as of_serial
will simply take over all ports that have previously been registered
by the legacy code. Probing them early has the advantage that you
can see many printk messages earlier when the of_serial initialization
has not been called yet.
Arnd <><
More information about the Linuxppc-dev
mailing list