diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2007-08-27 16:17:47 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-12 15:03:16 -0700 |
commit | aa288d4d6bc7d150bab3a5be954979a09633ccdd (patch) | |
tree | fa860b6a785ccc60ecb589da7f9e2a4f67cec3d7 /drivers/pci | |
parent | 3799a4e7d8867cfbb137d417beb126d5a2302607 (diff) | |
download | kernel_samsung_smdk4412-aa288d4d6bc7d150bab3a5be954979a09633ccdd.zip kernel_samsung_smdk4412-aa288d4d6bc7d150bab3a5be954979a09633ccdd.tar.gz kernel_samsung_smdk4412-aa288d4d6bc7d150bab3a5be954979a09633ccdd.tar.bz2 |
PCI: quirk amd_8131_mmrbc: Omit reading pci revision ID
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Cc: Peter Oruba <peter.oruba@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/quirks.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c index 50f2dd9..70f196f 100644 --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -629,12 +629,9 @@ DECLARE_PCI_FIXUP_RESUME(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_8131_BRIDGE, quirk */ static void __init quirk_amd_8131_mmrbc(struct pci_dev *dev) { - unsigned char revid; - - pci_read_config_byte(dev, PCI_REVISION_ID, &revid); - if (dev->subordinate && revid <= 0x12) { + if (dev->subordinate && dev->revision <= 0x12) { printk(KERN_INFO "AMD8131 rev %x detected, disabling PCI-X " - "MMRBC\n", revid); + "MMRBC\n", dev->revision); dev->subordinate->bus_flags |= PCI_BUS_FLAGS_NO_MMRBC; } } |