summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-08-17 11:25:57 +0000
committerJohn Crispin <john@openwrt.org>2015-08-17 11:25:57 +0000
commit4582d7e8f584e986b04ee4ebf6da7a43ea474874 (patch)
tree84192c2d92117c1cbe11ffd8b7a6b2e3885ea88d /target
parenteb42485093c79784100ae7d0458712aefd12bb6e (diff)
downloadmaster-31e0f0ae-4582d7e8f584e986b04ee4ebf6da7a43ea474874.tar.gz
master-31e0f0ae-4582d7e8f584e986b04ee4ebf6da7a43ea474874.tar.bz2
master-31e0f0ae-4582d7e8f584e986b04ee4ebf6da7a43ea474874.zip
lantiq: Support newer versions of the PEF7071 ethernet PHYs
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
Diffstat (limited to 'target')
-rw-r--r--target/linux/lantiq/patches-3.18/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch2
-rw-r--r--target/linux/lantiq/patches-4.1/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch2
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 4574b99a0e..6d1805f157 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 <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,*/
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 c93fdc8d0c..08e6b64811 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 <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,*/