diff options
author | Harini Katakam <harini.katakam@xilinx.com> | 2019-03-01 16:20:32 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-03 13:51:37 -0800 |
commit | 8beb79b7ae937632db1d2721d33b46526d41f153 (patch) | |
tree | a940e3543aed8ead37ac363865e0764a361c6c5a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 41bc0ddb80e0380ab88b3902e638c89b3453b421 (diff) |
net: macb: Check MDIO state before read/write and use timeouts
Replace the while loop in MDIO read/write functions with a timeout.
In addition, add a check for MDIO bus busy before initiating a new
operation as well to make sure there is no ongoing MDIO operation.
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Signed-off-by: Harini Katakam <harini.katakam@xilinx.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions