diff options
Diffstat (limited to 'drivers/pci/quirks.c')
-rw-r--r-- | drivers/pci/quirks.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 70f196f77c17..3b0bb3268bbd 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c | |||
@@ -472,11 +472,9 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH8_3, quirk_ | |||
472 | */ | 472 | */ |
473 | static void __devinit quirk_vt82c586_acpi(struct pci_dev *dev) | 473 | static void __devinit quirk_vt82c586_acpi(struct pci_dev *dev) |
474 | { | 474 | { |
475 | u8 rev; | ||
476 | u32 region; | 475 | u32 region; |
477 | 476 | ||
478 | pci_read_config_byte(dev, PCI_CLASS_REVISION, &rev); | 477 | if (dev->revision & 0x10) { |
479 | if (rev & 0x10) { | ||
480 | pci_read_config_dword(dev, 0x48, ®ion); | 478 | pci_read_config_dword(dev, 0x48, ®ion); |
481 | region &= PCI_BASE_ADDRESS_IO_MASK; | 479 | region &= PCI_BASE_ADDRESS_IO_MASK; |
482 | quirk_io_region(dev, region, 256, PCI_BRIDGE_RESOURCES, "vt82c586 ACPI"); | 480 | quirk_io_region(dev, region, 256, PCI_BRIDGE_RESOURCES, "vt82c586 ACPI"); |