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