diff options
author | Eric Anholt <eric@anholt.net> | 2010-01-15 12:51:50 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-02-23 17:09:25 -0800 |
commit | 9291828a569a01ed4a6ef71f530b93f8a54c84aa (patch) | |
tree | d2a4191ab632cc520cabb4a61236a65743054569 | |
parent | 3c71f98b9e5262675e61fafb317d0c35e62a873f (diff) |
Add new mobile Sandybridge PCI IDs.
-rw-r--r-- | src/common.h | 5 | ||||
-rw-r--r-- | src/i810_driver.c | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h index fc51cdef..bc5d7220 100644 --- a/src/common.h +++ b/src/common.h @@ -330,2 +330,4 @@ extern int I810_DEBUG; #define PCI_CHIP_SANDYBRIDGE_BRIDGE 0x0100 +#define PCI_CHIP_SANDYBRIDGE_M 0x0106 +#define PCI_CHIP_SANDYBRIDGE_BRIDGE_M 0x0104 #endif @@ -387,3 +389,4 @@ extern int I810_DEBUG; -#define IS_GEN6(pI810) ((pI810)->PciInfo->device_id == PCI_CHIP_SANDYBRIDGE) +#define IS_GEN6(pI810) ((pI810)->PciInfo->device_id == PCI_CHIP_SANDYBRIDGE || \ + (pI810)->PciInfo->device_id == PCI_CHIP_SANDYBRIDGE_M) diff --git a/src/i810_driver.c b/src/i810_driver.c index ba1ded73..31098340 100644 --- a/src/i810_driver.c +++ b/src/i810_driver.c @@ -143,2 +143,3 @@ static const struct pci_id_match intel_device_match[] = { INTEL_DEVICE_MATCH (PCI_CHIP_SANDYBRIDGE, 0 ), + INTEL_DEVICE_MATCH (PCI_CHIP_SANDYBRIDGE_M, 0 ), { 0, 0, 0 }, |