diff options
author | Mathias Kresin <dev@kresin.me> | 2018-07-02 22:09:04 +0200 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-07-04 01:19:05 +0200 |
commit | eccde89aa4764fd16b490e96e5dbbdb51cb0051b (patch) | |
tree | 4382655bae8555eb0537ca32c46fbaac19e96cab /target/linux/generic/pending-4.14/735-net-phy-at803x-fix-at8033-sgmii-mode.patch | |
parent | 89b59994eb44b5cd2fac594144c20c63fd05ef25 (diff) | |
download | upstream-eccde89aa4764fd16b490e96e5dbbdb51cb0051b.tar.gz upstream-eccde89aa4764fd16b490e96e5dbbdb51cb0051b.tar.bz2 upstream-eccde89aa4764fd16b490e96e5dbbdb51cb0051b.zip |
kernel: fix AT8032 PHY phy id mask
Don't mask bit 4 of the AT8022 phy id. If bit 4 of the AT8022 phy id
(0x004dd023) is masked, it will match the phy id of the AR8327 switch
(0x004dd033) as well.
It results in applied at803x driver settings/callbacks, which will at
least limit the AR8327 phys to 100MBit operation instead of the possible
1000MBit.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/generic/pending-4.14/735-net-phy-at803x-fix-at8033-sgmii-mode.patch')
-rw-r--r-- | target/linux/generic/pending-4.14/735-net-phy-at803x-fix-at8033-sgmii-mode.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/pending-4.14/735-net-phy-at803x-fix-at8033-sgmii-mode.patch b/target/linux/generic/pending-4.14/735-net-phy-at803x-fix-at8033-sgmii-mode.patch index 9a2f93a6f2..1f689850bd 100644 --- a/target/linux/generic/pending-4.14/735-net-phy-at803x-fix-at8033-sgmii-mode.patch +++ b/target/linux/generic/pending-4.14/735-net-phy-at803x-fix-at8033-sgmii-mode.patch @@ -24,7 +24,7 @@ Signed-off-by: Roman Yeryomin <roman@advem.lv> #define AT803X_MODE_CFG_MASK 0x0F #define AT803X_MODE_CFG_SGMII 0x01 -@@ -292,6 +296,27 @@ static int at803x_config_init(struct phy +@@ -293,6 +297,27 @@ static int at803x_config_init(struct phy { struct at803x_platform_data *pdata; int ret; |