X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fphy.h;h=4f2094bdf0b58f116d597c4ddbc47dfa610d4e4b;hb=77ca99d1a0d9fd46046d417b4247edb4e1b05d4e;hp=268d9a1823f93cd1eab151053b23743080f399d7;hpb=3c221af3c3bb4eadc0899f611c8b25bb95a1e09f;p=oweals%2Fu-boot.git diff --git a/include/phy.h b/include/phy.h index 268d9a1823..4f2094bdf0 100644 --- a/include/phy.h +++ b/include/phy.h @@ -15,6 +15,8 @@ #include #include +#define PHY_FIXED_ID 0xa5a55a5a + #define PHY_MAX_ADDR 32 #define PHY_FLAG_BROKEN_RESET (1 << 0) /* soft reset not supported */ @@ -61,6 +63,9 @@ typedef enum { PHY_INTERFACE_MODE_RGMII_TXID, PHY_INTERFACE_MODE_RTBI, PHY_INTERFACE_MODE_XGMII, + PHY_INTERFACE_MODE_XAUI, + PHY_INTERFACE_MODE_RXAUI, + PHY_INTERFACE_MODE_SFI, PHY_INTERFACE_MODE_NONE, /* Must be last */ PHY_INTERFACE_MODE_COUNT, @@ -80,6 +85,9 @@ static const char *phy_interface_strings[] = { [PHY_INTERFACE_MODE_RGMII_TXID] = "rgmii-txid", [PHY_INTERFACE_MODE_RTBI] = "rtbi", [PHY_INTERFACE_MODE_XGMII] = "xgmii", + [PHY_INTERFACE_MODE_XAUI] = "xaui", + [PHY_INTERFACE_MODE_RXAUI] = "rxaui", + [PHY_INTERFACE_MODE_SFI] = "sfi", [PHY_INTERFACE_MODE_NONE] = "", }; @@ -266,6 +274,8 @@ int phy_teranetics_init(void); 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);