diff options
author | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-04-24 14:34:20 +0000 |
---|---|---|
committer | florian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-04-24 14:34:20 +0000 |
commit | 74567f6936b558e723840a109e31d855844bd720 (patch) | |
tree | 8708242774c1f7b797259655175427b92fe61068 /target/linux/rb532/patches-2.6.27/012-korina_do_tx_at_right_position.patch | |
parent | 28844a0b61514dddf8c65db9c96ea40355f2a55a (diff) |
[rb532] remove 2.6.27 we did not use it and went to 2.6.28 directly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15387 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rb532/patches-2.6.27/012-korina_do_tx_at_right_position.patch')
-rw-r--r-- | target/linux/rb532/patches-2.6.27/012-korina_do_tx_at_right_position.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/target/linux/rb532/patches-2.6.27/012-korina_do_tx_at_right_position.patch b/target/linux/rb532/patches-2.6.27/012-korina_do_tx_at_right_position.patch deleted file mode 100644 index 101e869d0..000000000 --- a/target/linux/rb532/patches-2.6.27/012-korina_do_tx_at_right_position.patch +++ /dev/null @@ -1,40 +0,0 @@ -Triggering TX before the write to the DMA status mask register leads to -transferring packets with maximum payload no matter what the actual -packet size is. -While here, also trigger RX scheduling after writing the DMA status mask -register, like it was in the original driver before it was sent -upstream. - -Signed-off-by: Phil Sutter <n0-1@freewrt.org> ---- ---- a/drivers/net/korina.c 2009-01-19 23:27:41.000000000 +0100 -+++ b/drivers/net/korina.c 2009-01-19 23:29:08.000000000 +0100 -@@ -330,12 +330,12 @@ - - dmas = readl(&lp->rx_dma_regs->dmas); - if (dmas & (DMA_STAT_DONE | DMA_STAT_HALT | DMA_STAT_ERR)) { -- netif_rx_schedule(dev, &lp->napi); -- - dmasm = readl(&lp->rx_dma_regs->dmasm); - writel(dmasm | (DMA_STAT_DONE | - DMA_STAT_HALT | DMA_STAT_ERR), - &lp->rx_dma_regs->dmasm); -+ -+ netif_rx_schedule(dev, &lp->napi); - - if (dmas & DMA_STAT_ERR) - printk(KERN_ERR DRV_NAME "%s: DMA error\n", dev->name); -@@ -621,11 +621,11 @@ - dmas = readl(&lp->tx_dma_regs->dmas); - - if (dmas & (DMA_STAT_FINI | DMA_STAT_ERR)) { -- korina_tx(dev); -- - dmasm = readl(&lp->tx_dma_regs->dmasm); - writel(dmasm | (DMA_STAT_FINI | DMA_STAT_ERR), - &lp->tx_dma_regs->dmasm); -+ -+ korina_tx(dev); - - if (lp->tx_chain_status == desc_filled && - (readl(&(lp->tx_dma_regs->dmandptr)) == 0)) { |