projects/linux·commit 2fd9d74b

[PATCH] PCI: PCI/libata INTx bug fix

2fd9d74b · Brett M Russ <[email protected]> · 2005-09-09 10:02:22 -07:00

Previous INTx cleanup patch had a bug that was not caught.  I found
this last night during testing and can confirm that it is now 100%
working.

Signed-off-by: Brett Russ <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Jeff Garzik <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
2fd9d74b35efa9823f1f7d34cb421e2b9eee9650
Parents
ddcc9596

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/pci/pci.cmodified+1−1View file

drivers/pci/pci.c

View file
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index ccff633..992db89 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -819,7 +819,7 @@ pci_intx(struct pci_dev *pdev, int enable)
}
if (new != pci_command) {
- pci_write_config_word(pdev, PCI_COMMAND, pci_command);
+ pci_write_config_word(pdev, PCI_COMMAND, new);
}
}