diff options
author | Hayes Wang <hayeswang@realtek.com> | 2019-09-05 10:46:20 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-05 12:41:11 +0200 |
commit | 0e5b36bc4c1fccfc18dd851d960781589c16dae8 (patch) | |
tree | 1702ed64d1d5a2703d1ee63b1b0b3645ad4e8e9e /drivers/net/ethernet/netronome | |
parent | 5e5d8bc4a07319aa6961b6ee2d4813626e1fcf13 (diff) |
r8152: adjust the settings of ups flags
The UPS feature only works for runtime suspend, so UPS flags only
need to be set before enabling runtime suspend. Therefore, I create
a struct to record relative information, and use it before runtime
suspend.
All chips could record such information, even though not all of
them support the feature of UPS. Then, some functions could be
combined.
Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/netronome')
0 files changed, 0 insertions, 0 deletions