OSDN Git Service

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)
committerJakub Kicinski <kuba@kernel.org>
Sun, 8 Nov 2020 00:11:54 +0000 (16:11 -0800)
commitbff6f1db91e330d7fba56f815cdbc412c75fe163
tree6cd9534aa9a1da0d63b6b04f70041658f11acb9a
parentef9ac2091180c885208763ab1284b8c679fa553c
stmmac: intel: change all EHL/TGL to auto detect phy addr

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>
drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c