Author: cgutman
Date: Fri Mar 20 23:14:01 2009
New Revision: 40138
URL:
http://svn.reactos.org/svn/reactos?rev=40138&view=rev
Log:
- Implement NdisDeregisterAdapterShutdownHandler, NdisMapIoSpace, and
NdisRegisterAdapterShutdownHandler
- Move NdisCompleteDmaTransfer to 40gone.c
Modified:
trunk/reactos/drivers/network/ndis/ndis/40gone.c
trunk/reactos/drivers/network/ndis/ndis/50gone.c
trunk/reactos/drivers/network/ndis/ndis/io.c
Modified: trunk/reactos/drivers/network/ndis/ndis/40gone.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/40gone.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/40gone.c [iso-8859-1] Fri Mar 20 23:14:01
2009
@@ -9,6 +9,23 @@
*/
#include "ndissys.h"
+
+
+/*
+ * @unimplemented
+ */
+VOID
+EXPORT
+NdisCompleteDmaTransfer(
+ OUT PNDIS_STATUS Status,
+ IN PNDIS_HANDLE NdisDmaHandle,
+ IN PNDIS_BUFFER Buffer,
+ IN ULONG Offset,
+ IN ULONG Length,
+ IN BOOLEAN WriteToDevice)
+{
+ UNIMPLEMENTED
+}
/*
Modified: trunk/reactos/drivers/network/ndis/ndis/50gone.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/50gone.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/50gone.c [iso-8859-1] Fri Mar 20 23:14:01
2009
@@ -71,7 +71,7 @@
/*
- * @unimplemented
+ * @implemented
*/
VOID
EXPORT
@@ -84,7 +84,7 @@
* NDIS 4.0
*/
{
- UNIMPLEMENTED
+ NdisMDeregisterAdapterShutdownHandler(NdisAdapterHandle);
}
@@ -210,7 +210,7 @@
/*
- * @unimplemented
+ * @implemented
*/
VOID
EXPORT
@@ -227,7 +227,10 @@
* NDIS 4.0
*/
{
- UNIMPLEMENTED
+ *Status = NdisMMapIoSpace(VirtualAddress,
+ NdisAdapterHandle,
+ PhysicalAddress,
+ Length);
}
@@ -324,7 +327,7 @@
/*
- * @unimplemented
+ * @implemented
*/
VOID
EXPORT
@@ -339,7 +342,9 @@
* NDIS 4.0
*/
{
- UNIMPLEMENTED
+ NdisMRegisterAdapterShutdownHandler(NdisAdapterHandle,
+ ShutdownContext,
+ ShutdownHandler);
}
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 23:14:01 2009
@@ -90,23 +90,6 @@
NDIS_DbgPrint(MAX_TRACE, ("Leaving.\n"));
return InterruptRecognized;
-}
-
-
-/*
- * @unimplemented
- */
-VOID
-EXPORT
-NdisCompleteDmaTransfer(
- OUT PNDIS_STATUS Status,
- IN PNDIS_HANDLE NdisDmaHandle,
- IN PNDIS_BUFFER Buffer,
- IN ULONG Offset,
- IN ULONG Length,
- IN BOOLEAN WriteToDevice)
-{
- UNIMPLEMENTED
}