From: Shannon Nelson Date: Sat, 7 Mar 2020 01:04:06 +0000 (-0800) Subject: ionic: print pci bus lane info X-Git-Tag: block-5.7-2020-04-09~9^2~214^2~2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=c220e52396772eac5b26de4540c87be8b632e20a;p=linux-2.6-block.git ionic: print pci bus lane info Print the PCI bus lane information so people can keep an eye out for poor configurations that might not support the advertised speed. Signed-off-by: Shannon Nelson Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c b/drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c index 0ac6acbc5f31..2924cde440aa 100644 --- a/drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c +++ b/drivers/net/ethernet/pensando/ionic/ionic_bus_pci.c @@ -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)