* [PATCH] pciutils: correct VC status display
@ 2012-05-05 10:02 J.L. Burr
0 siblings, 0 replies; only message in thread
From: J.L. Burr @ 2012-05-05 10:02 UTC (permalink / raw)
To: linux-pci; +Cc: mj
I think there is a bug displaying the virtual channel status bits
"NegoPending" and "InProgress". The wrong offset is being used.
Signed-off-by: John L. Burr <jlburr@cadence.com>
---
diff --git a/ls-ecaps.c b/ls-ecaps.c
index cd342aa..161c275 100644
--- a/ls-ecaps.c
+++ b/ls-ecaps.c
@@ -339,7 +339,7 @@ cap_vc(struct device *d, int where)
}
rcap = get_conf_long(d, pos);
rctrl = get_conf_long(d, pos+4);
- rstatus = get_conf_word(d, pos+8);
+ rstatus = get_conf_word(d, pos+10);
pat_pos = BITS(rcap, 24, 8);
printf("Caps:\tPATOffset=%02x MaxTimeSlots=%d RejSnoopTrans%c\n",
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-05-05 10:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-05 10:02 [PATCH] pciutils: correct VC status display J.L. Burr
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.