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

ramips: raeth: add PHYLIB support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30547 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
juhosg
2012-02-15 06:47:12 +00:00
parent f166258123
commit d214321c8c
5 changed files with 229 additions and 10 deletions

View File

@@ -229,10 +229,11 @@ struct raeth_priv
unsigned int skb_free_idx;
spinlock_t page_lock;
struct net_device *netdev;
struct net_device *netdev;
struct device *parent;
struct ramips_eth_platform_data *plat;
int link;
int speed;
int duplex;
int tx_fc;
@@ -240,6 +241,8 @@ struct raeth_priv
struct mii_bus *mii_bus;
int mii_irq[PHY_MAX_ADDR];
struct phy_device *phy_dev;
spinlock_t phy_lock;
};
#endif /* RAMIPS_ETH_H */