]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ionic: add pcie_print_link_status
authorShannon Nelson <snelson@pensando.io>
Fri, 12 Jun 2020 00:18:15 +0000 (17:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Jun 2020 01:26:19 +0000 (18:26 -0700)
Print the PCIe link information for our device.

Fixes: cc6b1f9218ed ("ionic: remove support for mgmt device")
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c

index 0ac6acbc5f316c4768a0837989f1870d8bc57353..2924cde440aa84ef77c48e8378fb7219581b7114 100644 (file)
@@ -248,6 +248,7 @@ static int ionic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
        }
 
        pci_set_master(pdev);
+       pcie_print_link_status(pdev);
 
        err = ionic_map_bars(ionic);
        if (err)