]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: update pci platform data to use phy_interface
authorVoon Weifeng <weifeng.voon@intel.com>
Fri, 7 Feb 2020 07:34:28 +0000 (15:34 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Feb 2020 10:36:22 +0000 (11:36 +0100)
commit149655a882ea27a3b686b067252c9f668167b850
treeeaa7ef53c7972935fddf3808c745a55bc032cb88
parent5c62af287cdd3650647b2050e6bd3e8dd3d7e6a5
net: stmmac: update pci platform data to use phy_interface

The recent patch to support passive mode converter did not take care the
phy interface configuration in PCI platform data. Hence, converting all
the PCI platform data from plat->interface to plat->phy_interface as the
default mode is meant for PHY.

Fixes: 0da4b6760919 ("net: stmmac: implement support for passive mode converters via dt")
Signed-off-by: Voon Weifeng <weifeng.voon@intel.com>
Tested-by: Tan, Tee Min <tee.min.tan@intel.com>
Signed-off-by: Ong Boon Leong <boon.leong.ong@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c