From: Brett M Russ Date: Fri, 9 Sep 2005 17:02:22 +0000 (-0700) Subject: [PATCH] PCI: PCI/libata INTx bug fix X-Git-Tag: v2.6.14-rc1~491 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fd9d74b35efa9823f1f7d34cb421e2b9eee9650;p=linux-2.6 [PATCH] PCI: PCI/libata INTx bug fix 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 Signed-off-by: Greg Kroah-Hartman Acked-by: Jeff Garzik Signed-off-by: Linus Torvalds --- diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index ccff633a39..992db89adc 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); } }