net: phy: bcm54xx: Encode link speed and activity into LEDs
authorVladimir Oltean <[email protected]>
Sat, 23 Mar 2019 22:18:46 +0000 (00:18 +0200)
committerDavid S. Miller <[email protected]>
Tue, 26 Mar 2019 18:24:47 +0000 (11:24 -0700)
commit450895d04ba13a96886eddfeddb11556ae8624f1
treec75603351b496c0f612f11b6cbb6bf81beebc429
parent9926cb5f8b0f0aea535735185600d74db7608550
net: phy: bcm54xx: Encode link speed and activity into LEDs

Previously the green and amber LEDs on this quad PHY were solid, to
indicate an encoding of the link speed (10/100/1000).

This keeps the LEDs always on just as before, but now they flash on
Rx/Tx activity.

Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/phy/broadcom.c
include/linux/brcmphy.h