]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbd24cdd8ac6c57e16fcbc9dd8e409b5070567583
tree016f7f96cd6b498439256e7a6a70cd644b94176d
parent3c9ba9779b781369744af21298c8a686137b7f64
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