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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user