[PATCH] CPM_UART: Fix non-console initialisation (v2)

Paul Mackerras paulus at samba.org
Fri Nov 10 21:29:33 EST 2006


Kalle Pokki writes:

> This is a cleaned-up version of a patch sent on Oct 19th. The patch is 
> fairly straightforward and does not affect other than the compat mode. As 
> not having this patch renders the cpm_uart driver unusable with a frame 
> buffer console, I think this should be included in 2.6.19.

The last hunk, i.e. the change to drivers/serial/cpm_uart/cpm_uart_cpm2.c,
doesn't apply because cpm_uart_init_portdesc now looks different to the
context in your patch, so I dropped that hunk (it looked to be pretty
much independent of the other changes).

Also, the whitespace is damaged throughout this and your other
patches.  I fixed it up this time, but please fix your mailer not to
munge the whitespace.  Specifically, where a line begins with a space
character, your mailer removes it if there is nothing else on the
line, or turns it into two spaces otherwise. :P

Paul.



More information about the Linuxppc-embedded mailing list