summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);