OSDN Git Service

phy: add sgmii and 10gkr modes to the phy_mode enum
authorAntoine Tenart <antoine.tenart@free-electrons.com>
Wed, 30 Aug 2017 08:29:12 +0000 (10:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 30 Aug 2017 22:17:45 +0000 (15:17 -0700)
commit5c23f2dc8eeb5a6010cb66119d942361bc8ec833
tree46b7d799ebef1945ea412d7cf34fdc6a93780fa2
parentd36b82bcdd1908450f8c3ba3f9b7a189cda8c69c
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 <antoine.tenart@free-electrons.com>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/phy/phy.h