From: Bjorn Helgaas Date: Sat, 8 Mar 2014 00:26:17 +0000 (-0700) Subject: lspci: Decode Interrupt Pin and Interrupt Line for PCI-PCI bridges X-Git-Tag: v3.3.0~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=001b9ac6d7b706a223faa7d2dd1bd7d50393e2c9;p=thirdparty%2Fpciutils.git 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 --- 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)