Author: cgutman
Date: Mon Apr 6 06:13:32 2009
New Revision: 40385
URL:
http://svn.reactos.org/svn/reactos?rev=40385&view=rev
Log:
- Drivers must use DelayedWorkQueue
Modified:
trunk/reactos/drivers/network/ndis/ndis/miniport.c
trunk/reactos/drivers/network/ndis/ndis/misc.c
trunk/reactos/drivers/network/ndis/ndis/workitem.c
trunk/reactos/drivers/network/tcpip/tcpip/main.c
Modified: trunk/reactos/drivers/network/ndis/ndis/miniport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] Mon Apr 6 06:13:32
2009
@@ -773,7 +773,7 @@
IoWorkItem = IoAllocateWorkItem(Adapter->NdisMiniportBlock.DeviceObject);
if (IoWorkItem)
- IoQueueWorkItem(IoWorkItem, MiniportWorker, CriticalWorkQueue, IoWorkItem);
+ IoQueueWorkItem(IoWorkItem, MiniportWorker, DelayedWorkQueue, IoWorkItem);
KeReleaseSpinLock(&Adapter->NdisMiniportBlock.Lock, OldIrql);
}
Modified: trunk/reactos/drivers/network/ndis/ndis/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/misc.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/misc.c [iso-8859-1] Mon Apr 6 06:13:32 2009
@@ -398,7 +398,7 @@
{
PWORK_QUEUE_ITEM pntWorkItem = (PWORK_QUEUE_ITEM)pWorkItem->WrapperReserved;
ExInitializeWorkItem(pntWorkItem, ndisProcWorkItemHandler, pWorkItem);
- ExQueueWorkItem(pntWorkItem, CriticalWorkQueue);
+ ExQueueWorkItem(pntWorkItem, DelayedWorkQueue);
return NDIS_STATUS_SUCCESS;
}
Modified: trunk/reactos/drivers/network/ndis/ndis/workitem.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/workitem.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/workitem.c [iso-8859-1] Mon Apr 6 06:13:32
2009
@@ -29,7 +29,7 @@
IoQueueWorkItem(WorkItem,
Routine,
- CriticalWorkQueue,
+ DelayedWorkQueue,
WorkItemContext);
}
Modified: trunk/reactos/drivers/network/tcpip/tcpip/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/tcpip/tcpi…
==============================================================================
--- trunk/reactos/drivers/network/tcpip/tcpip/main.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/tcpip/tcpip/main.c [iso-8859-1] Mon Apr 6 06:13:32
2009
@@ -695,7 +695,7 @@
*/
{
if( !IpWorkItemQueued ) {
- ExQueueWorkItem( &IpWorkItem, CriticalWorkQueue );
+ ExQueueWorkItem( &IpWorkItem, DelayedWorkQueue );
IpWorkItemQueued = TRUE;
}
}