mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
As noted in the blamed commit, the AR8035 and other PHYs from this
family advertise the Extended Next Page support by default, which may be
understood by some partners as this PHY being multi-gig capable.
The fix is to disable XNP advertising, which is done by setting bit 12
of the Auto-Negotiation Advertisement Register (MII_ADVERTISE).
The blamed commit incorrectly uses MDIO_AN_CTRL1_XNP, which is bit 13 as per
802.3 : 45.2.7.1 AN control register (Register 7.0)
BIT 12 in MII_ADVERTISE is wrapped by ADVERTISE_RESV, used by some
drivers such as the aquantia one. 802.3 Clause 28 defines bit 12 as
Extended Next Page ability, at least in recent versions of the standard.
Let's add a define for it and use it in the at803x driver.
Fixes:
|
||
|---|---|---|
| .. | ||
| at803x.c | ||
| Kconfig | ||
| Makefile | ||
| qca83xx.c | ||
| qca807x.c | ||
| qca808x.c | ||
| qcom-phy-lib.c | ||
| qcom.h | ||