diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-08-27 16:02:36 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 12:01:59 -0700 |
commit | 8dc0a06ad1f192ea0c8dbe4d2090206c7d880281 (patch) | |
tree | 66ef85cce144630b8ab83db95236ef3fd576e84a /drivers/staging/hv/NetVsc.c | |
parent | 4bedd6be8b9e9a24f48792c1bef82f521a01db2a (diff) |
Staging: hv: remove typedefs from VmbusPacketFormat.h
All spiffied up now, shines like a brass button on the bump of a barge's
bilge.
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/NetVsc.c')
-rw-r--r-- | drivers/staging/hv/NetVsc.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/staging/hv/NetVsc.c b/drivers/staging/hv/NetVsc.c index a7363a17536..36f98ebfaea 100644 --- a/drivers/staging/hv/NetVsc.c +++ b/drivers/staging/hv/NetVsc.c @@ -92,7 +92,7 @@ NetVscConnectToVsp( static void NetVscOnSendCompletion( struct hv_device *Device, - VMPACKET_DESCRIPTOR *Packet + struct vmpacket_descriptor *Packet ); static int @@ -104,7 +104,7 @@ NetVscOnSend( static void NetVscOnReceive( struct hv_device *Device, - VMPACKET_DESCRIPTOR *Packet + struct vmpacket_descriptor *Packet ); static void @@ -236,8 +236,8 @@ NetVscInitialize( DPRINT_ENTER(NETVSC); - DPRINT_DBG(NETVSC, "sizeof(struct hv_netvsc_packet)=%zd, sizeof(NVSP_MESSAGE)=%zd, sizeof(VMTRANSFER_PAGE_PACKET_HEADER)=%zd", - sizeof(struct hv_netvsc_packet), sizeof(NVSP_MESSAGE), sizeof(VMTRANSFER_PAGE_PACKET_HEADER)); + DPRINT_DBG(NETVSC, "sizeof(struct hv_netvsc_packet)=%zd, sizeof(NVSP_MESSAGE)=%zd, sizeof(struct vmtransfer_page_packet_header)=%zd", + sizeof(struct hv_netvsc_packet), sizeof(NVSP_MESSAGE), sizeof(struct vmtransfer_page_packet_header)); /* Make sure we are at least 2 pages since 1 page is used for control */ ASSERT(driver->RingBufferSize >= (PAGE_SIZE << 1)); @@ -991,7 +991,7 @@ NetVscOnCleanup( static void NetVscOnSendCompletion( struct hv_device *Device, - VMPACKET_DESCRIPTOR *Packet + struct vmpacket_descriptor *Packet ) { struct NETVSC_DEVICE *netDevice; @@ -1109,11 +1109,11 @@ NetVscOnSend( static void NetVscOnReceive( struct hv_device *Device, - VMPACKET_DESCRIPTOR *Packet + struct vmpacket_descriptor *Packet ) { struct NETVSC_DEVICE *netDevice; - VMTRANSFER_PAGE_PACKET_HEADER *vmxferpagePacket; + struct vmtransfer_page_packet_header *vmxferpagePacket; NVSP_MESSAGE *nvspPacket; struct hv_netvsc_packet *netvscPacket=NULL; LIST_ENTRY* entry; @@ -1157,7 +1157,7 @@ NetVscOnReceive( DPRINT_DBG(NETVSC, "NVSP packet received - type %d", nvspPacket->Header.MessageType); - vmxferpagePacket = (VMTRANSFER_PAGE_PACKET_HEADER*)Packet; + vmxferpagePacket = (struct vmtransfer_page_packet_header *)Packet; if (vmxferpagePacket->TransferPageSetId != NETVSC_RECEIVE_BUFFER_ID) { @@ -1420,7 +1420,7 @@ NetVscOnChannelCallback( u32 bytesRecvd; u64 requestId; unsigned char packet[netPacketSize]; - VMPACKET_DESCRIPTOR *desc; + struct vmpacket_descriptor *desc; unsigned char *buffer=packet; int bufferlen=netPacketSize; @@ -1451,7 +1451,7 @@ NetVscOnChannelCallback( { DPRINT_DBG(NETVSC, "receive %d bytes, tid %llx", bytesRecvd, requestId); - desc = (VMPACKET_DESCRIPTOR*)buffer; + desc = (struct vmpacket_descriptor*)buffer; switch (desc->Type) { case VmbusPacketTypeCompletion: |