ucc_geth: get rid of device_type for mdio
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 24 Jan 2008 15:40:01 +0000 (18:40 +0300)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 28 Jan 2008 14:32:56 +0000 (08:32 -0600)
device_type property is bogus, thus use proper compatible.

Also change compatible property to "fsl,ucc-mdio".

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/mpc832x_mds.dts
arch/powerpc/boot/dts/mpc832x_rdb.dts
arch/powerpc/boot/dts/mpc836x_mds.dts
arch/powerpc/boot/dts/mpc8568mds.dts
drivers/net/ucc_geth_mii.c

index e300df4..1bb75ef 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <2320 18>;
-                       device_type = "mdio";
-                       compatible = "ucc_geth_phy";
+                       compatible = "fsl,ucc-mdio";
 
                        phy3: ethernet-phy@03 {
                                interrupt-parent = < &ipic >;
index 4d5cfd3..f6a8633 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <3120 18>;
-                       device_type = "mdio";
-                       compatible = "ucc_geth_phy";
+                       compatible = "fsl,ucc-mdio";
 
                        phy00:ethernet-phy@00 {
                                interrupt-parent = <&pic>;
index 9a2581b..fa98bdf 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <2120 18>;
-                       device_type = "mdio";
-                       compatible = "ucc_geth_phy";
+                       compatible = "fsl,ucc-mdio";
 
                        phy0: ethernet-phy@00 {
                                interrupt-parent = < &ipic >;
index 04f5c6f..692d5bd 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <2120 18>;
-                       compatible = "ucc_geth_phy";
+                       compatible = "fsl,ucc-mdio";
 
                        /* These are the same PHYs as on
                         * gianfar's MDIO bus */
index df884f0..e3ba14a 100644 (file)
@@ -256,6 +256,9 @@ static struct of_device_id uec_mdio_match[] = {
                .type = "mdio",
                .compatible = "ucc_geth_phy",
        },
+       {
+               .compatible = "fsl,ucc-mdio",
+       },
        {},
 };