commit | f0528ce7a43d51090b45cf27c53e4b343facaade | [log] [tgz] |
---|---|---|
author | Florian Fainelli <f.fainelli@gmail.com> | Fri Dec 06 13:01:32 2013 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Dec 09 20:38:58 2013 -0500 |
tree | 81778416d557498eb92fa4f453e80712f56079ca | |
parent | 2613f95f614b39681f77a5036046ea395e306e28 [diff] |
net: greth: use phy_read_status() In case the greth driver is bound to anything but the Generic PHY driver or the PHY has a special read_status callback implemented, unexpected things will happen. Make sure we that we use phy_read_status() which does the proper abstraction of calling the driver specific read_status() callback for a given PHY. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>