Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 17481
b: refs/heads/master
c: 8015a01
h: refs/heads/master
i:
  17479: c9e39b9
v: v3
  • Loading branch information
Kristen Accardi authored and Greg Kroah-Hartman committed Jan 9, 2006
1 parent 09a9c9e commit 2f4476f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ffeff788d6b10e342b4a887f28d339dfec1737f6
refs/heads/master: 8015a01486a0f789c9e98e8bf1f12a3ccb535b30
7 changes: 3 additions & 4 deletions trunk/drivers/acpi/pci_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,7 @@ acpi_pci_irq_derive(struct pci_dev *dev,

if ((bridge->class >> 8) == PCI_CLASS_BRIDGE_CARDBUS) {
/* PC card has the same IRQ as its cardbridge */
pci_read_config_byte(bridge, PCI_INTERRUPT_PIN,
&bridge_pin);
bridge_pin = bridge->pin;
if (!bridge_pin) {
ACPI_DEBUG_PRINT((ACPI_DB_INFO,
"No interrupt pin configured for device %s\n",
Expand Down Expand Up @@ -412,7 +411,7 @@ int acpi_pci_irq_enable(struct pci_dev *dev)
if (!dev)
return_VALUE(-EINVAL);

pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin);
pin = dev->pin;
if (!pin) {
ACPI_DEBUG_PRINT((ACPI_DB_INFO,
"No interrupt pin configured for device %s\n",
Expand Down Expand Up @@ -503,7 +502,7 @@ void acpi_pci_irq_disable(struct pci_dev *dev)
if (!dev || !dev->bus)
return_VOID;

pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin);
pin = dev->pin;
if (!pin)
return_VOID;
pin--;
Expand Down

0 comments on commit 2f4476f

Please sign in to comment.