commit | 0cead3a6a1abd1f1656e302d876e985aadf8d8d2 | [log] [tgz] |
---|---|---|
author | Karicheri, Muralidharan <m-karicheri2@ti.com> | Fri Jan 06 15:37:42 2017 -0500 |
committer | David S. Miller <davem@davemloft.net> | Sat Jan 07 21:03:50 2017 -0500 |
tree | 749ac683c970c69282a38749b1bac78be7c9f99e | |
parent | 6a8162e99ef344fcffe14c9a4d1061493c4a81a4 [diff] |
net: netcp: ethss: get phy-handle only if link interface is MAC-to-PHY Currently to parse phy-handle, driver doesn't check if the interface is MAC to PHY. This patch add this check for all MAC to PHY interface types supported by the driver. Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>