Skip to content

Commit

Permalink
ucc_geth: get rid of device_type for mdio
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Anton Vorontsov authored and Kumar Gala committed Jan 28, 2008
1 parent a2dd70a commit d0a2f82
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
3 changes: 1 addition & 2 deletions arch/powerpc/boot/dts/mpc832x_mds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,7 @@
#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 >;
Expand Down
3 changes: 1 addition & 2 deletions arch/powerpc/boot/dts/mpc832x_rdb.dts
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,7 @@
#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>;
Expand Down
3 changes: 1 addition & 2 deletions arch/powerpc/boot/dts/mpc836x_mds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,7 @@
#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 >;
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/boot/dts/mpc8568mds.dts
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@
#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 */
Expand Down
3 changes: 3 additions & 0 deletions drivers/net/ucc_geth_mii.c
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,9 @@ static struct of_device_id uec_mdio_match[] = {
.type = "mdio",
.compatible = "ucc_geth_phy",
},
{
.compatible = "fsl,ucc-mdio",
},
{},
};

Expand Down

0 comments on commit d0a2f82

Please sign in to comment.