commit | 0b9aab8c1d08a3b8c6abda86a9320acbbf577747 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@gmail.com> | Sun Apr 12 22:58:27 2020 +0200 |
committer | marex <marex@desktop.lan> | Fri May 01 12:35:21 2020 +0200 |
tree | f976336b95826fa2fca62e7aa654ac359f10dfcf | |
parent | 111bcaeb633eabeec4263d3c4e3f8aad57691f39 [diff] |
net: rtl8139: Factor out hardware reset This hardware reset and reset-wait implementation was twice in the driver, factor it out into a separate function. This really should use wait_for_bit() eventually and return -ETIMEDOUT, but thus far, handling of any of this is missing from the driver. This must be added later. Thus far, no functional change. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com>