]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: phy: allow EEE with any interface mode
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 31 Mar 2017 09:37:18 +0000 (10:37 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Apr 2017 03:04:03 +0000 (20:04 -0700)
commit32d751412b8baf977deb3b2dce72025a98cbdd5e
tree424636674cf5fc43076477500cb622e158d35ff5
parentf75abeb8338e2d5bcdfc393dff3950a7039eab5a
net: phy: allow EEE with any interface mode

EEE is able to work in any PHY interface mode, there is nothing which
fundamentally restricts it to only a few modes.  For example, EEE works
in SGMII mode with the Marvell 88E1512.

Rather than just adding SGMII mode to the list, Florian suggests
removing the list of interface modes entirely:

  It actually sounds like we should just kill the check entirely,
  it does not appear that any of the interface mode would not
  fundamentally be able to support EEE, because the "lowest" mode
  we support is MII, and even there it's quite possible to support
  EEE.

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