]> git.baikalelectronics.ru Git - kernel.git/commit
phylink: get rid of separate Cisco SGMII and 802.3z modes
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 1 Dec 2017 10:24:26 +0000 (10:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 16:16:18 +0000 (11:16 -0500)
commit1ee6dd53fb6463476d2c5a3aa5a4e0ee7a6b7186
tree0832439d2d96175fcc7e9d5f7427570b909b7494
parent73136facdcb88ab436ef3706167b6a17fbd106cb
phylink: get rid of separate Cisco SGMII and 802.3z modes

Since the handling of SGMII and 802.3z is now the same, combine the
MLO_AN_xxx constants into a single MLO_AN_INBAND, and use the PHY
interface mode to distinguish between Cisco SGMII and 802.3z.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c
include/linux/phylink.h