lantiq: Support newer versions of the PEF7071 ethernet PHYs
authorJohn Crispin <john@openwrt.org>
Mon, 17 Aug 2015 11:25:57 +0000 (11:25 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 17 Aug 2015 11:25:57 +0000 (11:25 +0000)
The BT Home Hub 5A uses three PEF7071 with PHY ID 0xd565a401. Daniel's
PHY driver (for his u-boot sources) already supports that PHY because
it uses a PHY ID mask of 0xfffffff8.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 46670

target/linux/lantiq/patches-3.18/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
target/linux/lantiq/patches-4.1/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch

index 4574b99a0e0d96ba8a80062bea94f78ad874fbe0..6d1805f1571aca2a9513a992f6f18c24b8d857b8 100644 (file)
@@ -189,7 +189,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +static struct phy_driver lantiq_phy[] = {
 +      {
 +              .phy_id         = 0xd565a400,
-+              .phy_id_mask    = 0xffffffff,
++              .phy_id_mask    = 0xfffffff8,
 +              .name           = "Lantiq XWAY PEF7071",
 +              .features       = (PHY_GBIT_FEATURES | SUPPORTED_Pause),
 +              .flags          = 0, /*PHY_HAS_INTERRUPT,*/
index c93fdc8d0ced7c340dfdc093d16ddbf4976bb231..08e6b648111c80f469006c54f85189d14fa942cc 100644 (file)
@@ -189,7 +189,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
 +static struct phy_driver lantiq_phy[] = {
 +      {
 +              .phy_id         = 0xd565a400,
-+              .phy_id_mask    = 0xffffffff,
++              .phy_id_mask    = 0xfffffff8,
 +              .name           = "Lantiq XWAY PEF7071",
 +              .features       = (PHY_GBIT_FEATURES | SUPPORTED_Pause),
 +              .flags          = 0, /*PHY_HAS_INTERRUPT,*/