From: Antoine Tenart Date: Wed, 30 Aug 2017 08:29:12 +0000 (+0200) Subject: phy: add sgmii and 10gkr modes to the phy_mode enum X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5c23f2dc8eeb5a6010cb66119d942361bc8ec833;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git phy: add sgmii and 10gkr modes to the phy_mode enum This patch adds more generic PHY modes to the phy_mode enum, to allow configuring generic PHYs to the SGMII and/or the 10GKR mode by using the set_mode callback. Signed-off-by: Antoine Tenart Acked-by: Kishon Vijay Abraham I Signed-off-by: David S. Miller --- diff --git a/include/linux/phy/phy.h b/include/linux/phy/phy.h index 78bb0d7f6b11..e694d4008c4a 100644 --- a/include/linux/phy/phy.h +++ b/include/linux/phy/phy.h @@ -27,6 +27,8 @@ enum phy_mode { PHY_MODE_USB_HOST, PHY_MODE_USB_DEVICE, PHY_MODE_USB_OTG, + PHY_MODE_SGMII, + PHY_MODE_10GKR, }; /**