1c582b7e3Smrg/*
2c582b7e3Smrg * Copyright 2000 through 2004 by Marc Aurele La France (TSI @ UQV), tsi@xfree86.org
3c582b7e3Smrg *
4c582b7e3Smrg * Permission to use, copy, modify, distribute, and sell this software and its
5c582b7e3Smrg * documentation for any purpose is hereby granted without fee, provided that
6c582b7e3Smrg * the above copyright notice appear in all copies and that both that copyright
7c582b7e3Smrg * notice and this permission notice appear in supporting documentation, and
8c582b7e3Smrg * that the name of Marc Aurele La France not be used in advertising or
9c582b7e3Smrg * publicity pertaining to distribution of the software without specific,
10c582b7e3Smrg * written prior permission.  Marc Aurele La France makes no representations
11c582b7e3Smrg * about the suitability of this software for any purpose.  It is provided
12c582b7e3Smrg * "as-is" without express or implied warranty.
13c582b7e3Smrg *
14c582b7e3Smrg * MARC AURELE LA FRANCE DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
15c582b7e3Smrg * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.  IN NO
16c582b7e3Smrg * EVENT SHALL MARC AURELE LA FRANCE BE LIABLE FOR ANY SPECIAL, INDIRECT OR
17c582b7e3Smrg * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
18c582b7e3Smrg * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
19c582b7e3Smrg * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20c582b7e3Smrg * PERFORMANCE OF THIS SOFTWARE.
21c582b7e3Smrg */
22c582b7e3Smrg
23c582b7e3Smrg#ifndef _R128_VERSION_H_
24c582b7e3Smrg#define _R128_VERSION_H_ 1
25c582b7e3Smrg
26c582b7e3Smrg#undef  R128_NAME
27c582b7e3Smrg#undef  R128_DRIVER_NAME
28c582b7e3Smrg#undef  R128_VERSION_MAJOR
29c582b7e3Smrg#undef  R128_VERSION_MINOR
30c582b7e3Smrg#undef  R128_VERSION_PATCH
31c582b7e3Smrg#undef  R128_VERSION_CURRENT
32c582b7e3Smrg#undef  R128_VERSION_EVALUATE
33c582b7e3Smrg#undef  R128_VERSION_STRINGIFY
34c582b7e3Smrg#undef  R128_VERSION_NAME
35c582b7e3Smrg
36c582b7e3Smrg#define R128_NAME          "R128"
37c582b7e3Smrg#define R128_DRIVER_NAME   "r128"
38c582b7e3Smrg
39c582b7e3Smrg#define R128_VERSION_MAJOR 4
40c582b7e3Smrg#define R128_VERSION_MINOR 1
41c582b7e3Smrg#define R128_VERSION_PATCH 0
42c582b7e3Smrg
43c582b7e3Smrg#ifndef R128_VERSION_EXTRA
44c582b7e3Smrg#define R128_VERSION_EXTRA ""
45c582b7e3Smrg#endif
46c582b7e3Smrg
47c582b7e3Smrg#define R128_VERSION_CURRENT \
48c582b7e3Smrg    ((R128_VERSION_MAJOR << 20) | \
49c582b7e3Smrg     (R128_VERSION_MINOR << 10) | \
50c582b7e3Smrg     (R128_VERSION_PATCH))
51c582b7e3Smrg
52c582b7e3Smrg#define R128_VERSION_EVALUATE(__x) #__x
53c582b7e3Smrg#define R128_VERSION_STRINGIFY(_x) R128_VERSION_EVALUATE(_x)
54c582b7e3Smrg#define R128_VERSION_NAME                                         \
55c582b7e3Smrg    R128_VERSION_STRINGIFY(R128_VERSION_MAJOR) "."                \
56c582b7e3Smrg    R128_VERSION_STRINGIFY(R128_VERSION_MINOR) "."                \
57c582b7e3Smrg    R128_VERSION_STRINGIFY(R128_VERSION_MINOR) R128_VERSION_EXTRA
58c582b7e3Smrg
59c582b7e3Smrg#endif /* _R128_VERSION_H_ */
60