OSDN Git Service

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)
commitb856150c8098f12996ee81c3ab2a65adbaeeb3ec
treeb6242bc726582ce79fecc55693ef68ead79b7be0
parentf9beb95e6a2669fa35e34a6ff52808b181efa20f
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