]> git.baikalelectronics.ru Git - uboot.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)
commit7b6498b58acb50839f89c4f7895a5c63f88384f7
treec0df52edb675c436d4bcd5b2a8153e9756a71c49
parentce759190fcdcc8c3e4efc5462eb23d69c10a8152
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