diff options
author | jbrunet <jbrunet@baylibre.com> | 2016-12-19 16:05:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-12-20 19:50:50 +0100 |
commit | 57f3986231bb2c69a55ccab1d2b30a00818027ac (patch) | |
tree | d8f5ef128594628be03ba735e825f4bf9da3b071 /include | |
parent | net: phy: fix sign type error in genphy_config_eee_advert (diff) | |
download | linux-57f3986231bb2c69a55ccab1d2b30a00818027ac.tar.xz linux-57f3986231bb2c69a55ccab1d2b30a00818027ac.zip |
net: phy: use boolean dt properties for eee broken modes
The patches regarding eee-broken-modes was merged before all people
involved could find an agreement on the best way to move forward.
While we agreed on having a DT property to mark particular modes as broken,
the value used for eee-broken-modes mapped the phy register in very direct
way. Because of this, the concern is that it could be used to implement
configuration policies instead of describing a broken HW.
In the end, having a boolean property for each mode seems to be preferred
over one bit field value mapping the register (too) directly.
Cc: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions