projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8015a01
)
[PATCH] pci: use pin stored in pci_dev
author
Kristen Accardi
<kristen.c.accardi@intel.com>
Thu, 3 Nov 2005 00:24:39 +0000
(16:24 -0800)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Mon, 9 Jan 2006 20:13:13 +0000
(12:13 -0800)
Use the stored value of the interrupt pin rather than try to read
the config again.
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/pci.c
b/drivers/pci/pci.c
index 8e287a828d5d3c1886d91e5e122ea544a7fc446c..81b9b8d9bceb37b78113924d6a112fb661cea820 100644
(file)
--- a/
drivers/pci/pci.c
+++ b/
drivers/pci/pci.c
@@
-587,7
+587,7
@@
pci_get_interrupt_pin(struct pci_dev *dev, struct pci_dev **bridge)
{
u8 pin;
- p
ci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin)
;
+ p
in = dev->pin
;
if (!pin)
return -1;
pin--;
This page took
0.027071 seconds
and
5
git commands to generate.