From: J.L. Burr Date: Sat, 5 May 2012 10:02:27 +0000 (-0400) Subject: pciutils: correct VC status display X-Git-Tag: v3.1.10~4 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=7970509b37ddeeae7b91feefbf37d52f80d84499;p=pciutils.git 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 --- 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",