Staging: hv: typedef removal from VmbusChannelInterface.h
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 Aug 2009 19:15:54 +0000 (12:15 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:58 +0000 (12:01 -0700)
It's all clean now.

Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/hv/include/ChannelMessages.h
drivers/staging/hv/include/VmbusChannelInterface.h
drivers/staging/hv/include/nvspprotocol.h

index 097e1c11e9156486b4e7022d3ee30e0e84c0a5eb..1e41948934ce96a7d41f8e57ea208ea519d8ceae 100644 (file)
@@ -89,7 +89,7 @@ typedef struct _VMBUS_CHANNEL_VERSION_SUPPORTED
 typedef struct _VMBUS_CHANNEL_OFFER_CHANNEL
 {
     VMBUS_CHANNEL_MESSAGE_HEADER Header;
-    VMBUS_CHANNEL_OFFER Offer;
+    struct vmbus_channel_offer Offer;
     u32  ChildRelId;
     u8   MonitorId;
     bool MonitorAllocated;
@@ -131,12 +131,12 @@ typedef struct _VMBUS_CHANNEL_OPEN_CHANNEL
 
     /* GPADL for the channel's ring buffer. */
 
-    GPADL_HANDLE    RingBufferGpadlHandle;
+    u32 RingBufferGpadlHandle;
 
 
     /* GPADL for the channel's server context save area. */
 
-    GPADL_HANDLE    ServerContextAreaGpadlHandle;
+    u32 ServerContextAreaGpadlHandle;
 
 
     /*
index 953e1560980b2af4ab977c65b72ea1fbe190cf41..26742823748d3d46e7bfd707827701d0b973d899 100644 (file)
@@ -47,7 +47,7 @@
  * At the center of the Channel Management library is the Channel Offer. This
  * struct contains the fundamental information about an offer.
  */
-typedef struct {
+struct vmbus_channel_offer {
        struct hv_guid InterfaceType;
        struct hv_guid InterfaceInstance;
        u64 InterruptLatencyIn100nsUnits;
@@ -75,9 +75,7 @@ typedef struct {
                } Pipe;
        } u;
        u32 Padding;
-} __attribute__((packed)) VMBUS_CHANNEL_OFFER, *PVMBUS_CHANNEL_OFFER;
-
-typedef u32 GPADL_HANDLE;
+} __attribute__((packed));
 
 /* Server Flags */
 #define VMBUS_CHANNEL_ENUMERATE_DEVICE_INTERFACE       1
index 2ee9dbf0899a1078b513746bb788507f1b5024bf..5e7e03cf851b2fe970a504fafed8f9077cb269c5 100644 (file)
@@ -143,7 +143,7 @@ typedef struct _NVSP_1_MESSAGE_SEND_NDIS_VERSION
 
 typedef struct _NVSP_1_MESSAGE_SEND_RECEIVE_BUFFER
 {
-    GPADL_HANDLE                            GpadlHandle;
+    u32 GpadlHandle;
     u16                                  Id;
 } NVSP_1_MESSAGE_SEND_RECEIVE_BUFFER, *PNVSP_1_MESSAGE_SEND_RECEIVE_BUFFER;
 
@@ -202,7 +202,7 @@ typedef struct _NVSP_1_MESSAGE_REVOKE_RECEIVE_BUFFER
 
 typedef struct _NVSP_1_MESSAGE_SEND_SEND_BUFFER
 {
-    GPADL_HANDLE                            GpadlHandle;
+    u32 GpadlHandle;
     u16                                  Id;
 } NVSP_1_MESSAGE_SEND_SEND_BUFFER, *PNVSP_1_MESSAGE_SEND_SEND_BUFFER;