1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[ramips] fixes dma hangups in eth

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18139 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
blogic
2009-10-25 00:11:08 +00:00
parent 2c5998b74d
commit 15585654b9
3 changed files with 25 additions and 19 deletions

View File

@@ -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;
};