aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips/include/asm/mach-ralink
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2009-10-25 00:11:08 +0000
committerJohn Crispin <blogic@openwrt.org>2009-10-25 00:11:08 +0000
commit9914ec266667b9baebd7ec83d2d976606e138e17 (patch)
treeca1afec743c4a601c4327edd4f550d09e30f44e5 /target/linux/ramips/files/arch/mips/include/asm/mach-ralink
parente194dc2fef2dc04d8cce7f530c8450e90d91bfcf (diff)
downloadmaster-187ad058-9914ec266667b9baebd7ec83d2d976606e138e17.tar.gz
master-187ad058-9914ec266667b9baebd7ec83d2d976606e138e17.tar.bz2
master-187ad058-9914ec266667b9baebd7ec83d2d976606e138e17.zip
[ramips] fixes dma hangups in eth
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18139 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include/asm/mach-ralink')
-rw-r--r--target/linux/ramips/files/arch/mips/include/asm/mach-ralink/eth.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/eth.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/eth.h
index 27cf6dffff..efacc5d1ec 100644
--- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/eth.h
+++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/eth.h
@@ -199,15 +199,17 @@ struct ramips_eth_platform_data
struct raeth_priv
{
unsigned int phy_rx;
- struct tasklet_struct rx_tasklet;
- struct ramips_rx_dma *rx;
+ struct tasklet_struct rx_tasklet;
+ struct ramips_rx_dma *rx;
+ struct sk_buff *rx_skb[NUM_RX_DESC];
unsigned int phy_tx;
- struct tasklet_struct tx_housekeeping_tasklet;
- struct ramips_tx_dma *tx;
+ struct tasklet_struct tx_housekeeping_tasklet;
+ struct ramips_tx_dma *tx;
+ struct sk_buff *tx_skb[NUM_RX_DESC];
- unsigned int skb_free_idx;
- struct net_device_stats stat;
+ unsigned int skb_free_idx;
+ struct net_device_stats stat;
struct ramips_eth_platform_data *plat;
};