[COMMIT] [vioserial] add resource file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 7feb63ba36e487c1ae89ab258f406f94e9861255 Mon Sep 17 00:00:00 2001
From: Vadim Rozenfeld <vrozenfe@xxxxxxxxxx>
Date: Mon, 2 May 2011 22:13:51 +0300
Subject: [COMMIT] [vioserial] add resource file.

---
 vioserial/sys/sources   |    3 ++-
 vioserial/sys/vioser.rc |   43
+++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+), 1 deletions(-)
 create mode 100644 vioserial/sys/vioser.rc

diff --git a/vioserial/sys/sources b/vioserial/sys/sources
index 2dd8f8a..48069d8 100644
--- a/vioserial/sys/sources
+++ b/vioserial/sys/sources
@@ -21,7 +21,8 @@ SOURCES= Driver.c  \
          Port.c    \
          Buffer.c  \
          utils.c   \
-         Control.c  
+         Control.c \
+         vioser.rc
 
 TARGET_DESTINATION=wdf
 
diff --git a/vioserial/sys/vioser.rc b/vioserial/sys/vioser.rc
new file mode 100644
index 0000000..cfa9944
--- /dev/null
+++ b/vioserial/sys/vioser.rc
@@ -0,0 +1,43 @@
+/**********************************************************************
+ * Copyright (c) 2010  Red Hat, Inc.
+ *
+ * File: vioser.rc
+ * 
+ * This file contains resource (version) definitions for viostor
driver.
+ *
+ * This work is licensed under the terms of the GNU GPL, version 2.
See
+ * the COPYING file in the top-level directory.
+ *
+**********************************************************************/
+#include <windows.h>
+#include <ntverp.h>
+
+#define VER_FILETYPE                VFT_DRV
+#define VER_FILESUBTYPE             VFT2_DRV_SYSTEM
+#define VER_FILEDESCRIPTION_STR     "Red Hat VirtIO Serial driver"
+#define VER_INTERNALNAME_STR        "vioser.sys"
+#define VER_ORIGINALFILENAME_STR    "vioser.sys"
+
+#undef  VER_PRODUCTBUILD
+#undef  VER_PRODUCTBUILD_QFE
+#undef  VER_PRODUCTMAJORVERSION
+#undef  VER_PRODUCTMINORVERSION
+
+#undef  VER_LEGALCOPYRIGHT_STR
+#define VER_LEGALCOPYRIGHT_STR      "Copyright (C) 2010 Red Hat Inc." 
+
+#undef  VER_COMPANYNAME_STR
+#define VER_COMPANYNAME_STR         "Red Hat Inc."
+
+#undef  VER_PRODUCTNAME_STR
+#define VER_PRODUCTNAME_STR         "Red Hat VirtIO Serial controller"
+
+#define VER_LANGNEUTRAL
+
+#define VER_PRODUCTBUILD            _MAJORVERSION_
+#define VER_PRODUCTBUILD_QFE        _MINORVERSION_
+#define VER_PRODUCTMAJORVERSION     _NT_TARGET_MAJ
+#define VER_PRODUCTMINORVERSION     _NT_TARGET_MIN
+
+
+#include "common.ver"
-- 
1.7.0.2.msysgit.0



--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM Development]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Walks]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux