diff mbox

GA-MA69VM-S2 requires pci=nocrs with 2.6.35.4

Message ID 201009131716.18197.bjorn.helgaas@hp.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Bjorn Helgaas Sept. 13, 2010, 11:16 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/x86/pci/fixup.c b/arch/x86/pci/fixup.c
index 6dd8955..f793efd 100644
--- a/arch/x86/pci/fixup.c
+++ b/arch/x86/pci/fixup.c
@@ -510,6 +510,7 @@  static void sb600_disable_hpet_bar(struct pci_dev *dev)
 	 */
 
 	pci_read_config_byte(dev, 0x08, &val);
+	dev_info(&dev->dev, "read %#02x\n", val);
 
 	if (val < 0x2F) {
 		outb(0x55, 0xCD6);
@@ -517,7 +518,9 @@  static void sb600_disable_hpet_bar(struct pci_dev *dev)
 
 		/* Set bit 7 in PM register 0x55 */
 		outb(0x55, 0xCD6);
-		outb(val | 0x80, 0xCD7);
+		outb(val | 0x7f, 0xCD7);
+		dev_info(&dev->dev, "disabled BAR 1 (%pR)\n",
+			 &dev->resource[1]);
 	}
 }
 DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_ATI, 0x4385, sb600_disable_hpet_bar);