]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: dsa: felix: configure the in-band autoneg property based on OF node info
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 29 Sep 2021 15:04:40 +0000 (18:04 +0300)
committerRamon Fried <rfried.dev@gmail.com>
Tue, 23 Nov 2021 07:57:55 +0000 (09:57 +0200)
commite3789a726269ce6c6e78277930cd1c2633e959a5
treec0df52edb675c436d4bcd5b2a8153e9756a71c49
parent2dd6acb795962638cf57dd5e1248dd30588ae7a7
net: dsa: felix: configure the in-band autoneg property based on OF node info

Instead of trying to guess which operating modes need in-band
negotiation to be active and which ones don't, parse the available
information from the device tree. That will be correct in the cases we
can already guess, and more.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Ramon Fried <rfried.dev@gmail.com>
drivers/net/mscc_eswitch/felix_switch.c