commit | cf18b7788fe1bf99e9c2ab580b065bf2d3cb1a34 | [log] [tgz] |
---|---|---|
author | Jérôme Pouiller <jezz@sysmic.org> | Thu Dec 03 10:02:35 2015 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 03 15:26:13 2015 -0500 |
tree | 32f7b797da77ecb96c17ab5b7fee48cbbd562ff1 | |
parent | c5ba5c8ac86591f5ee2570ec989377cdda2be237 [diff] |
net: phy: reset only targeted phy It is possible to address another chip on same MDIO bus. The case is correctly handled for media advertising. It is taken into account only if mii_data->phy_id == phydev->addr. However, this condition was missing for reset case. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: David S. Miller <davem@davemloft.net>