stmmac: intel: change all EHL/TGL to auto detect phy addr
authorVoon Weifeng <weifeng.voon@intel.com>
Fri, 6 Nov 2020 09:43:41 +0000 (17:43 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Jan 2021 17:27:22 +0000 (18:27 +0100)
commit53e976bb07081324aa6d8d35bc78e09e00e56b6a
tree0a6999324568167765ed8149b3f9003b01761fc5
parent7c5b2049caadbaa4a30ccafc1a9817c12bb3ff98
stmmac: intel: change all EHL/TGL to auto detect phy addr

commit bff6f1db91e330d7fba56f815cdbc412c75fe163 upstream.

Set all EHL/TGL phy_addr to -1 so that the driver will automatically
detect it at run-time by probing all the possible 32 addresses.

Signed-off-by: Voon Weifeng <weifeng.voon@intel.com>
Signed-off-by: Wong Vee Khee <vee.khee.wong@intel.com>
Link: https://lore.kernel.org/r/20201106094341.4241-1-vee.khee.wong@intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c