Author: cgutman
Date: Fri Mar 20 02:02:12 2009
New Revision: 40107
URL:
http://svn.reactos.org/svn/reactos?rev=40107&view=rev
Log:
- Implement NdisMDeregisterDmaChannel
- My branch needs to be synced with trunk so I'm not using it right now (plus these
changes aren't likely to break anything)
Modified:
trunk/reactos/drivers/network/ndis/ndis/io.c
Modified: trunk/reactos/drivers/network/ndis/ndis/io.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/io.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/io.c [iso-8859-1] Fri Mar 20 02:02:12 2009
@@ -525,14 +525,19 @@
/*
- * @unimplemented
+ * @implemented
*/
VOID
EXPORT
NdisMDeregisterDmaChannel(
IN PNDIS_HANDLE MiniportDmaHandle)
{
- UNIMPLEMENTED
+ PNDIS_MINIPORT_BLOCK NdisMiniportBlock = (PNDIS_MINIPORT_BLOCK)MiniportDmaHandle;
+ PDMA_ADAPTER AdapterObject = NdisMiniportBlock->SystemAdapterObject;
+
+ AdapterObject->DmaOperations->PutDmaAdapter(AdapterObject);
+
+ NdisMiniportBlock->SystemAdapterObject = NULL;
}