1/*
2 * This file contains rhel vendor specific
3 * resource (version) definitions for all drivers
4 *
5 * Copyright (c) 2017  Parallels IP Holdings GmbH
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met :
10 * 1. Redistributions of source code must retain the above copyright
11 *    notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 *    notice, this list of conditions and the following disclaimer in the
14 *    documentation and / or other materials provided with the distribution.
15 * 3. Neither the names of the copyright holders nor the names of their contributors
16 *    may be used to endorse or promote products derived from this software
17 *    without specific prior written permission.
18 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND
19 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 * ARE DISCLAIMED.IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 */
30
31/*
32 * These defines are only for Visual Studio built-in rc editor
33 */
34#ifndef _NT_TARGET_MAJ
35    #define _NT_TARGET_MAJ 1
36    #define _RHEL_RELEASE_VERSION_ 20
37    #define _BUILD_MAJOR_VERSION_ 300
38    #define _BUILD_MINOR_VERSION_ 5800
39#endif
40
41/*
42 * rhel versioning
43 */
44#define VENDOR_VIRTIO_1            _NT_TARGET_MAJ
45#define VENDOR_VIRTIO_2            _RHEL_RELEASE_VERSION_
46#define VENDOR_VIRTIO_3            _BUILD_MAJOR_VERSION_
47#define VENDOR_VIRTIO_4            _BUILD_MINOR_VERSION_
48
49/*
50 * rhel strings
51 */
52#define VENDOR_VIRTIO_COPYRIGHT    "Copyright (C) " STRINGIFY(RHEL_COPYRIGHT_YEARS) " Red Hat, Inc."
53#define VENDOR_VIRTIO_COMPANY      "Red Hat,\040Inc."
54#define VENDOR_PREFIX              "Red Hat\040"
55#define VENDOR_PRODUCT_PREFIX      VENDOR_PREFIX
56#define QEMU_PRODUCT_PREFIX        "QEMU\040"
57#define VENDOR_DESC_PREFIX         VENDOR_PREFIX
58#define VENDOR_DESC_POSTFIX        ""
59
60/*
61 * remaining macro should be defined in project .rc file
62 *
63 * VENDOR_VIRTIO_PRODUCT, VER_FILEDESCRIPTION_STR, VER_INTERNALNAME_STR
64 */
65