From 7970509b37ddeeae7b91feefbf37d52f80d84499 Mon Sep 17 00:00:00 2001 From: "J.L. Burr" Date: Sat, 5 May 2012 06:02:27 -0400 Subject: [PATCH] pciutils: correct VC status display 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 --- ls-ecaps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.39.2