projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa288d4
)
PCI: quirk_vt82c586_acpi: Omit reading PCI revision ID
author
Auke Kok
<auke-jan.h.kok@intel.com>
Mon, 27 Aug 2007 23:18:10 +0000
(16:18 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 12 Oct 2007 22:03:16 +0000
(15:03 -0700)
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/quirks.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/pci/quirks.c
b/drivers/pci/quirks.c
index 70f196f77c175c5c5c0233317c9aedcb641d4e97..3b0bb3268bbdd65e922bc39e5c2f7a9f8c21aefc 100644
(file)
--- 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_
*/
static void __devinit quirk_vt82c586_acpi(struct pci_dev *dev)
{
- u8 rev;
u32 region;
- pci_read_config_byte(dev, PCI_CLASS_REVISION, &rev);
- if (rev & 0x10) {
+ if (dev->revision & 0x10) {
pci_read_config_dword(dev, 0x48, ®ion);
region &= PCI_BASE_ADDRESS_IO_MASK;
quirk_io_region(dev, region, 256, PCI_BRIDGE_RESOURCES, "vt82c586 ACPI");