diff options
author | John Crispin <john@openwrt.org> | 2009-10-25 00:11:08 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2009-10-25 00:11:08 +0000 |
commit | c23f92244cdb69c98b49a7441118464ceba74340 (patch) | |
tree | 64dc898a6e4863b02feac5e665ce1f8ccf7acfa7 /target/linux/ramips/files/arch/mips | |
parent | 7aaaa2c94695bc63effa890487c170359139b94b (diff) | |
download | master-31e0f0ae-c23f92244cdb69c98b49a7441118464ceba74340.tar.gz master-31e0f0ae-c23f92244cdb69c98b49a7441118464ceba74340.tar.bz2 master-31e0f0ae-c23f92244cdb69c98b49a7441118464ceba74340.zip |
fixes dma hangups in eth
SVN-Revision: 18139
Diffstat (limited to 'target/linux/ramips/files/arch/mips')
-rw-r--r-- | target/linux/ramips/files/arch/mips/include/asm/mach-ralink/eth.h | 14 |
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; }; |