[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1580137671-22081-1-git-send-email-madalin.bucur@oss.nxp.com>
Date: Mon, 27 Jan 2020 17:07:49 +0200
From: Madalin Bucur <madalin.bucur@....nxp.com>
To: davem@...emloft.net
Cc: andrew@...n.ch, f.fainelli@...il.com, hkallweit1@...il.com,
netdev@...r.kernel.org, ykaukab@...e.de,
Madalin Bucur <madalin.bucur@....nxp.com>
Subject: [PATCH v2 0/2] net: phy: aquantia: indicate rate adaptation
Changes since v1:
rewrote commit messages to evidentiate that this is a PHY
generic feature, not a particular feature of the Aquantia
PHYs and added more details on how the 1G link issue this
is circumventing came about.
This patch-set introduces a bit into the phy_device
structure to indicate the PHYs ability to do rate
adaptation between the system and line interfaces and
sets this bit for the Aquantia PHYs that have this feature.
By taking into account the presence of the said bit, address
an issue with the LS1046ARDB board 10G interface no longer
working with an 1G link partner after autonegotiation support
was added for the Aquantia PHY on board in
commit 09c4c57f7bc4 ("net: phy: aquantia: add support for auto-negotiation configuration")
Before this commit the values advertised by the PHY were not
influenced by the dpaa_eth driver removal of system-side unsupported
modes as the aqr_config_aneg() was basically a no-op. After this
commit, the modes removed by the dpaa_eth driver were no longer
advertised thus autonegotiation with 1G link partners failed.
Madalin Bucur (2):
net: phy: aquantia: add rate_adaptation indication
dpaa_eth: support all modes with rate adapting PHYs
drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 10 +++++++---
drivers/net/phy/aquantia_main.c | 3 +++
include/linux/phy.h | 3 +++
3 files changed, 13 insertions(+), 3 deletions(-)
--
2.1.0
Powered by blists - more mailing lists