Author: cgutman
Date: Wed Oct 1 18:10:00 2008
New Revision: 36619
URL:
http://svn.reactos.org/svn/reactos?rev=36619&view=rev
Log:
- Adapter not NdisMiniportBlock is passed to ServiceRoutine
Modified:
branches/aicom-network-fixes/drivers/network/ndis/ndis/io.c
Modified: branches/aicom-network-fixes/drivers/network/ndis/ndis/io.c
URL:
http://svn.reactos.org/svn/reactos/branches/aicom-network-fixes/drivers/net…
==============================================================================
--- branches/aicom-network-fixes/drivers/network/ndis/ndis/io.c [iso-8859-1] (original)
+++ branches/aicom-network-fixes/drivers/network/ndis/ndis/io.c [iso-8859-1] Wed Oct 1
18:10:00 2008
@@ -62,19 +62,19 @@
{
BOOLEAN InterruptRecognized;
BOOLEAN QueueMiniportHandleInterrupt;
- PNDIS_MINIPORT_BLOCK Adapter = (PNDIS_MINIPORT_BLOCK)ServiceContext;
+ PLOGICAL_ADAPTER Adapter = ServiceContext;
NDIS_DbgPrint(MAX_TRACE, ("Called. Adapter (0x%X)\n", Adapter));
- (*Adapter->DriverHandle->MiniportCharacteristics.ISRHandler)(
+ (*Adapter->NdisMiniportBlock.DriverHandle->MiniportCharacteristics.ISRHandler)(
&InterruptRecognized,
&QueueMiniportHandleInterrupt,
- Adapter->MiniportAdapterContext);
+ Adapter->NdisMiniportBlock.MiniportAdapterContext);
if (QueueMiniportHandleInterrupt)
{
NDIS_DbgPrint(MAX_TRACE, ("Queueing DPC.\n"));
- KeInsertQueueDpc(&Adapter->Interrupt->InterruptDpc, NULL, NULL);
+ KeInsertQueueDpc(&Adapter->NdisMiniportBlock.Interrupt->InterruptDpc,
NULL, NULL);
}
NDIS_DbgPrint(MAX_TRACE, ("Leaving.\n"));