[PATCH] [POWERPC] Enable correct operation of serial ports withnonzero regshift.

Stephen Neuendorffer stephen.neuendorffer at xilinx.com
Fri Feb 15 05:55:31 EST 2008


> --- a/arch/powerpc/kernel/legacy_serial.c
> +++ b/arch/powerpc/kernel/legacy_serial.c
> +	/* get regshift if present*/
> +	regshift = get_property(np, "reg-shift", NULL);

of_get_property, presumably?

--- a/drivers/serial/of_serial.c
+++ b/drivers/serial/of_serial.c
> +	regshift = get_property(np, "reg-shift", NULL);

ditto...

Otherwise, 

Acked-by: Stephen Neuendorffer <stephen.neuendorffer at xilinx.com>

Also, can you post a patch to the Xilinx portion of
booting-without-of.txt that has the device tree entries necessary to get
the uart to work?  (Since I happened to be tracking down what I assume
is the same issue when you posted the patch!)

Steve






More information about the Linuxppc-dev mailing list