Treat PPT like CPT as we do in the kernel
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 10 Oct 2011 18:24:42 +0000 (11:24 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 10 Oct 2011 18:24:42 +0000 (11:24 -0700)
Set the pch type to CPT if we detect a PPT as well.

lib/intel_pci.c

index db436be..7bc7466 100644 (file)
@@ -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;
 }