On Sat, Mar 22, 2008 at 12:56:35AM +0100, Bartlomiej Sieka wrote:
> The bulk of this patch is taken from
> http://patchwork.ozlabs.org/linuxppc/patch?q=Balakowicz&id=16197, with few
> other updates, in particluar one posted by Anatolij Gustschin, which fixes
> an Oops during boot.
>     
> Signed-off-by: Marian Balakowicz <[EMAIL PROTECTED]>
> ---
> Anatolij, would you like to add your S-O-B?
> 
> diff --git a/arch/powerpc/boot/dts/cm5200.dts 
> b/arch/powerpc/boot/dts/cm5200.dts
> index 30737ea..8b2e8e4 100644
> --- a/arch/powerpc/boot/dts/cm5200.dts
> +++ b/arch/powerpc/boot/dts/cm5200.dts
> @@ -159,6 +159,7 @@
>               };
>  
>               [EMAIL PROTECTED] {
> +                     device_type = "dma-controller";

This is not right.  If adding device_type here fixes something, then
the driver is wrong and should be fixed instead.

[snip]
> +             [EMAIL PROTECTED] {
> +                     #address-cells = <1>;
> +                     #size-cells = <0>;
> +                     device_type = "mdio";

Likewise device_type should not appear here.

[snip]
>               [EMAIL PROTECTED] {
> +             #address-cells = <1>;
> +             #size-cells = <0>;

Looks like incorrect indentation here.

[snip]
> +             [EMAIL PROTECTED] {
> +                     compatible = "mpc5200b-mscan\0mpc5200-mscan";

Use "mpc5200b-mscan", "mpc5200-mscan" instead of the embedded \0.

[snip]
>               [EMAIL PROTECTED] {
> +                     device_type = "dma-controller";

As above.

-- 
David Gibson                    | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au  | minimalist, thank you.  NOT _the_ _other_
                                | _way_ _around_!
http://www.ozlabs.org/~dgibson
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to