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.blumensti...@googlemail.com>
---
 .../patches-3.18/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch       | 2 +-
 .../lantiq/patches-4.1/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/target/linux/lantiq/patches-3.18/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
 
b/target/linux/lantiq/patches-3.18/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
index 4574b99..6d1805f 100644
--- 
a/target/linux/lantiq/patches-3.18/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
+++ 
b/target/linux/lantiq/patches-3.18/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
@@ -189,7 +189,7 @@ Signed-off-by: John Crispin <blo...@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,*/
diff --git 
a/target/linux/lantiq/patches-4.1/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
 
b/target/linux/lantiq/patches-4.1/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
index c93fdc8..08e6b64 100644
--- 
a/target/linux/lantiq/patches-4.1/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
+++ 
b/target/linux/lantiq/patches-4.1/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
@@ -189,7 +189,7 @@ Signed-off-by: John Crispin <blo...@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,*/
-- 
2.5.0
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to