[PATCH] PCI: PCI/libata INTx bug fix
From: Greg KH <gregkh@suse.de>
Date: 2005-09-09 17:03:21
Also in:
lkml
Subsystem:
pci subsystem, the rest · Maintainers:
Bjorn Helgaas, Linus Torvalds
From: Greg KH <gregkh@suse.de>
Date: 2005-09-09 17:03:21
Also in:
lkml
Subsystem:
pci subsystem, the rest · Maintainers:
Bjorn Helgaas, Linus Torvalds
From: Brett M Russ <redacted> 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 <redacted> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c@@ -819,7 +819,7 @@ pci_intx(struct pci_dev *pdev, int enabl } if (new != pci_command) { - pci_write_config_word(pdev, PCI_COMMAND, pci_command); + pci_write_config_word(pdev, PCI_COMMAND, new); } }