OSDN Git Service

net: phy: add helper phy_config_aneg
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 12 Jul 2018 19:31:54 +0000 (21:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Jul 2018 20:34:47 +0000 (13:34 -0700)
commit762995807059dec20c926617415e0cdd52fd44e9
treec74f0cd85085e6ecb77411d54a2472254bafeb5c
parent7f657d5bf507be0f059405306e860c4b3e40854b
net: phy: add helper phy_config_aneg

This functionality will also be needed in subsequent patches of this
series, therefore factor it out to a helper.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c