]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/phy.h
ubi: Expose a few simple functions from the cmd_ubi
[karo-tx-uboot.git] / include / phy.h
index 3c30f115b6e02c32c71f51c749072b6a363f9280..58ca2730c84eac4419b384954f3f8b2c50a503cf 100644 (file)
@@ -199,6 +199,9 @@ static inline int is_10g_interface(phy_interface_t interface)
 
 int phy_init(void);
 int phy_reset(struct phy_device *phydev);
+struct phy_device *phy_find_by_mask(struct mii_dev *bus, unsigned phy_mask,
+               phy_interface_t interface);
+void phy_connect_dev(struct phy_device *phydev, struct eth_device *dev);
 struct phy_device *phy_connect(struct mii_dev *bus, int addr,
                                struct eth_device *dev,
                                phy_interface_t interface);