intel: Add a new B43 pci id.
authorRobert Hooker <robert.hooker@canonical.com>
Wed, 20 Oct 2010 22:01:10 +0000 (18:01 -0400)
committerEric Anholt <eric@anholt.net>
Wed, 10 Nov 2010 21:37:47 +0000 (13:37 -0800)
Signed-off-by: Robert Hooker <robert.hooker@canonical.com>
src/mesa/drivers/dri/intel/intel_chipset.h
src/mesa/drivers/dri/intel/intel_context.c

index 1e7ceed32a269e19a4fc149116997630d08e91b0..4fecdbed20390ab09d796322bfafca0067439e73 100644 (file)
@@ -67,6 +67,7 @@
 #define PCI_CHIP_G45_G                  0x2E22
 #define PCI_CHIP_G41_G                  0x2E32
 #define PCI_CHIP_B43_G                  0x2E42
+#define PCI_CHIP_B43_G1                 0x2E92
 
 #define PCI_CHIP_ILD_G                  0x0042
 #define PCI_CHIP_ILM_G                  0x0046
@@ -93,7 +94,8 @@
                                  devid == PCI_CHIP_Q45_G || \
                                  devid == PCI_CHIP_G45_G || \
                                  devid == PCI_CHIP_G41_G || \
-                                 devid == PCI_CHIP_B43_G)
+                                 devid == PCI_CHIP_B43_G || \
+                                 devid == PCI_CHIP_B43_G1)
 #define IS_GM45(devid)          (devid == PCI_CHIP_GM45_GM)
 #define IS_G4X(devid)          (IS_G45(devid) || IS_GM45(devid))
 
index de4bcde20b61e68148a0a94338f962190c9e26c5..152cdcaf37d69b73fbc166a27413697c0e5cf0b5 100644 (file)
@@ -155,6 +155,7 @@ intelGetString(struct gl_context * ctx, GLenum name)
          chipset = "Intel(R) G41";
          break;
       case PCI_CHIP_B43_G:
+      case PCI_CHIP_B43_G1:
          chipset = "Intel(R) B43";
          break;
       case PCI_CHIP_ILD_G: