summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2011-10-10 11:24:42 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2011-10-10 11:24:42 -0700
commit503cfa2707bca2c06895f51d50fa38218ff16aa7 (patch)
tree0890f26231a97ced7fde4c3eaac61085ad3523a2 /lib
parentaf6a25c187a0f1a340fad71bb1a019e087e2b1ae (diff)
Treat PPT like CPT as we do in the kernel
Set the pch type to CPT if we detect a PPT as well.
Diffstat (limited to 'lib')
-rw-r--r--lib/intel_pci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/intel_pci.c b/lib/intel_pci.c
index db436be6..7bc74663 100644
--- a/lib/intel_pci.c
+++ b/lib/intel_pci.c
@@ -82,7 +82,8 @@ intel_check_pch(void)
return;
if (pch_dev->vendor_id == 0x8086 &&
- (pch_dev->device_id & 0xff00) == 0x1c00)
+ (((pch_dev->device_id & 0xff00) == 0x1c00) ||
+ (pch_dev->device_id & 0xff00) == 0x1e00))
pch = PCH_CPT;
}