]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: ar803x: disable extended next page bit
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 12 Jan 2021 22:59:43 +0000 (22:59 +0000)
committerJakub Kicinski <kuba@kernel.org>
Thu, 14 Jan 2021 23:36:32 +0000 (15:36 -0800)
commit7f4a2439e812f6b9344f4db622386a886a0b8a24
tree1aea27a33e80e6e8e54b8fe63be9aee6afe5eab7
parentb77baaa373c7c5e1678c4e1b074b793bb1bf611b
net: phy: ar803x: disable extended next page bit

This bit is enabled by default and advertises support for extended
next page support.  XNP is only needed for 10GBase-T and MultiGig
support which is not supported. Additionally, Cisco MultiGig switches
will read this bit and attempt 10Gb negotiation even though Next Page
support is disabled. This will cause timeouts when the interface is
forced to 100Mbps and auto-negotiation will fail. The interfaces are
only 1000Base-T and supporting auto-negotiation for this only requires
the Next Page bit to be set.

Taken from:
https://github.com/SolidRun/linux-stable/commit/7406c5244b7ea6bc17a2afe8568277a8c4b126a9
and adapted to mainline kernels by rmk.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/E1kzSdb-000417-FJ@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/at803x.c