diff options
author | Ian Romanick <idr@us.ibm.com> | 2007-08-27 16:02:24 -0700 |
---|---|---|
committer | Ian Romanick <idr@us.ibm.com> | 2007-08-27 16:02:24 -0700 |
commit | 9d9c5718d41ca9fe330f7030f45251bb869cd40e (patch) | |
tree | 6824ea3edb33f75fe2153d7820c7a7cf56dcadc3 | |
parent | 8966e20662175cce882836bddb6308081eb6a4e6 (diff) |
Bump version to 1.5.0.xgi-1.5.0
-rw-r--r-- | configure.ac | 5 | ||||
-rw-r--r-- | src/xgi.h | 22 | ||||
-rw-r--r-- | src/xgi_dri.c | 6 | ||||
-rw-r--r-- | src/xgi_driver.c | 6 | ||||
-rw-r--r-- | src/xgi_ver.h | 45 |
5 files changed, 11 insertions, 73 deletions
diff --git a/configure.ac b/configure.ac index 40619d3..21ac582 100644 --- a/configure.ac +++ b/configure.ac @@ -22,9 +22,10 @@ AC_PREREQ(2.57) AC_INIT([xf86-video-xgi], - 1.4.9, + 1.5.0, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], xf86-video-xgi) +RELEASE_DATE="27 August 2007" AC_CONFIG_SRCDIR([Makefile.am]) AM_CONFIG_HEADER([config.h]) @@ -108,7 +109,7 @@ AM_CONDITIONAL(XSERVER_LIBPCIACCESS, test "x$XSERVER_LIBPCIACCESS" = xyes) AC_SUBST([DRI_CFLAGS]) AC_SUBST([XORG_CFLAGS]) AC_SUBST([moduledir]) - +AC_DEFINE_UNQUOTED(XGI_RELEASE_DATE, ["$RELEASE_DATE"], [Driver release]) DRIVER_NAME=xgi AC_SUBST([DRIVER_NAME]) @@ -79,20 +79,8 @@ #define PDEBUG5(p) #endif -#include "xgi_ver.h" - /* Always unlock the registers (should be set!) */ #define UNLOCK_ALWAYS -/* -#define XGIDRIVERVERSIONYEAR 4 -#define XGIDRIVERVERSIONMONTH 2 -#define XGIDRIVERVERSIONDAY 26 -#define XGIDRIVERREVISION 1 -*/ -#define XGIDRIVERIVERSION (XGIDRIVERVERSIONYEAR << 16) | \ - (XGIDRIVERVERSIONMONTH << 8) | \ - XGIDRIVERVERSIONDAY | \ - (XGIDRIVERREVISION << 24) #undef XGI_CP @@ -201,13 +189,9 @@ #define XGI_NAME "XGI" #define XGI_DRIVER_NAME "xgi" -/* -#define XGI_MAJOR_VERSION 1 -#define XGI_MINOR_VERSION 1 -#define XGI_PATCHLEVEL 4 -*/ -#define XGI_CURRENT_VERSION ((XGI_MAJOR_VERSION << 16) | \ - (XGI_MINOR_VERSION << 8) | XGI_PATCHLEVEL ) +#define XGI_CURRENT_VERSION ((PACKAGE_VERSION_MAJOR << 16) | \ + (PACKAGE_VERSION_MINOR << 8) | \ + PACKAGE_VERSION_PATCHLEVEL) /* pXGI->Flags (old series only) */ #define SYNCDRAM 0x00000001 diff --git a/src/xgi_dri.c b/src/xgi_dri.c index 0b803fc..b76ecbd 100644 --- a/src/xgi_dri.c +++ b/src/xgi_dri.c @@ -277,9 +277,9 @@ Bool XGIDRIScreenInit(ScreenPtr pScreen) pDRIInfo->drmDriverName = XGIKernelDriverName; pDRIInfo->clientDriverName = XGIClientDriverName; pDRIInfo->busIdString = DRICreatePCIBusID(pXGI->PciInfo); - pDRIInfo->ddxDriverMajorVersion = 0; - pDRIInfo->ddxDriverMinorVersion = 1; - pDRIInfo->ddxDriverPatchVersion = 0; + pDRIInfo->ddxDriverMajorVersion = PACKAGE_VERSION_MAJOR; + pDRIInfo->ddxDriverMinorVersion = PACKAGE_VERSION_MINOR; + pDRIInfo->ddxDriverPatchVersion = PACKAGE_VERSION_PATCHLEVEL; pDRIInfo->frameBufferPhysicalAddress = pXGI->FbAddress; pDRIInfo->frameBufferSize = pXGI->FbMapSize; diff --git a/src/xgi_driver.c b/src/xgi_driver.c index c7a2396..cb01f9d 100644 --- a/src/xgi_driver.c +++ b/src/xgi_driver.c @@ -326,7 +326,7 @@ static XF86ModuleVersionInfo xgiVersRec = { #else XF86_VERSION_CURRENT, #endif - XGI_MAJOR_VERSION, XGI_MINOR_VERSION, XGI_PATCHLEVEL, + PACKAGE_VERSION_MAJOR, PACKAGE_VERSION_MINOR, PACKAGE_VERSION_PATCHLEVEL, ABI_CLASS_VIDEODRV, /* This is a video driver */ #ifdef ABI_VIDEODRV_VERSION ABI_VIDEODRV_VERSION, @@ -2286,9 +2286,7 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags) */ xf86DrvMsg(pScrn->scrnIndex, X_INFO, - "XGI driver (%d/%02d/%02d-%d)\n", - XGIDRIVERVERSIONYEAR + 2000, XGIDRIVERVERSIONMONTH, - XGIDRIVERVERSIONDAY, XGIDRIVERREVISION); + "XGI driver (%s)\n", XGI_RELEASE_DATE); xf86DrvMsg(pScrn->scrnIndex, X_INFO, "Copyright (C) 2001-2004 Thomas Winischhofer <thomas@winischhofer.net> and others\n"); diff --git a/src/xgi_ver.h b/src/xgi_ver.h deleted file mode 100644 index e032cf3..0000000 --- a/src/xgi_ver.h +++ /dev/null @@ -1,45 +0,0 @@ -/* Copyright (C) 2003-2006 by XGI Technology, Taiwan. - * - * All Rights Reserved. - * - * Permission is hereby granted, free of charge, to any person obtaining - * a copy of this software and associated documentation files (the - * "Software"), to deal in the Software without restriction, including - * without limitation on the rights to use, copy, modify, merge, - * publish, distribute, sublicense, and/or sell copies of the Software, - * and to permit persons to whom the Software is furnished to do so, - * subject to the following conditions: - * - * The above copyright notice and this permission notice (including the - * next paragraph) shall be included in all copies or substantial - * portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NON-INFRINGEMENT. IN NO EVENT SHALL XGI AND/OR - * ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER - * DEALINGS IN THE SOFTWARE. - */ - -/***************************************************** - * xgi_ver.h - * Generated from mkdrv shell script. - * - * - * - * Generate by 2006/08/25 - *****************************************************/ - - - -#define XGI_MAJOR_VERSION 1 -#define XGI_MINOR_VERSION 4 -#define XGI_PATCHLEVEL 9 - -#define XGIDRIVERVERSIONYEAR 6 -#define XGIDRIVERVERSIONMONTH 8 -#define XGIDRIVERVERSIONDAY 25 -#define XGIDRIVERREVISION 1 |