From: "J.L. Burr" <jlburr@cadence.com>
To: linux-pci@vger.kernel.org
Cc: mj@ucw.cz
Subject: [PATCH] pciutils: correct VC status display
Date: Sat, 05 May 2012 06:02:27 -0400 [thread overview]
Message-ID: <4FA4FAB3.9060904@cadence.com> (raw)
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",
reply other threads:[~2012-05-05 10:05 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FA4FAB3.9060904@cadence.com \
--to=jlburr@cadence.com \
--cc=linux-pci@vger.kernel.org \
--cc=mj@ucw.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).