diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-11-11 00:13:31 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-11-11 00:13:31 +0000 |
commit | 7444a626e2edd01e2bbab97d9aa78e98cc604bf4 (patch) | |
tree | e6dff12cb00ea72180bba655cd903fa996cc09bd /target/linux/generic/patches-3.10/773-bgmac-add-srab-switch.patch | |
parent | b4a01fc85436d64a056f8d767aeda1471dca8b0d (diff) | |
download | upstream-7444a626e2edd01e2bbab97d9aa78e98cc604bf4.tar.gz upstream-7444a626e2edd01e2bbab97d9aa78e98cc604bf4.tar.bz2 upstream-7444a626e2edd01e2bbab97d9aa78e98cc604bf4.zip |
kernel: bgmac: make it send and receive some packages on BCM4708
This adds some more code for bgmac core rev 4 and it now restarts all
cores when initializing the first one on BCM4708. I am just able to
send under 100 packages and then DMA TX does not work any more.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 38714
Diffstat (limited to 'target/linux/generic/patches-3.10/773-bgmac-add-srab-switch.patch')
-rw-r--r-- | target/linux/generic/patches-3.10/773-bgmac-add-srab-switch.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/patches-3.10/773-bgmac-add-srab-switch.patch b/target/linux/generic/patches-3.10/773-bgmac-add-srab-switch.patch index e5ec78d59f..be253064b1 100644 --- a/target/linux/generic/patches-3.10/773-bgmac-add-srab-switch.patch +++ b/target/linux/generic/patches-3.10/773-bgmac-add-srab-switch.patch @@ -30,7 +30,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> /************************************************** * BCMA bus ops **************************************************/ -@@ -1542,6 +1554,16 @@ static int bgmac_probe(struct bcma_devic +@@ -1561,6 +1573,16 @@ static int bgmac_probe(struct bcma_devic goto err_dma_free; } @@ -47,7 +47,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> err = register_netdev(bgmac->net_dev); if (err) { bgmac_err(bgmac, "Cannot register net device\n"); -@@ -1571,6 +1593,10 @@ static void bgmac_remove(struct bcma_dev +@@ -1590,6 +1612,10 @@ static void bgmac_remove(struct bcma_dev { struct bgmac *bgmac = bcma_get_drvdata(core); |