]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: phy: aquantia: add essential functions to aqr105 driver
authorHans-Frieder Vogt <hfdevel@gmx.net>
Sat, 22 Mar 2025 10:45:55 +0000 (11:45 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Mar 2025 20:53:21 +0000 (13:53 -0700)
commite31e67f58cf2acc6ef25462b1479a2a8d8f82e57
treec04f45cf9384a312b2150e883a1031d40b3cb652
parent5f27092328ce47104d2d569bab4d6ec329cb6fec
net: phy: aquantia: add essential functions to aqr105 driver

This patch makes functions that were provided for aqr107 applicable to
aqr105, or replaces generic functions with specific ones. Since the aqr105
was introduced before NBASE-T was defined (or 802.3bz), there are a number
of vendor specific registers involved in the definition of the
advertisement, in auto-negotiation and in the setting of the speed. The
functions have been written following the downstream driver for TN4010
cards with aqr105 PHY, and use code from aqr107 functions wherever it
seemed to make sense.

Signed-off-by: Hans-Frieder Vogt <hfdevel@gmx.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20250322-tn9510-v3a-v7-4-672a9a3d8628@gmx.net
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/aquantia/aquantia_main.c