diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-05-29 21:15:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-30 14:39:25 -0700 |
commit | ce8843abfa674350bf0f4f1b88d8e50a59401a46 (patch) | |
tree | 7c43c8864d48bf08cfe8320b1a3040642381e7af /drivers/net/ethernet/3com | |
parent | r8169: improve rtl_fw_format_ok (diff) | |
download | linux-dev-ce8843abfa674350bf0f4f1b88d8e50a59401a46.tar.xz linux-dev-ce8843abfa674350bf0f4f1b88d8e50a59401a46.zip |
r8169: decouple rtl_phy_write_fw from actual driver code
This patch is a further step towards decoupling firmware handling from
the actual driver code. Firmware can be for PHY and/or MAC, and two
pairs of read/write functions are needed for handling PHY firmware and
MAC firmware respectively. Pass these functions via struct rtl_fw and
avoid the ugly switching of mdio_ops behind the back of rtl_writephy().
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/3com')
0 files changed, 0 insertions, 0 deletions