From 001b9ac6d7b706a223faa7d2dd1bd7d50393e2c9 Mon Sep 17 00:00:00 2001 From: Bjorn Helgaas Date: Fri, 7 Mar 2014 17:26:17 -0700 Subject: [PATCH] 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 --- lspci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2