aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Bratchikov <m@pepyaka.org>2022-06-02 14:24:02 +0300
committerMartin Mares <mj@ucw.cz>2022-10-30 13:33:30 +0100
commit3711e86f10643442d13f5e49d0c8ae73d380ab6a (patch)
tree1188b07a7ad49b3747490bd3f9686d472a523bdb
parentc84f53521902a63b98cb08555c28d576707f0224 (diff)
downloadpciutils-3711e86f10643442d13f5e49d0c8ae73d380ab6a.tar.gz
lspci: Fix Virtual Channel VC# Caps: MaxTimeSlots
-rw-r--r--ls-ecaps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ls-ecaps.c b/ls-ecaps.c
index 2ff8f27..f7ffd83 100644
--- a/ls-ecaps.c
+++ b/ls-ecaps.c
@@ -549,7 +549,7 @@ cap_vc(struct device *d, int where)
pat_pos = BITS(rcap, 24, 8);
printf("Caps:\tPATOffset=%02x MaxTimeSlots=%d RejSnoopTrans%c\n",
pat_pos,
- BITS(rcap, 16, 6) + 1,
+ BITS(rcap, 16, 7) + 1,
FLAG(rcap, 1 << 15));
printf("\t\t\tArb:");