diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-10-02 23:12:46 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-10-02 23:12:46 +0000 |
commit | 9e5eeb3c38436ac655f322e9acd08ab5e4c999cd (patch) | |
tree | 99155ba1a3f62ef9bc57e96b2ea2c3e2ae1a23e0 /target/linux/generic/patches-3.10 | |
parent | 101034fa2335e407843b6eeee1ac458ffa9e605b (diff) | |
download | mtk-20170518-9e5eeb3c38436ac655f322e9acd08ab5e4c999cd.zip mtk-20170518-9e5eeb3c38436ac655f322e9acd08ab5e4c999cd.tar.gz mtk-20170518-9e5eeb3c38436ac655f322e9acd08ab5e4c999cd.tar.bz2 |
kernel: bgmac: fix BCM4707 patch
The bool logic was the wrong way around.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38292
Diffstat (limited to 'target/linux/generic/patches-3.10')
-rw-r--r-- | target/linux/generic/patches-3.10/772-bgmac-add-supprot-for-BCM4707.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/patches-3.10/772-bgmac-add-supprot-for-BCM4707.patch b/target/linux/generic/patches-3.10/772-bgmac-add-supprot-for-BCM4707.patch index 5b8901c..09efbb0 100644 --- a/target/linux/generic/patches-3.10/772-bgmac-add-supprot-for-BCM4707.patch +++ b/target/linux/generic/patches-3.10/772-bgmac-add-supprot-for-BCM4707.patch @@ -26,8 +26,8 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> + struct bcma_device *core = bgmac->core; + struct bcma_chipinfo *ci = &core->bus->chipinfo; + -+ if (ci->id != BCMA_CHIP_ID_BCM4707 && -+ ci->id != BCMA_CHIP_ID_BCM53018) { ++ if (ci->id == BCMA_CHIP_ID_BCM4707 || ++ ci->id == BCMA_CHIP_ID_BCM53018) { + if (bgmac->autoneg) { + bcma_awrite32(core, BCMA_IOCTL, + bcma_aread32(core, BCMA_IOCTL) | 0x44); |