diff mbox

[1/2] Add Quirk for Atheros AR9485 No Bus Reset

Message ID 1464611198-11494-2-git-send-email-chrisrblake93@gmail.com (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Chris May 30, 2016, 12:26 p.m. UTC
Similar to the AR93xx series, the AR94xx also has the same quirk for the
Bus Reset. Adding this will resolve the issue, and help in cases where
PCI Passthrough is used.

Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
---
 drivers/pci/quirks.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index ee72ebe..35c824d 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -3189,13 +3189,14 @@  static void quirk_no_bus_reset(struct pci_dev *dev)
 }

 /*
- * Atheros AR93xx chips do not behave after a bus reset.  The device will
- * throw a Link Down error on AER-capable systems and regardless of AER,
- * config space of the device is never accessible again and typically
- * causes the system to hang or reset when access is attempted.
+ * Some Atheros AR9xxx and QCA988x chips do not behave after a bus reset.
+ * The device will throw a Link Down error on AER-capable systems and
+ * regardless of AER, config space of the device is never accessible again
+ * and typically causes the system to hang or reset when access is attempted.
  * http://www.spinics.net/lists/linux-pci/msg34797.html
  */
 DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x0030, quirk_no_bus_reset);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x0032, quirk_no_bus_reset);

 static void quirk_no_pm_reset(struct pci_dev *dev)
 {