Merge branch 'net-phy-support-1000Base-X-auto-negotiation-for-BCM54616S'
Tao Ren says:
====================
net: phy: support 1000Base-X auto-negotiation for BCM54616S
This patch series aims at supporting auto negotiation when BCM54616S is
running in 1000Base-X mode: without the patch series, BCM54616S PHY driver
would report incorrect link speed in 1000Base-X mode.
Patch #1 (of 3) modifies assignment to OR when dealing with dev_flags in
phy_attach_direct function, so that dev_flags updated in BCM54616S PHY's
probe callback won't be lost.
Patch #2 (of 3) adds several genphy_c37_* functions to support clause 37
1000Base-X auto-negotiation, and these functions are called in BCM54616S
PHY driver.
Patch #3 (of 3) detects BCM54616S PHY's operation mode and calls according
genphy_c37_* functions to configure auto-negotiation and parse link
attributes (speed, duplex, and etc.) in 1000Base-X mode.
====================
Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/phy/broadcom.c 53 additions, 4 deletionsdrivers/net/phy/broadcom.c
- drivers/net/phy/phy_device.c 140 additions, 1 deletiondrivers/net/phy/phy_device.c
- include/linux/brcmphy.h 8 additions, 2 deletionsinclude/linux/brcmphy.h
- include/linux/phy.h 4 additions, 0 deletionsinclude/linux/phy.h
Please register or sign in to comment