r8169: prepare for exporting rtl_hw_phy_config
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 9 Jan 2020 19:25:31 +0000 (20:25 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jan 2020 00:41:34 +0000 (16:41 -0800)
commitbecd837eebc529e0b95f5994c52f93df3baed039
tree016f7f96cd6b498439256e7a6a70cd644b94176d
parent916d08f640092397f403924f9b061d7d883a8217
r8169: prepare for exporting rtl_hw_phy_config

In preperation of factoring out the PHY configuration to a separate
source file this patch:
- avoids accessing rtl8169_private internals by passing the phy_device
  and mac_version as separate parameters
- renames rtl_hw_phy_config to r8169_hw_phy_config to avoid namespace
  clashes with other drivers for Realtek hardware

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169_main.c