]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
PCI: Add Qualcomm vendor ID
authorBjorn Helgaas <bhelgaas@google.com>
Mon, 7 May 2018 20:52:55 +0000 (15:52 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 7 May 2018 20:52:55 +0000 (15:52 -0500)
Add the Qualcomm vendor ID to pci_ids.h and use it in quirks.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/quirks.c
include/linux/pci_ids.h

index 2990ad1e7c995b580c57d36981c62fce1c6e094a..e7bf44515fd6ac54e62d0557135ae46c70b501be 100644 (file)
@@ -4361,8 +4361,8 @@ static const struct pci_dev_acs_enabled {
        { PCI_VENDOR_ID_INTEL, 0x15b7, pci_quirk_mf_endpoint_acs },
        { PCI_VENDOR_ID_INTEL, 0x15b8, pci_quirk_mf_endpoint_acs },
        /* QCOM QDF2xxx root ports */
-       { 0x17cb, 0x400, pci_quirk_qcom_rp_acs },
-       { 0x17cb, 0x401, pci_quirk_qcom_rp_acs },
+       { PCI_VENDOR_ID_QCOM, 0x0400, pci_quirk_qcom_rp_acs },
+       { PCI_VENDOR_ID_QCOM, 0x0401, pci_quirk_qcom_rp_acs },
        /* Intel PCH root ports */
        { PCI_VENDOR_ID_INTEL, PCI_ANY_ID, pci_quirk_intel_pch_acs },
        { PCI_VENDOR_ID_INTEL, PCI_ANY_ID, pci_quirk_intel_spt_pch_acs },
index cc608fc5533470f3c5f8645a2516f585ebc183a5..883cb7bf78aa28345946983eaf23eb44d45e9037 100644 (file)
 
 #define PCI_VENDOR_ID_LENOVO           0x17aa
 
+#define PCI_VENDOR_ID_QCOM             0x17cb
+
 #define PCI_VENDOR_ID_CDNS             0x17cd
 
 #define PCI_VENDOR_ID_ARECA            0x17d3