Commit 462eeeca authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: hv: rndis.h: typedef removal, part 2

This removes the rest of the typedefs in rndis.h

The file is now checkpatch.pl clean.

Note, there are a lot of structures in this file that are not used
anywhere.  I don't know if we want to remove them, but I guess they
don't take up any space so it's a nice documentation trail.

Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 9f33d054
...@@ -400,10 +400,10 @@ struct rndis_indicate_status { ...@@ -400,10 +400,10 @@ struct rndis_indicate_status {
/* Diagnostic information passed as the status buffer in */ /* Diagnostic information passed as the status buffer in */
/* struct rndis_indicate_status messages signifying error conditions. */ /* struct rndis_indicate_status messages signifying error conditions. */
typedef struct _RNDIS_DIAGNOSTIC_INFO { struct rndis_diagnostic_info {
u32 DiagStatus; u32 DiagStatus;
u32 ErrorOffset; u32 ErrorOffset;
} RNDIS_DIAGNOSTIC_INFO, *PRNDIS_DIAGNOSTIC_INFO; };
/* NdisKeepAlive message */ /* NdisKeepAlive message */
struct rndis_keepalive_request { struct rndis_keepalive_request {
...@@ -465,73 +465,73 @@ struct rndis_config_parameter_info { ...@@ -465,73 +465,73 @@ struct rndis_config_parameter_info {
/* that do not implement a call manager. */ /* that do not implement a call manager. */
/* CoNdisMiniportCreateVc message */ /* CoNdisMiniportCreateVc message */
typedef struct _RCONDIS_MP_CREATE_VC { struct rcondis_mp_create_vc {
u32 RequestId; u32 RequestId;
u32 NdisVcHandle; u32 NdisVcHandle;
} RCONDIS_MP_CREATE_VC, *PRCONDIS_MP_CREATE_VC; };
/* Response to CoNdisMiniportCreateVc */ /* Response to CoNdisMiniportCreateVc */
typedef struct _RCONDIS_MP_CREATE_VC_COMPLETE { struct rcondis_mp_create_vc_complete {
u32 RequestId; u32 RequestId;
u32 DeviceVcHandle; u32 DeviceVcHandle;
u32 Status; u32 Status;
} RCONDIS_MP_CREATE_VC_COMPLETE, *PRCONDIS_MP_CREATE_VC_COMPLETE; };
/* CoNdisMiniportDeleteVc message */ /* CoNdisMiniportDeleteVc message */
typedef struct _RCONDIS_MP_DELETE_VC { struct rcondis_mp_delete_vc {
u32 RequestId; u32 RequestId;
u32 DeviceVcHandle; u32 DeviceVcHandle;
} RCONDIS_MP_DELETE_VC, *PRCONDIS_MP_DELETE_VC; };
/* Response to CoNdisMiniportDeleteVc */ /* Response to CoNdisMiniportDeleteVc */
typedef struct _RCONDIS_MP_DELETE_VC_COMPLETE { struct rcondis_mp_delete_vc_complete {
u32 RequestId; u32 RequestId;
u32 Status; u32 Status;
} RCONDIS_MP_DELETE_VC_COMPLETE, *PRCONDIS_MP_DELETE_VC_COMPLETE; };
/* CoNdisMiniportQueryRequest message */ /* CoNdisMiniportQueryRequest message */
typedef struct _RCONDIS_MP_QUERY_REQUEST { struct rcondis_mp_query_request {
u32 RequestId; u32 RequestId;
u32 RequestType; u32 RequestType;
u32 Oid; u32 Oid;
u32 DeviceVcHandle; u32 DeviceVcHandle;
u32 InformationBufferLength; u32 InformationBufferLength;
u32 InformationBufferOffset; u32 InformationBufferOffset;
} RCONDIS_MP_QUERY_REQUEST, *PRCONDIS_MP_QUERY_REQUEST; };
/* CoNdisMiniportSetRequest message */ /* CoNdisMiniportSetRequest message */
typedef struct _RCONDIS_MP_SET_REQUEST { struct rcondis_mp_set_request {
u32 RequestId; u32 RequestId;
u32 RequestType; u32 RequestType;
u32 Oid; u32 Oid;
u32 DeviceVcHandle; u32 DeviceVcHandle;
u32 InformationBufferLength; u32 InformationBufferLength;
u32 InformationBufferOffset; u32 InformationBufferOffset;
} RCONDIS_MP_SET_REQUEST, *PRCONDIS_MP_SET_REQUEST; };
/* CoNdisIndicateStatus message */ /* CoNdisIndicateStatus message */
typedef struct _RCONDIS_INDICATE_STATUS { struct rcondis_indicate_status {
u32 NdisVcHandle; u32 NdisVcHandle;
u32 Status; u32 Status;
u32 StatusBufferLength; u32 StatusBufferLength;
u32 StatusBufferOffset; u32 StatusBufferOffset;
} RCONDIS_INDICATE_STATUS, *PRCONDIS_INDICATE_STATUS; };
/* CONDIS Call/VC parameters */ /* CONDIS Call/VC parameters */
typedef struct _RCONDIS_SPECIFIC_PARAMETERS { struct rcondis_specific_parameters {
u32 ParameterType; u32 ParameterType;
u32 ParameterLength; u32 ParameterLength;
u32 ParameterOffset; u32 ParameterOffset;
} RCONDIS_SPECIFIC_PARAMETERS, *PRCONDIS_SPECIFIC_PARAMETERS; };
typedef struct _RCONDIS_MEDIA_PARAMETERS { struct rcondis_media_parameters {
u32 Flags; u32 Flags;
u32 Reserved1; u32 Reserved1;
u32 Reserved2; u32 Reserved2;
RCONDIS_SPECIFIC_PARAMETERS MediaSpecific; struct rcondis_specific_parameters MediaSpecific;
} RCONDIS_MEDIA_PARAMETERS, *PRCONDIS_MEDIA_PARAMETERS; };
typedef struct _RNDIS_FLOWSPEC { struct rndis_flowspec {
u32 TokenRate; u32 TokenRate;
u32 TokenBucketSize; u32 TokenBucketSize;
u32 PeakBandwidth; u32 PeakBandwidth;
...@@ -540,16 +540,16 @@ typedef struct _RNDIS_FLOWSPEC { ...@@ -540,16 +540,16 @@ typedef struct _RNDIS_FLOWSPEC {
u32 ServiceType; u32 ServiceType;
u32 MaxSduSize; u32 MaxSduSize;
u32 MinimumPolicedSize; u32 MinimumPolicedSize;
} RNDIS_FLOWSPEC, *PRNDIS_FLOWSPEC; };
typedef struct _RCONDIS_CALL_MANAGER_PARAMETERS { struct rcondis_call_manager_parameters {
RNDIS_FLOWSPEC Transmit; struct rndis_flowspec Transmit;
RNDIS_FLOWSPEC Receive; struct rndis_flowspec Receive;
RCONDIS_SPECIFIC_PARAMETERS CallMgrSpecific; struct rcondis_specific_parameters CallMgrSpecific;
} RCONDIS_CALL_MANAGER_PARAMETERS, *PRCONDIS_CALL_MANAGER_PARAMETERS; };
/* CoNdisMiniportActivateVc message */ /* CoNdisMiniportActivateVc message */
typedef struct _RCONDIS_MP_ACTIVATE_VC_REQUEST { struct rcondis_mp_activate_vc_request {
u32 RequestId; u32 RequestId;
u32 Flags; u32 Flags;
u32 DeviceVcHandle; u32 DeviceVcHandle;
...@@ -557,26 +557,26 @@ typedef struct _RCONDIS_MP_ACTIVATE_VC_REQUEST { ...@@ -557,26 +557,26 @@ typedef struct _RCONDIS_MP_ACTIVATE_VC_REQUEST {
u32 MediaParamsLength; u32 MediaParamsLength;
u32 CallMgrParamsOffset; u32 CallMgrParamsOffset;
u32 CallMgrParamsLength; u32 CallMgrParamsLength;
} RCONDIS_MP_ACTIVATE_VC_REQUEST, *PRCONDIS_MP_ACTIVATE_VC_REQUEST; };
/* Response to CoNdisMiniportActivateVc */ /* Response to CoNdisMiniportActivateVc */
typedef struct _RCONDIS_MP_ACTIVATE_VC_COMPLETE { struct rcondis_mp_activate_vc_complete {
u32 RequestId; u32 RequestId;
u32 Status; u32 Status;
} RCONDIS_MP_ACTIVATE_VC_COMPLETE, *PRCONDIS_MP_ACTIVATE_VC_COMPLETE; };
/* CoNdisMiniportDeactivateVc message */ /* CoNdisMiniportDeactivateVc message */
typedef struct _RCONDIS_MP_DEACTIVATE_VC_REQUEST { struct rcondis_mp_deactivate_vc_request {
u32 RequestId; u32 RequestId;
u32 Flags; u32 Flags;
u32 DeviceVcHandle; u32 DeviceVcHandle;
} RCONDIS_MP_DEACTIVATE_VC_REQUEST, *PRCONDIS_MP_DEACTIVATE_VC_REQUEST; };
/* Response to CoNdisMiniportDeactivateVc */ /* Response to CoNdisMiniportDeactivateVc */
typedef struct _RCONDIS_MP_DEACTIVATE_VC_COMPLETE { struct rcondis_mp_deactivate_vc_complete {
u32 RequestId; u32 RequestId;
u32 Status; u32 Status;
} RCONDIS_MP_DEACTIVATE_VC_COMPLETE, *PRCONDIS_MP_DEACTIVATE_VC_COMPLETE; };
/* union with all of the RNDIS messages */ /* union with all of the RNDIS messages */
...@@ -594,15 +594,15 @@ union rndis_message_container { ...@@ -594,15 +594,15 @@ union rndis_message_container {
struct rndis_set_complete SetComplete; struct rndis_set_complete SetComplete;
struct rndis_reset_complete ResetComplete; struct rndis_reset_complete ResetComplete;
struct rndis_keepalive_complete KeepaliveComplete; struct rndis_keepalive_complete KeepaliveComplete;
RCONDIS_MP_CREATE_VC CoMiniportCreateVc; struct rcondis_mp_create_vc CoMiniportCreateVc;
RCONDIS_MP_DELETE_VC CoMiniportDeleteVc; struct rcondis_mp_delete_vc CoMiniportDeleteVc;
RCONDIS_INDICATE_STATUS CoIndicateStatus; struct rcondis_indicate_status CoIndicateStatus;
RCONDIS_MP_ACTIVATE_VC_REQUEST CoMiniportActivateVc; struct rcondis_mp_activate_vc_request CoMiniportActivateVc;
RCONDIS_MP_DEACTIVATE_VC_REQUEST CoMiniportDeactivateVc; struct rcondis_mp_deactivate_vc_request CoMiniportDeactivateVc;
RCONDIS_MP_CREATE_VC_COMPLETE CoMiniportCreateVcComplete; struct rcondis_mp_create_vc_complete CoMiniportCreateVcComplete;
RCONDIS_MP_DELETE_VC_COMPLETE CoMiniportDeleteVcComplete; struct rcondis_mp_delete_vc_complete CoMiniportDeleteVcComplete;
RCONDIS_MP_ACTIVATE_VC_COMPLETE CoMiniportActivateVcComplete; struct rcondis_mp_activate_vc_complete CoMiniportActivateVcComplete;
RCONDIS_MP_DEACTIVATE_VC_COMPLETE CoMiniportDeactivateVcComplete; struct rcondis_mp_deactivate_vc_complete CoMiniportDeactivateVcComplete;
}; };
/* Remote NDIS message format */ /* Remote NDIS message format */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment