aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/netronome
diff options
context:
space:
mode:
authorHayes Wang <hayeswang@realtek.com>2019-09-05 10:46:20 +0800
committerDavid S. Miller <davem@davemloft.net>2019-09-05 12:41:11 +0200
commit0e5b36bc4c1fccfc18dd851d960781589c16dae8 (patch)
tree1702ed64d1d5a2703d1ee63b1b0b3645ad4e8e9e /drivers/net/ethernet/netronome
parentnet: hns: Move static keyword to the front of declaration (diff)
downloadlinux-dev-0e5b36bc4c1fccfc18dd851d960781589c16dae8.tar.xz
linux-dev-0e5b36bc4c1fccfc18dd851d960781589c16dae8.zip
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