OSDN Git Service

PCI: Convert Mellanox broken INTx quirks to be for listed devices only
authorNoa Osherovich <noaos@mellanox.com>
Tue, 15 Nov 2016 07:59:59 +0000 (09:59 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 23 Nov 2016 18:33:32 +0000 (12:33 -0600)
commitd76d2fe05fd93673d184af77255bbbc63780f4ea
treeb578d5c3e5de35d5cb438c74fc554be825ccb608
parentb88214ce4d7064992452765028bd50702414f15f
PCI: Convert Mellanox broken INTx quirks to be for listed devices only

Change Mellanox's broken_intx_masking() quirk from an "all Mellanox
devices" to a quirk for listed devices only.

[bhelgaas: remove #defines, reorder to keep other quirks together]
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
drivers/pci/quirks.c