]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: broadcom: Do not modify LED configuration for SFP module PHYs
authorRobert Hancock <robert.hancock@calian.com>
Tue, 16 Feb 2021 22:54:54 +0000 (16:54 -0600)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 Feb 2021 23:23:23 +0000 (15:23 -0800)
commit9e499eab867e9c4642b668ae345c8e130eebc6d1
tree7b62aa58d22fc255039bc02bb26d9a34847207f9
parenta6d8c13698657c9506fab031afa8be0778d160df
net: phy: broadcom: Do not modify LED configuration for SFP module PHYs

bcm54xx_config_init was modifying the PHY LED configuration to enable link
and activity indications. However, some SFP modules (such as Bel-Fuse
SFP-1GBT-06) have no LEDs but use the LED outputs to control the SFP LOS
signal, and modifying the LED settings will cause the LOS output to
malfunction. Skip this configuration for PHYs which are bound to an SFP
bus.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/broadcom.c