summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-09-23 17:17:04 +0000
committerThierry Vignaud <tv@mandriva.org>2009-09-23 17:17:04 +0000
commitd86decaa8b7f0649763cb79b9121b69ba92506f8 (patch)
tree616663f14a0c511fff084fb3a55f2dd8ba36b42d
parentf363db54f84558b2ab647386917e5613e7f9e6ac (diff)
downloadldetect-d86decaa8b7f0649763cb79b9121b69ba92506f8.tar
ldetect-d86decaa8b7f0649763cb79b9121b69ba92506f8.tar.gz
ldetect-d86decaa8b7f0649763cb79b9121b69ba92506f8.tar.bz2
ldetect-d86decaa8b7f0649763cb79b9121b69ba92506f8.tar.xz
ldetect-d86decaa8b7f0649763cb79b9121b69ba92506f8.zip
(printit) display PCI revision if availlable (#42576)
-rw-r--r--lspcidrake.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lspcidrake.c b/lspcidrake.c
index 94ee003..9637671 100644
--- a/lspcidrake.c
+++ b/lspcidrake.c
@@ -23,6 +23,8 @@ static void printit(struct pciusb_entries entries, void print_class(unsigned lon
printf(" subv:%04x subd:%04x", e->subvendor, e->subdevice);
printf(")");
}
+ if (e->pci_revision)
+ printf(" (rev: %02x)", e->pci_revision);
printf("\n");
}
pciusb_free(&entries);