diff options
author | Johan Hovold <johan@kernel.org> | 2014-11-11 20:00:15 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-12 13:55:37 -0500 |
commit | 7b52314cc44569f56aa07abdbe43e6ccfcef9478 (patch) | |
tree | 0e59c69d42c2855ae5f63966596b7c22faba897a /drivers/net/phy | |
parent | 5a16778efccc057251dd19f7ec84c8c99bcee8ad (diff) | |
download | op-kernel-dev-7b52314cc44569f56aa07abdbe43e6ccfcef9478.zip op-kernel-dev-7b52314cc44569f56aa07abdbe43e6ccfcef9478.tar.gz |
net: phy: micrel: enable led-mode for KSZ8081/KSZ8091
Enable led-mode configuration for KSZ8081 and KSZ8091.
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/micrel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index 12e18f7..30e894d 100644 --- a/drivers/net/phy/micrel.c +++ b/drivers/net/phy/micrel.c @@ -265,6 +265,7 @@ static int ks8051_config_init(struct phy_device *phydev) static int ksz8081_config_init(struct phy_device *phydev) { kszphy_broadcast_disable(phydev); + kszphy_setup_led(phydev, MII_KSZPHY_CTRL_2); return 0; } |