diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2014-01-04 18:25:05 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2014-01-04 18:25:05 +0000 |
commit | 5a55ace3b841895d93a6dd7f649e37f35bd2d8d3 (patch) | |
tree | 031f591f1409112e1c8523e471fb79983e3e581d /target/linux/generic/patches-3.10/776-bgmac-add-dma-sync.patch | |
parent | 815ceabd9dbbae62b30edad7b9e2923d6624fdfb (diff) | |
download | upstream-5a55ace3b841895d93a6dd7f649e37f35bd2d8d3.tar.gz upstream-5a55ace3b841895d93a6dd7f649e37f35bd2d8d3.tar.bz2 upstream-5a55ace3b841895d93a6dd7f649e37f35bd2d8d3.zip |
kernel: bgmac: update the driver patches to a version submitted for mainline kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 39201
Diffstat (limited to 'target/linux/generic/patches-3.10/776-bgmac-add-dma-sync.patch')
-rw-r--r-- | target/linux/generic/patches-3.10/776-bgmac-add-dma-sync.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/generic/patches-3.10/776-bgmac-add-dma-sync.patch b/target/linux/generic/patches-3.10/776-bgmac-add-dma-sync.patch index 29fdd6b73d..15ad5155ad 100644 --- a/target/linux/generic/patches-3.10/776-bgmac-add-dma-sync.patch +++ b/target/linux/generic/patches-3.10/776-bgmac-add-dma-sync.patch @@ -9,7 +9,7 @@ Subject: [PATCH 14/16] bgmac: stuff --- a/drivers/net/ethernet/broadcom/bgmac.c +++ b/drivers/net/ethernet/broadcom/bgmac.c -@@ -120,6 +120,7 @@ static netdev_tx_t bgmac_dma_tx_add(stru +@@ -123,6 +123,7 @@ static netdev_tx_t bgmac_dma_tx_add(stru struct net_device *net_dev = bgmac->net_dev; struct bgmac_dma_desc *dma_desc; struct bgmac_slot_info *slot; @@ -17,7 +17,7 @@ Subject: [PATCH 14/16] bgmac: stuff u32 ctl0, ctl1; int free_slots; -@@ -160,6 +161,8 @@ static netdev_tx_t bgmac_dma_tx_add(stru +@@ -163,6 +164,8 @@ static netdev_tx_t bgmac_dma_tx_add(stru dma_desc->ctl0 = cpu_to_le32(ctl0); dma_desc->ctl1 = cpu_to_le32(ctl1); @@ -26,7 +26,7 @@ Subject: [PATCH 14/16] bgmac: stuff netdev_sent_queue(net_dev, skb->len); wmb(); -@@ -311,6 +314,8 @@ static void bgmac_dma_rx_setup_desc(stru +@@ -313,6 +316,8 @@ static void bgmac_dma_rx_setup_desc(stru struct bgmac_dma_ring *ring, int desc_idx) { struct bgmac_dma_desc *dma_desc = ring->cpu_base + desc_idx; @@ -35,7 +35,7 @@ Subject: [PATCH 14/16] bgmac: stuff u32 ctl0 = 0, ctl1 = 0; if (desc_idx == ring->num_slots - 1) -@@ -325,6 +330,8 @@ static void bgmac_dma_rx_setup_desc(stru +@@ -327,6 +332,8 @@ static void bgmac_dma_rx_setup_desc(stru dma_desc->addr_high = cpu_to_le32(upper_32_bits(ring->slots[desc_idx].dma_addr)); dma_desc->ctl0 = cpu_to_le32(ctl0); dma_desc->ctl1 = cpu_to_le32(ctl1); |