Author: cgutman
Date: Mon Oct 24 09:33:29 2011
New Revision: 54246
URL:
http://svn.reactos.org/svn/reactos?rev=54246&view=rev
Log:
[NDIS]
- Stub and export NdisMSetupDmaTransfer and NdisMCompleteDmaTransfer
Modified:
trunk/reactos/drivers/network/ndis/ndis.spec
trunk/reactos/drivers/network/ndis/ndis/io.c
Modified: trunk/reactos/drivers/network/ndis/ndis.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis.…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis.spec [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis.spec [iso-8859-1] Mon Oct 24 09:33:29 2011
@@ -175,6 +175,7 @@
@ stdcall NdisMCoIndicateReceivePacket(ptr ptr long)
@ stdcall NdisMCoIndicateStatus(ptr ptr long ptr long)
@ stdcall NdisMCompleteBufferPhysicalMapping(ptr ptr long)
+ @ stdcall NdisMCompleteDmaTransfer(ptr ptr ptr long long long)
@ stdcall NdisMCoReceiveComplete(ptr)
@ stdcall NdisMCoRequestComplete(long ptr ptr)
@ stdcall NdisMCoSendComplete(ptr ptr ptr)
@@ -217,6 +218,7 @@
@ stdcall NdisMSetMiniportSecondary(ptr ptr)
@ stdcall NdisMSetPeriodicTimer(ptr long)
@ stdcall NdisMSetTimer(ptr long)
+ @ stdcall NdisMSetupDmaTransfer(ptr ptr ptr long long long)
@ stdcall NdisMSleep(long)
@ stdcall NdisMStartBufferPhysicalMapping(ptr ptr long long ptr ptr)
@ stdcall NdisMSynchronizeWithInterrupt(ptr ptr ptr)
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] Mon Oct 24 09:33:29 2011
@@ -396,6 +396,38 @@
return NDIS_STATUS_SUCCESS;
}
+
+/*
+ * @unimplemented
+ */
+VOID
+EXPORT
+NdisMSetupDmaTransfer(OUT PNDIS_STATUS Status,
+ IN NDIS_HANDLE MiniportDmaHandle,
+ IN PNDIS_BUFFER Buffer,
+ IN ULONG Offset,
+ IN ULONG Length,
+ IN BOOLEAN WriteToDevice)
+{
+ UNIMPLEMENTED
+ *Status = NDIS_STATUS_FAILURE;
+}
+
+/*
+ * @unimplemented
+ */
+VOID
+EXPORT
+NdisMCompleteDmaTransfer(OUT PNDIS_STATUS Status,
+ IN NDIS_HANDLE MiniportDmaHandle,
+ IN PNDIS_BUFFER Buffer,
+ IN ULONG Offset,
+ IN ULONG Length,
+ IN BOOLEAN WriteToDevice)
+{
+ UNIMPLEMENTED
+ *Status = NDIS_STATUS_FAILURE;
+}
/*
* @implemented