diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-05-24 23:24:19 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-27 07:56:41 +0300 |
commit | 476cc6c964a92a67aeec1597d6d40f5bbbdf1b03 (patch) | |
tree | c3d313e719ddea2897fa3e3776ca6f9a38429cfb /net/ipv4/xfrm4_policy.c | |
parent | 8fb91c3550c4666d4c37b5494b1c68aa9c3284a5 (diff) | |
download | linux-476cc6c964a92a67aeec1597d6d40f5bbbdf1b03.tar.xz |
net: phy: bcm87xx: improve bcm87xx_config_init and feature detection
PHY drivers don't have to and shouldn't fiddle with phylib internals.
Most of the code in bcm87xx_config_init() can be removed because
phylib takes care.
In addition I replaced usage of PHY_10GBIT_FEC_FEATURES with an
implementation of the get_features callback. PHY_10GBIT_FEC_FEATURES
is used by this driver only and it's questionable whether there
will be any other PHY supporting this mode only. Having said that
in one of the next kernel versions we may decide to remove it.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_policy.c')
0 files changed, 0 insertions, 0 deletions