]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: at803x: mask 1000 Base-X link mode
authorDavid Bauer <mail@david-bauer.net>
Sun, 27 Jun 2021 10:16:07 +0000 (12:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jun 2021 22:47:57 +0000 (15:47 -0700)
commite416037b1d0e79225c6b028bb37d2b9d2e0ce422
treeb6242bc726582ce79fecc55693ef68ead79b7be0
parent42a505d96c115296129243590b28b48c18e32763
net: phy: at803x: mask 1000 Base-X link mode

AR8031/AR8033 have different status registers for copper
and fiber operation. However, the extended status register
is the same for both operation modes.

As a result of that, ESTATUS_1000_XFULL is set to 1 even when
operating in copper TP mode.

Remove this mode from the supported link modes, as this driver
currently only supports copper operation.

Signed-off-by: David Bauer <mail@david-bauer.net>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c