public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next v10 0/3] net: phy: support 1000Base-X auto-negotiation for BCM54616S
@ 2019-10-22 18:31 rentao.bupt
  2019-10-22 18:31 ` [PATCH net-next v10 1/3] net: phy: modify assignment to OR for dev_flags in phy_attach_direct rentao.bupt
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: rentao.bupt @ 2019-10-22 18:31 UTC (permalink / raw)
  To: David S . Miller, Andrew Lunn, Florian Fainelli, Heiner Kallweit,
	Russell King, Vladimir Oltean, Arun Parameswaran, Justin Chen,
	netdev, linux-kernel, openbmc
  Cc: Tao Ren

From: Tao Ren <rentao.bupt@gmail.com>

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.

Heiner Kallweit (1):
  net: phy: add support for clause 37 auto-negotiation

Tao Ren (2):
  net: phy: modify assignment to OR for dev_flags in phy_attach_direct
  net: phy: broadcom: add 1000Base-X support for BCM54616S

 drivers/net/phy/broadcom.c   |  57 +++++++++++++-
 drivers/net/phy/phy_device.c | 141 ++++++++++++++++++++++++++++++++++-
 include/linux/brcmphy.h      |  10 ++-
 include/linux/phy.h          |   4 +
 4 files changed, 205 insertions(+), 7 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-24  6:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-22 18:31 [PATCH net-next v10 0/3] net: phy: support 1000Base-X auto-negotiation for BCM54616S rentao.bupt
2019-10-22 18:31 ` [PATCH net-next v10 1/3] net: phy: modify assignment to OR for dev_flags in phy_attach_direct rentao.bupt
2019-10-22 18:31 ` [PATCH net-next v10 2/3] net: phy: add support for clause 37 auto-negotiation rentao.bupt
2019-10-22 18:31 ` [PATCH net-next v10 3/3] net: phy: broadcom: add 1000Base-X support for BCM54616S rentao.bupt
2019-10-24  3:43 ` [PATCH net-next v10 0/3] net: phy: support 1000Base-X auto-negotiation " David Miller
2019-10-24  6:29   ` Tao Ren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox