aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/drivers/net/ramips_eth.h
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-11 15:12:02 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-11 15:12:02 +0000
commit7bd7ddcf4e4b6d0abc6b921339d5701f77ce6928 (patch)
tree730b65fc10d723a3e5b321e02438fb05cdbd7e2c /target/linux/ramips/files/drivers/net/ramips_eth.h
parent647af823d9db74d069f4433ba2ccb0456bc81a14 (diff)
downloadupstream-7bd7ddcf4e4b6d0abc6b921339d5701f77ce6928.tar.gz
upstream-7bd7ddcf4e4b6d0abc6b921339d5701f77ce6928.tar.bz2
upstream-7bd7ddcf4e4b6d0abc6b921339d5701f77ce6928.zip
ramips: raeth: add rx_dma array to store the DMA address of the rx packets
SVN-Revision: 30445
Diffstat (limited to 'target/linux/ramips/files/drivers/net/ramips_eth.h')
-rw-r--r--target/linux/ramips/files/drivers/net/ramips_eth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ramips/files/drivers/net/ramips_eth.h b/target/linux/ramips/files/drivers/net/ramips_eth.h
index a69754b77a..7d5296b21b 100644
--- a/target/linux/ramips/files/drivers/net/ramips_eth.h
+++ b/target/linux/ramips/files/drivers/net/ramips_eth.h
@@ -219,6 +219,7 @@ struct raeth_priv
struct tasklet_struct rx_tasklet;
struct ramips_rx_dma *rx;
struct sk_buff *rx_skb[NUM_RX_DESC];
+ dma_addr_t rx_dma[NUM_RX_DESC];
dma_addr_t tx_desc_dma;
struct tasklet_struct tx_housekeeping_tasklet;