projects
/
10.03
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ramips] fixes dma hangups in eth
[10.03/openwrt.git]
/
target
/
linux
/
ramips
/
files
/
arch
/
mips
/
include
/
asm
/
mach-ralink
/
eth.h
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
27cf6df
..
efacc5d
100644
(file)
--- 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 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;
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;
};
struct ramips_eth_platform_data *plat;
};