kernel: ar8216: add get_features method
authorDavid Bauer <mail@david-bauer.net>
Wed, 2 Jun 2021 17:34:01 +0000 (19:34 +0200)
committerDavid Bauer <mail@david-bauer.net>
Wed, 2 Jun 2021 22:00:46 +0000 (00:00 +0200)
Modifying PHY capabilities in the probe function broke with upstream
commit 92ed2eb7f4b7 ("net: phy: probe the PHY before determining the
supported features").

AR8316 switches only support 10/100 Mbit/s link modes because of this
change.

Provide a get_features method for the PHY driver, so Gigabit link mode
will be advertised to link partners again.

Signed-off-by: David Bauer <mail@david-bauer.net>

No differences found