/********************************************************** NDIS6-related final initialization: Uninstalling interrupt handler Dellocate buffer list pool Parameters: context ***********************************************************/ VOID ParaNdis_FinalizeCleanup(PARANDIS_ADAPTER *pContext) { // we zero context members to be able examine them in the debugger/dump if (pContext->InterruptHandle) { NdisMDeregisterInterruptEx(pContext->InterruptHandle); pContext->InterruptHandle = NULL; } if (pContext->BufferListsPool) { NdisFreeNetBufferListPool(pContext->BufferListsPool); pContext->BufferListsPool = NULL; } if (pContext->DmaHandle) { NdisMDeregisterScatterGatherDma(pContext->DmaHandle); pContext->DmaHandle = NULL; } }
void shared_interrupt_deregister(NDIS_HANDLE intr_handle) { NdisMDeregisterInterruptEx(intr_handle); }