From d2663fd71178d2fd736d9849a127d43f8737cf0e Mon Sep 17 00:00:00 2001 From: Alex Forencich Date: Tue, 2 Nov 2021 14:40:32 -0700 Subject: [PATCH] Print PCIe subsytem IDs --- modules/mqnic/mqnic_main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/mqnic/mqnic_main.c b/modules/mqnic/mqnic_main.c index 09ee9ed5f..4aef6970b 100644 --- a/modules/mqnic/mqnic_main.c +++ b/modules/mqnic/mqnic_main.c @@ -120,6 +120,8 @@ static int mqnic_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent dev_info(dev, DRIVER_NAME " PCI probe"); dev_info(dev, " Vendor: 0x%04x", pdev->vendor); dev_info(dev, " Device: 0x%04x", pdev->device); + dev_info(dev, " Subsystem vendor: 0x%04x", pdev->subsystem_vendor); + dev_info(dev, " Subsystem device: 0x%04x", pdev->subsystem_device); dev_info(dev, " Class: 0x%06x", pdev->class); dev_info(dev, " PCI ID: %04x:%02x:%02x.%d", pci_domain_nr(pdev->bus), pdev->bus->number, PCI_SLOT(pdev->devfn), PCI_FUNC(pdev->devfn));