Re: pciutils: Problem with Virtual Channel decoding and pciutils-3.1.6?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux