]> git.sur5r.net Git - u-boot/blobdiff - include/phy.h
drivers/net/phy: add fixed-phy / fixed-link support
[u-boot] / include / phy.h
index 5477496e0e4117a87650914b2d258da0cb76a5e9..f5fdc04b6eda5d1ec205f39d5c7bb7246b766df3 100644 (file)
@@ -15,6 +15,8 @@
 #include <linux/ethtool.h>
 #include <linux/mdio.h>
 
+#define PHY_FIXED_ID           0xa5a55a5a
+
 #define PHY_MAX_ADDR 32
 
 #define PHY_FLAG_BROKEN_RESET  (1 << 0) /* soft reset not supported */
@@ -267,6 +269,7 @@ int phy_ti_init(void);
 int phy_vitesse_init(void);
 int phy_xilinx_init(void);
 int phy_mscc_init(void);
+int phy_fixed_init(void);
 
 int board_phy_config(struct phy_device *phydev);
 int get_phy_id(struct mii_dev *bus, int addr, int devad, u32 *phy_id);