summaryrefslogtreecommitdiff
path: root/drivers/net/pcs
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-03-21 15:58:44 +0000
committerJakub Kicinski <kuba@kernel.org>2023-03-22 22:43:05 -0700
commit99d0f3a1095f4c938b1665025c29411edafe8a01 (patch)
tree5a2ba1ba301467e3939f1b393aa9504172072664 /drivers/net/pcs
parent1cc6571f562774f1d928dc8b3cff50829b86e970 (diff)
downloadlwn-99d0f3a1095f4c938b1665025c29411edafe8a01.tar.gz
lwn-99d0f3a1095f4c938b1665025c29411edafe8a01.zip
net: dpaa2-mac: use Autoneg bit rather than an_enabled
The Autoneg bit in the advertising bitmap and state->an_enabled are always identical. Thus, we will be removing state->an_enabled. Use the Autoneg bit in the advertising bitmap to indicate whether autonegotiation should be used, rather than using the an_enabled member which will be going away. This means we use the same condition as phylink_mii_c22_pcs_config(). Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Reviewed-by: Simon Horman <simon.horman@corigine.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/pcs')
0 files changed, 0 insertions, 0 deletions