1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 19:01:54 +02:00

ramips: raeth: add netdev pointer to private structure

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30448 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg 2012-02-11 15:12:06 +00:00
parent 1e38789510
commit 5b41176cdc
2 changed files with 2 additions and 0 deletions

View File

@ -518,6 +518,7 @@ ramips_eth_plat_probe(struct platform_device *plat)
priv = netdev_priv(ramips_dev);
priv->netdev = ramips_dev;
priv->speed = data->speed;
priv->duplex = data->duplex;
priv->rx_fc = data->rx_fc;

View File

@ -229,6 +229,7 @@ struct raeth_priv
unsigned int skb_free_idx;
spinlock_t page_lock;
struct net_device *netdev;
struct ramips_eth_platform_data *plat;
int speed;