diff options
author | Kristen Accardi <kristen.c.accardi@intel.com> | 2005-11-02 19:24:32 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-09 15:13:13 -0500 |
commit | ffeff788d6b10e342b4a887f28d339dfec1737f6 (patch) | |
tree | 9882b7f8215269cc30f422f135b785f6addefb7e /drivers | |
parent | 6150c32589d1976ca8a5c987df951088c05a7542 (diff) |
[PATCH] pci: store PCI_INTERRUPT_PIN in pci_dev
Store the value of the INTERRUPT_PIN in the pci_dev structure
so that it can be retrieved later.
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/probe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index fce2cb2112d8..2f82e63323f3 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -571,6 +571,7 @@ static void pci_read_irq(struct pci_dev *dev) | |||
571 | unsigned char irq; | 571 | unsigned char irq; |
572 | 572 | ||
573 | pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &irq); | 573 | pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &irq); |
574 | dev->pin = irq; | ||
574 | if (irq) | 575 | if (irq) |
575 | pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &irq); | 576 | pci_read_config_byte(dev, PCI_INTERRUPT_LINE, &irq); |
576 | dev->irq = irq; | 577 | dev->irq = irq; |