diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-09-09 17:14:21 -0600 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2013-11-10 12:32:56 +0100 |
commit | 8ad3c8cfcf002557a8302156b79be4c54d4e22d1 (patch) | |
tree | 650af45a766448c9746608f8503d57188c76de00 | |
parent | a1f57a29a4a922cb799bc3b828ca19e97b02a1e5 (diff) | |
download | pciutils-8ad3c8cfcf002557a8302156b79be4c54d4e22d1.tar.gz |
lspci: Drop PCIe LnkCtl "Retrain Link" decoding
Per PCIe spec r3.0, Table 7-16, the Retrain Link bit is writable but
always returns 0 when read, so decoding it gives no useful information.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r-- | ls-caps.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -776,9 +776,8 @@ static void cap_express_link(struct device *d, int where, int type) if ((type == PCI_EXP_TYPE_ROOT_PORT) || (type == PCI_EXP_TYPE_ENDPOINT) || (type == PCI_EXP_TYPE_LEG_END) || (type == PCI_EXP_TYPE_PCI_BRIDGE)) printf(" RCB %d bytes", w & PCI_EXP_LNKCTL_RCB ? 128 : 64); - printf(" Disabled%c Retrain%c CommClk%c\n\t\t\tExtSynch%c ClockPM%c AutWidDis%c BWInt%c AutBWInt%c\n", + printf(" Disabled%c CommClk%c\n\t\t\tExtSynch%c ClockPM%c AutWidDis%c BWInt%c AutBWInt%c\n", FLAG(w, PCI_EXP_LNKCTL_DISABLE), - FLAG(w, PCI_EXP_LNKCTL_RETRAIN), FLAG(w, PCI_EXP_LNKCTL_CLOCK), FLAG(w, PCI_EXP_LNKCTL_XSYNCH), FLAG(w, PCI_EXP_LNKCTL_CLOCKPM), |