[COMMIT] [vioserial] make interface GUIDs public

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

 



>From 42814cdfcb8d394d13a439e317a74863ddb61b81 Mon Sep 17 00:00:00 2001
From: Vadim Rozenfeld <vrozenfe@xxxxxxxxxx>
Date: Mon, 16 May 2011 14:59:01 +0300
Subject: [COMMIT] [vioserial] make interface GUIDs public

---
 vioserial/sys/Device.c |    2 +-
 vioserial/sys/public.h |   12 ++++++++++++
 vioserial/sys/vioser.h |    4 ----
 3 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/vioserial/sys/Device.c b/vioserial/sys/Device.c
index 27769b6..dcc335e 100644
--- a/vioserial/sys/Device.c
+++ b/vioserial/sys/Device.c
@@ -143,7 +143,7 @@ VIOSerialEvtDeviceAdd(
 
     status = WdfDeviceCreateDeviceInterface(
                                  hDevice,
-
&GUID_DEVINTERFACE_PORTSENUM_VIOSERIAL,
+                                 &GUID_VIOSERIAL_CONTROLLER,
                                  NULL
                                  );
     if (!NT_SUCCESS(status)) 
diff --git a/vioserial/sys/public.h b/vioserial/sys/public.h
index e3ed0c7..05f6ed5 100644
--- a/vioserial/sys/public.h
+++ b/vioserial/sys/public.h
@@ -15,6 +15,9 @@
 #if !defined(VIOS_PUBLIC_H)
 #define VIOS_PUBLIC_H
 
+DEFINE_GUID (GUID_VIOSERIAL_CONTROLLER,
+        0xF55F7844, 0x6A0C, 0x11d2, 0xB8, 0x41, 0x00, 0xC0, 0x4F, 0xAD,
0x51, 0x71);
+//  {F55F7844-6A0C-11d2-B841-00C04FAD5171}
 
 DEFINE_GUID(GUID_VIOSERIAL_PORT,
 0x6fde7521, 0x1b65, 0x48ae, 0xb6, 0x28, 0x80, 0xbe, 0x62, 0x1, 0x60,
0x26);
@@ -30,4 +33,13 @@ typedef struct _tagVirtioPortInfo {
     CHAR                Name[1];
 }VIRTIO_PORT_INFO, * PVIRTIO_PORT_INFO;
 
+DEFINE_GUID(GUID_VIOSERIAL_PORT_CHANGE_STATUS,
+0x2c0f39ac, 0xb156, 0x4237, 0x9c, 0x64, 0x89, 0x91, 0xa1, 0x8b, 0xf3,
0x5c);
+// {2C0F39AC-B156-4237-9C64-8991A18BF35C}
+
+typedef struct _tagVirtioPortStatusChange {
+    ULONG Version;
+    ULONG Reason;
+} VIRTIO_PORT_STATUS_CHANGE, *PVIRTIO_PORT_STATUS_CHANGE;
+
 #endif /* VIOS_PUBLIC_H */
diff --git a/vioserial/sys/vioser.h b/vioserial/sys/vioser.h
index 3a47d60..db1bd47 100644
--- a/vioserial/sys/vioser.h
+++ b/vioserial/sys/vioser.h
@@ -104,10 +104,6 @@ DEFINE_GUID(GUID_DEVCLASS_PORT_DEVICE,
 // {6FDE7547-1B65-48ae-B628-80BE62016026}
 
 
-DEFINE_GUID (GUID_DEVINTERFACE_PORTSENUM_VIOSERIAL,
-        0xF55F7844, 0x6A0C, 0x11d2, 0xB8, 0x41, 0x00, 0xC0, 0x4F, 0xAD,
0x51, 0x71);
-//  {F55F7844-6A0C-11d2-B841-00C04FAD5171}
-
 
 #define DEVICE_DESC_LENGTH  128
 
-- 


--
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