aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorEric van Gyzen <vangyzen@FreeBSD.org>2016-08-05 23:23:48 +0000
committerEric van Gyzen <vangyzen@FreeBSD.org>2016-08-05 23:23:48 +0000
commita1566487dbabe857bb5e7e24c6fa2153441b6b95 (patch)
tree71a8c797ff80df8d8169480e553bdcc68c554f83 /usr.sbin
parentf1c1f188f7601247dac38f5e4f262337904c4bda (diff)
Notes
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pciconf/cap.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/pciconf/cap.c b/usr.sbin/pciconf/cap.c
index cd5ae2697c9a7..4d07388968165 100644
--- a/usr.sbin/pciconf/cap.c
+++ b/usr.sbin/pciconf/cap.c
@@ -529,10 +529,13 @@ cap_express(int fd, struct pci_conf *p, uint8_t ptr)
if (cap & PCIEM_SLOT_CAP_APB)
printf(" Attn Button");
if (cap & PCIEM_SLOT_CAP_PCP)
- printf(" PC(%s)", ctl & PCIEM_SLOT_CTL_PCC ? "on" : "off");
+ printf(" PC(%s)", ctl & PCIEM_SLOT_CTL_PCC ? "off" : "on");
if (cap & PCIEM_SLOT_CAP_MRLSP)
printf(" MRL(%s)", sta & PCIEM_SLOT_STA_MRLSS ? "open" :
"closed");
+ if (cap & PCIEM_SLOT_CAP_EIP)
+ printf(" EI(%s)", sta & PCIEM_SLOT_STA_EIS ? "engaged" :
+ "disengaged");
}
static void