mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 06:43:43 +02:00
ramips: raeth: use the NUM_TX_DESC for the tx_skb array
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30439 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f9626b56d5
commit
b10ad5f4e0
@ -222,7 +222,7 @@ struct raeth_priv
|
|||||||
unsigned int phy_tx;
|
unsigned int phy_tx;
|
||||||
struct tasklet_struct tx_housekeeping_tasklet;
|
struct tasklet_struct tx_housekeeping_tasklet;
|
||||||
struct ramips_tx_dma *tx;
|
struct ramips_tx_dma *tx;
|
||||||
struct sk_buff *tx_skb[NUM_RX_DESC];
|
struct sk_buff *tx_skb[NUM_TX_DESC];
|
||||||
|
|
||||||
unsigned int skb_free_idx;
|
unsigned int skb_free_idx;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user