diff options
Diffstat (limited to 'drivers/pci/quirks.c')
| -rw-r--r-- | drivers/pci/quirks.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index ed6f89b6efe5..e52356aa09b8 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c | |||
| @@ -3028,6 +3028,20 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_REALTEK, 0x8169, | |||
| 3028 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MELLANOX, PCI_ANY_ID, | 3028 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_MELLANOX, PCI_ANY_ID, |
| 3029 | quirk_broken_intx_masking); | 3029 | quirk_broken_intx_masking); |
| 3030 | 3030 | ||
| 3031 | static void quirk_no_bus_reset(struct pci_dev *dev) | ||
| 3032 | { | ||
| 3033 | dev->dev_flags |= PCI_DEV_FLAGS_NO_BUS_RESET; | ||
| 3034 | } | ||
| 3035 | |||
| 3036 | /* | ||
| 3037 | * Atheros AR93xx chips do not behave after a bus reset. The device will | ||
| 3038 | * throw a Link Down error on AER-capable systems and regardless of AER, | ||
| 3039 | * config space of the device is never accessible again and typically | ||
| 3040 | * causes the system to hang or reset when access is attempted. | ||
| 3041 | * http://www.spinics.net/lists/linux-pci/msg34797.html | ||
| 3042 | */ | ||
| 3043 | DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x0030, quirk_no_bus_reset); | ||
| 3044 | |||
| 3031 | #ifdef CONFIG_ACPI | 3045 | #ifdef CONFIG_ACPI |
| 3032 | /* | 3046 | /* |
| 3033 | * Apple: Shutdown Cactus Ridge Thunderbolt controller. | 3047 | * Apple: Shutdown Cactus Ridge Thunderbolt controller. |
