@@ -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);