]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit05c903a64cd35959e4fccde8c9cbb05b4d621ad4
tree6cd9534aa9a1da0d63b6b04f70041658f11acb9a
parent74f6a55c7782679b1cfb1e9858682d25c6b31784
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