I noticed Millennium is mispelled. Here's a trivial patch to fix this.

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/
diff -urN DirectFB-orig/ChangeLog DirectFB/ChangeLog
--- DirectFB-orig/ChangeLog     Thu Aug 29 17:20:54 2002
+++ DirectFB/ChangeLog  Sat Aug 31 02:07:19 2002
@@ -6662,7 +6662,7 @@
                gfxdrivers/matrox/matrox_bes.c (1.3) (+6 -1)
                gfxdrivers/matrox/matrox.h (1.4) (+5 -1)
        
-       Added acceleration for older Matrox cards (Mystique and Millenium I & II).
+       Added acceleration for older Matrox cards (Mystique and Millennium I & II).
        Tested on a Mystique with SGRAM
        
        Supported are:
diff -urN DirectFB-orig/NEWS DirectFB/NEWS
--- DirectFB-orig/NEWS  Thu Aug 29 17:20:54 2002
+++ DirectFB/NEWS       Sat Aug 31 02:07:25 2002
@@ -218,7 +218,7 @@
 
 - Added deinterlacing for interlaced video sources to Matrox Backend Scaler.
 - Added DSPF_UYVY and clarified description of both YUV formats.
-- Added acceleration for Matrox Mystique, Millenium I&II, G100.
+- Added acceleration for Matrox Mystique, Millennium I&II, G100.
 - Added support for YUV in V4L video provider.
 - Added support for deinterlacing in df_layer example.
 - Added option "--fbdev=<device>" to specify another device than "/dev/fb0".
diff -urN DirectFB-orig/gfxdrivers/matrox/matrox.c DirectFB/gfxdrivers/matrox/matrox.c
--- DirectFB-orig/gfxdrivers/matrox/matrox.c    Thu Aug 29 17:20:54 2002
+++ DirectFB/gfxdrivers/matrox/matrox.c Sat Aug 31 02:06:16 2002
@@ -84,7 +84,7 @@
      mga_out32( mdrv->mmio_base, 0, TEXORG1 );
 }
 
-/* Old cards (Mystique, Millenium, ...) */
+/* Old cards (Mystique, Millennium, ...) */
 
 #define MATROX_OLD_DRAWING_FLAGS            (DSDRAW_NOFX)
 
@@ -798,10 +798,10 @@
 driver_probe( GraphicsDevice *device )
 {
      switch (dfb_gfxcard_get_accelerator( device )) {
-          case FB_ACCEL_MATROX_MGA2064W:     /* Matrox MGA2064W (Millenium)   */
+          case FB_ACCEL_MATROX_MGA2064W:     /* Matrox MGA2064W (Millennium)   */
           case FB_ACCEL_MATROX_MGA1064SG:    /* Matrox MGA1064SG (Mystique)   */
-          case FB_ACCEL_MATROX_MGA2164W:     /* Matrox MGA2164W (Millenium II)*/
-          case FB_ACCEL_MATROX_MGA2164W_AGP: /* Matrox MGA2164W (Millenium II)*/
+          case FB_ACCEL_MATROX_MGA2164W:     /* Matrox MGA2164W (Millennium II)*/
+          case FB_ACCEL_MATROX_MGA2164W_AGP: /* Matrox MGA2164W (Millennium II)*/
           case FB_ACCEL_MATROX_MGAG100:      /* Matrox G100                   */
           case FB_ACCEL_MATROX_MGAG200:      /* Matrox G200 (Myst, Mill, ...) */
 #ifdef FB_ACCEL_MATROX_MGAG400
@@ -820,7 +820,7 @@
      /* fill driver info structure */
      snprintf( info->name,
                DFB_GRAPHICS_DRIVER_INFO_NAME_LENGTH,
-               "Matrox G550/G450/G400/G200/G100/Millenium/Mystique Driver" );
+               "Matrox G550/G450/G400/G200/G100/Millennium/Mystique Driver" );
 
      snprintf( info->vendor,
                DFB_GRAPHICS_DRIVER_INFO_VENDOR_LENGTH,
@@ -919,7 +919,7 @@
           case FB_ACCEL_MATROX_MGA2064W:
                mdev->old_matrox = 1;
                snprintf( device_info->name,
-                         DFB_GRAPHICS_DEVICE_INFO_NAME_LENGTH, "Millenium I" );
+                         DFB_GRAPHICS_DEVICE_INFO_NAME_LENGTH, "Millennium I" );
                break;
           case FB_ACCEL_MATROX_MGA1064SG:
                mdev->old_matrox = 1;
@@ -930,7 +930,7 @@
           case FB_ACCEL_MATROX_MGA2164W_AGP:
                mdev->old_matrox = 1;
                snprintf( device_info->name,
-                         DFB_GRAPHICS_DEVICE_INFO_NAME_LENGTH, "Millenium II" );
+                         DFB_GRAPHICS_DEVICE_INFO_NAME_LENGTH, "Millennium II" );
                break;
      }
 
diff -urN DirectFB-orig/gfxdrivers/matrox/matrox.h DirectFB/gfxdrivers/matrox/matrox.h
--- DirectFB-orig/gfxdrivers/matrox/matrox.h    Thu Aug 29 17:20:54 2002
+++ DirectFB/gfxdrivers/matrox/matrox.h Sat Aug 31 02:06:23 2002
@@ -56,7 +56,7 @@
 } MatroxDriverData;
 
 typedef struct {
-     /* Old cards are older than G200/G400, e.g. Mystique or Millenium */
+     /* Old cards are older than G200/G400, e.g. Mystique or Millennium */
      int old_matrox;
 
      /* FIFO Monitoring */


Reply via email to