ramips: raeth: add netdev pointer to private structure
SVN-Revision: 30448
This commit is contained in:
parent
c6fa11d00f
commit
1fd8724e94
2 changed files with 2 additions and 0 deletions
|
@ -518,6 +518,7 @@ ramips_eth_plat_probe(struct platform_device *plat)
|
||||||
|
|
||||||
priv = netdev_priv(ramips_dev);
|
priv = netdev_priv(ramips_dev);
|
||||||
|
|
||||||
|
priv->netdev = ramips_dev;
|
||||||
priv->speed = data->speed;
|
priv->speed = data->speed;
|
||||||
priv->duplex = data->duplex;
|
priv->duplex = data->duplex;
|
||||||
priv->rx_fc = data->rx_fc;
|
priv->rx_fc = data->rx_fc;
|
||||||
|
|
|
@ -229,6 +229,7 @@ struct raeth_priv
|
||||||
unsigned int skb_free_idx;
|
unsigned int skb_free_idx;
|
||||||
|
|
||||||
spinlock_t page_lock;
|
spinlock_t page_lock;
|
||||||
|
struct net_device *netdev;
|
||||||
struct ramips_eth_platform_data *plat;
|
struct ramips_eth_platform_data *plat;
|
||||||
|
|
||||||
int speed;
|
int speed;
|
||||||
|
|
Loading…
Reference in a new issue