summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2014-03-07 17:26:17 -0700
committerMartin Mares <mj@ucw.cz>2014-11-01 16:22:47 +0100
commit001b9ac6d7b706a223faa7d2dd1bd7d50393e2c9 (patch)
tree7b4a4cfe3a5d27f18026e5ef3a19647736aa5b9e
parent73e87e96f42adaf683c66b5cc0b362f9fe1d67b0 (diff)
downloadpciutils-001b9ac6d7b706a223faa7d2dd1bd7d50393e2c9.tar.gz
lspci: Decode Interrupt Pin and Interrupt Line for PCI-PCI bridges
Bridges can implement interrupt pins, so decode this information. See PCI-to-PCI Bridge spec r1.2, sec 3.2.5.17. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r--lspci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lspci.c b/lspci.c
index eb17af5..39a4647 100644
--- a/lspci.c
+++ b/lspci.c
@@ -668,7 +668,7 @@ show_verbose(struct device *d)
case PCI_HEADER_TYPE_BRIDGE:
if ((class >> 8) != PCI_BASE_CLASS_BRIDGE)
printf("\t!!! Invalid class %04x for header type %02x\n", class, htype);
- irq = int_pin = min_gnt = max_lat = 0;
+ min_gnt = max_lat = 0;
break;
case PCI_HEADER_TYPE_CARDBUS:
if ((class >> 8) != PCI_BASE_CLASS_BRIDGE)