]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'net-phy-support-1000Base-X-auto-negotiation-for-BCM54616S'
authorDavid S. Miller <davem@davemloft.net>
Thu, 24 Oct 2019 03:42:53 +0000 (20:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Oct 2019 03:42:53 +0000 (20:42 -0700)
commit2ebc499a0f4f7984b50b27044a337409df9292b3
treecb1b86e9a89be628e03f454b138afcf1242dd129
parent406715df933ad6a1b8b0545e7689aa5f4ac27922
parentb9bcb95315febd09419ab870ddc7cb98a393f9d0
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>