]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/phy.h
am33xx/omap: Enable CONFIG_OF_CONTROL
[karo-tx-uboot.git] / include / phy.h
index f86ffb92072be303e173628c8f1692e5b5e2f2b8..d3ecd6378b3b97b718748ad06a8346a8dc409f03 100644 (file)
@@ -125,6 +125,9 @@ struct phy_driver {
        /* Called when bringing down the controller */
        int (*shutdown)(struct phy_device *phydev);
 
+       int (*readext)(struct phy_device *phydev, int addr, int devad, int reg);
+       int (*writeext)(struct phy_device *phydev, int addr, int devad, int reg,
+                       u16 val);
        struct list_head list;
 };
 
@@ -231,6 +234,8 @@ int phy_smsc_init(void);
 int phy_teranetics_init(void);
 int phy_vitesse_init(void);
 
+int board_phy_config(struct phy_device *phydev);
+
 /* PHY UIDs for various PHYs that are referenced in external code */
 #define PHY_UID_TN2020 0x00a19410