svn commit: r284098 - stable/10/sys/dev/cxgbe
Navdeep Parhar
np at FreeBSD.org
Sat Jun 6 20:01:07 UTC 2015
Author: np
Date: Sat Jun 6 20:01:06 2015
New Revision: 284098
URL: https://svnweb.freebsd.org/changeset/base/284098
Log:
MFC r259150 (by adrian@) and r283864.
r259150:
Print out the full PCIe link negotiation during dmesg.
I found this useful when checking whether a NIC is in a PCIE 3.0 8x slot
or not.
r283864:
cxgbe: no need to display the per-lane GT/s rating of the pcie link.
Modified:
stable/10/sys/dev/cxgbe/t4_main.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/dev/cxgbe/t4_main.c
==============================================================================
--- stable/10/sys/dev/cxgbe/t4_main.c Sat Jun 6 19:43:41 2015 (r284097)
+++ stable/10/sys/dev/cxgbe/t4_main.c Sat Jun 6 20:01:06 2015 (r284098)
@@ -906,9 +906,9 @@ t4_attach(device_t dev)
}
device_printf(dev,
- "PCIe x%d, %d ports, %d %s interrupt%s, %d eq, %d iq\n",
- sc->params.pci.width, sc->params.nports, sc->intr_count,
- sc->intr_type == INTR_MSIX ? "MSI-X" :
+ "PCIe gen%d x%d, %d ports, %d %s interrupt%s, %d eq, %d iq\n",
+ sc->params.pci.speed, sc->params.pci.width, sc->params.nports,
+ sc->intr_count, sc->intr_type == INTR_MSIX ? "MSI-X" :
(sc->intr_type == INTR_MSI ? "MSI" : "INTx"),
sc->intr_count > 1 ? "s" : "", sc->sge.neq, sc->sge.niq);
More information about the svn-src-stable-10
mailing list