diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2016-11-07 14:40:24 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2016-11-07 14:42:58 +0100 |
commit | e2a65f4aa550d59e8ddda2d84e73c200f76ce543 (patch) | |
tree | 9888bc18678050c9d2d6bc2edbfef1480303c24b /target/linux/generic/patches-4.4/773-bgmac-add-srab-switch.patch | |
parent | 4fae9db765f8af24c5b9d62801864ca0f386b0b5 (diff) | |
download | upstream-e2a65f4aa550d59e8ddda2d84e73c200f76ce543.tar.gz upstream-e2a65f4aa550d59e8ddda2d84e73c200f76ce543.tar.bz2 upstream-e2a65f4aa550d59e8ddda2d84e73c200f76ce543.zip |
bgmac: backport small DMA fix
It's supposed to significantly improve performance but doesn't seem to
affect Northstar unfortunately. It seems only some other platforms were
limited because of this DMA setup mistake.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/generic/patches-4.4/773-bgmac-add-srab-switch.patch')
-rw-r--r-- | target/linux/generic/patches-4.4/773-bgmac-add-srab-switch.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/generic/patches-4.4/773-bgmac-add-srab-switch.patch b/target/linux/generic/patches-4.4/773-bgmac-add-srab-switch.patch index 49c0dcac3d..990d23dc8e 100644 --- a/target/linux/generic/patches-4.4/773-bgmac-add-srab-switch.patch +++ b/target/linux/generic/patches-4.4/773-bgmac-add-srab-switch.patch @@ -12,7 +12,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> #include <linux/bcm47xx_nvram.h> #include "bgmac.h" -@@ -1400,6 +1401,17 @@ static const struct ethtool_ops bgmac_et +@@ -1403,6 +1404,17 @@ static const struct ethtool_ops bgmac_et .get_drvinfo = bgmac_get_drvinfo, }; @@ -30,7 +30,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> /************************************************** * MII **************************************************/ -@@ -1536,6 +1548,14 @@ int bgmac_enet_probe(struct bgmac *info) +@@ -1539,6 +1551,14 @@ int bgmac_enet_probe(struct bgmac *info) net_dev->hw_features = net_dev->features; net_dev->vlan_features = net_dev->features; @@ -45,7 +45,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> err = register_netdev(bgmac->net_dev); if (err) { dev_err(bgmac->dev, "Cannot register net device\n"); -@@ -1559,6 +1579,10 @@ EXPORT_SYMBOL_GPL(bgmac_enet_probe); +@@ -1562,6 +1582,10 @@ EXPORT_SYMBOL_GPL(bgmac_enet_probe); void bgmac_enet_remove(struct bgmac *bgmac) { |