[ofw] WinMad & WinVerbs PnP\Power question

Hefty, Sean sean.hefty at intel.com
Wed Feb 22 06:57:51 PST 2012


> Index: B:/users/leonid/svn/winib/trunk/core/winverbs/kernel/wv_driver.c
> ===================================================================
> --- B:/users/leonid/svn/winib/trunk/core/winverbs/kernel/wv_driver.c
> 	(revision 9893)
> +++ B:/users/leonid/svn/winib/trunk/core/winverbs/kernel/wv_driver.c
> 	(revision 9894)
> @@ -566,6 +566,8 @@
>  	DbgPrintEx(DPFLTR_IHVNETWORK_ID, DPFLTR_ERROR_LEVEL,
>  		"WvPowerD0Exit exit\n");
> 
> +	WvRdmaDeviceCleanup(Device);
> +
>  	g_post_event("WinVerbs: WvPowerD0Exit called\n");
>  	return STATUS_SUCCESS;
>  }
> @@ -581,7 +583,7 @@
>  	WdfFdoInitSetFilter(DeviceInit);
> 
>  	WDF_OBJECT_ATTRIBUTES_INIT_CONTEXT_TYPE(&attr, WV_RDMA_DEVICE);
> -	attr.EvtCleanupCallback = WvRdmaDeviceCleanup;
> +//	attr.EvtCleanupCallback = WvRdmaDeviceCleanup;

Please remove the dead code and feel free to commit.

- Sean



More information about the ofw mailing list