i965: Add pci info for 965GME/GLE chip.
authorWang Zhenyu <zhenyu.z.wang@intel.com>
Wed, 30 May 2007 08:03:50 +0000 (16:03 +0800)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 31 May 2007 10:18:14 +0000 (11:18 +0100)
src/mesa/drivers/dri/i965/intel_context.c
src/mesa/drivers/dri/i965/intel_context.h

index 10eb9a2e28da04a6fd6b85898f54df7efe3f596e..4f51fefe0f64ddabe661e0ef78a0c54b862caaba 100644 (file)
@@ -106,20 +106,23 @@ static const GLubyte *intelGetString( GLcontext *ctx, GLenum name )
    case GL_RENDERER:
       switch (intel_context(ctx)->intelScreen->deviceID) {
       case PCI_CHIP_I965_Q:
-        chipset = "Intel(R) 965Q"; break;
+        chipset = "Intel(R) 965Q";
          break;
       case PCI_CHIP_I965_G:
       case PCI_CHIP_I965_G_1:
-        chipset = "Intel(R) 965G"; break;
+        chipset = "Intel(R) 965G";
          break;
       case PCI_CHIP_I946_GZ:
-        chipset = "Intel(R) 946GZ"; break;
+        chipset = "Intel(R) 946GZ";
          break;
       case PCI_CHIP_I965_GM:
-        chipset = "Intel(R) 965GM"; break;
+        chipset = "Intel(R) 965GM";
+         break;
+      case PCI_CHIP_I965_GME:
+        chipset = "Intel(R) 965GME/GLE";
          break;
       default:
-        chipset = "Unknown Intel Chipset"; break;
+        chipset = "Unknown Intel Chipset";
       }
 
       (void) driGetRendererString( buffer, chipset, DRIVER_VERSION, 0 );
index a3c65b66e08f5c5f575a4f48b9027a16de60669f..406f8483dce1b941131f3ab706dbfb3cc25e3270 100644 (file)
@@ -385,6 +385,7 @@ extern int INTEL_DEBUG;
 #define PCI_CHIP_I965_G_1              0x2982
 #define PCI_CHIP_I946_GZ               0x2972
 #define PCI_CHIP_I965_GM                0x2A02
+#define PCI_CHIP_I965_GME               0x2A12
 
 
 /* ================================================================