Thanks! The patch fixed my problem. Yes, I'm OK with you using the hex dump in the test suite. Thanks again. John Burr -----Original Message----- From: Martin Mares [mailto:mj@xxxxxx] Sent: Thursday, January 28, 2010 5:17 AM To: John Burr Cc: Linux-PCI Mailing List Subject: Re: pciutils: Problem with Virtual Channel decoding and pciutils-3.1.6? Hello! > I noticed there's some kind of formatting problem with the new Virtual > Channel decoding. I'm using an embedded system with a PLX 8532 PCIe switch, > which supports virtual channels. Thanks for the bug report. Here is a patch: diff --git a/ls-ecaps.c b/ls-ecaps.c index 6b1639d..fa3545f 100644 --- a/ls-ecaps.c +++ b/ls-ecaps.c @@ -222,8 +222,8 @@ cap_vc(struct device *d, int where) int arb_table_pos; int i, j; static const char ref_clocks[][6] = { "100ns" }; - static const char arb_selects[][7] = { "Fixed", "WRR32", "WRR64", "WRR128" }; - static const char vc_arb_selects[][8] = { "Fixed", "WRR32", "WRR64", "WRR128", "TWRR128", "WRR256" }; + static const char arb_selects[8][7] = { "Fixed", "WRR32", "WRR64", "WRR128", "??4", "??5", "??6", "??7" }; + static const char vc_arb_selects[8][8] = { "Fixed", "WRR32", "WRR64", "WRR128", "TWRR128", "WRR256", "??6", "??7" }; char buf[8]; printf("Virtual Channel\n"); > I'm attaching the hex (lspci -xxxx) and formatted output (lspci -vv) to this > e-mail showing the device in question. Could I include your hex dump in the pciutils test suite, please? Have a nice fortnight -- Martin `MJ' Mares <mj@xxxxxx> http://mj.ucw.cz/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth The number of UNIX installations has grown to 10, with more expected. (6/72) -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html