commit | b3b3b08856b8500560d52e071315ea7c1061a141 | [log] [tgz] |
---|---|---|
author | Priyanka Jain <priyanka.jain@nxp.com> | Tue Jan 30 11:38:38 2018 +0530 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Mar 22 15:05:31 2018 -0500 |
tree | 7eb98f5528f6d8fdab26db011cb78461456ec90a | |
parent | 0e6101a94a6835a5c68696e2a5fc3cddb5e20362 [diff] |
net/phy/cortina.c: Update get_phy_id implementation Update get_phy_id() implementation in cortina.c to check for Cortina_phy by comparing device phy_id with cortina phy_id instead of relying on presence of CORTINA macros. This will allow get_phy_id to work with non-cortina phy devices which might have same phy address as Cortina device but on different bus. Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>