diff options
author | Kai-Heng Feng <kai.heng.feng@canonical.com> | 2018-06-21 10:30:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-22 07:07:57 +0200 |
commit | 671646c151d492c3846e6e6797e72ff757b5d65e (patch) | |
tree | 4b53cb1387037bb9c464cc4405f5c86aae2c10fc /drivers/net/ntb_netdev.c | |
parent | tcp_bbr: fix bbr pacing rate for internal pacing (diff) | |
download | linux-671646c151d492c3846e6e6797e72ff757b5d65e.tar.xz linux-671646c151d492c3846e6e6797e72ff757b5d65e.zip |
r8169: Don't disable ASPM in the driver
Enable or disable ASPM should be done in PCI core instead of in the
device driver.
Commit ba04c7c93bbc ("r8169: disable ASPM") uses
pci_disable_link_state() to disable ASPM, but it's not the best way to
do it. If the device really wants to disable ASPM, we can use a quirk in
PCI core to prevent the PCI core from setting ASPM before probe.
Let's remove pci_disable_link_state() for now. Use PCI core quirks if
any regression happens.
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ntb_netdev.c')
0 files changed, 0 insertions, 0 deletions