intel: add B43 chipset support
authorZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 7 Sep 2009 08:18:57 +0000 (16:18 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 9 Sep 2009 05:28:59 +0000 (13:28 +0800)
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
src/mesa/drivers/dri/intel/intel_chipset.h
src/mesa/drivers/dri/intel/intel_context.c

index 3c38f1676c9ed74fdef3e6dfb952649ab6335730..3dc8653a7354a4405ce638c71a4e4181ee5f1e69 100644 (file)
@@ -66,6 +66,7 @@
 #define PCI_CHIP_Q45_G                  0x2E12
 #define PCI_CHIP_G45_G                  0x2E22
 #define PCI_CHIP_G41_G                  0x2E32
+#define PCI_CHIP_B43_G                  0x2E42
 
 #define PCI_CHIP_ILD_G                  0x0042
 #define PCI_CHIP_ILM_G                  0x0046
@@ -83,7 +84,8 @@
 #define IS_G45(devid)           (devid == PCI_CHIP_IGD_E_G || \
                                  devid == PCI_CHIP_Q45_G || \
                                  devid == PCI_CHIP_G45_G || \
-                                 devid == PCI_CHIP_G41_G)
+                                 devid == PCI_CHIP_G41_G || \
+                                 devid == PCI_CHIP_B43_G)
 #define IS_GM45(devid)          (devid == PCI_CHIP_GM45_GM)
 #define IS_G4X(devid)          (IS_G45(devid) || IS_GM45(devid))
 
index 7ab8299802a388d672541dd20b175fed1865238d..7e21b94acc421bda80bdb729a69f64eda441e531 100644 (file)
@@ -162,6 +162,9 @@ intelGetString(GLcontext * ctx, GLenum name)
       case PCI_CHIP_G41_G:
          chipset = "Intel(R) G41";
          break;
+      case PCI_CHIP_B43_G:
+         chipset = "Intel(R) B43";
+         break;
       case PCI_CHIP_ILD_G:
          chipset = "Intel(R) IGDNG_D";
          break;