Пример #1
0
NTSTATUS
MPSetPowerD0Private (
    __in PFDO_DATA FdoData
    )
{
    PUCHAR pPMDR;
    NTSTATUS status;

    DebugPrint(TRACE, DBG_POWER, "-->MPSetPowerD0Private\n");

    do
    {
        // Dump the packet if necessary
        //Cause of Wake Up

        pPMDR = HwReadPowerPMDR(FdoData);


        status = NICInitializeAdapter(FdoData);


        // Clear the PMDR
        MP_CLEAR_PMDR(pPMDR);

        NICIssueSelectiveReset(FdoData);

    } while (FALSE);

    DebugPrint(TRACE, DBG_POWER, "<--MPSetPowerD0Private\n");

    return status;
}
Пример #2
0
NTSTATUS
MPSetPowerD0Private (
    IN PFDO_DATA FdoData
    )
{
    PUCHAR pPMDR;
    NTSTATUS status;

    TraceEvents(TRACE_LEVEL_VERBOSE, DBG_POWER, "-->MPSetPowerD0Private\n");

    // Dump the packet if necessary
    //Cause of Wake Up

    pPMDR = HwReadPowerPMDR(FdoData);

    status = NICInitializeAdapter(FdoData);

    // Clear the PMDR
    MP_CLEAR_PMDR(pPMDR);

    NICIssueSelectiveReset(FdoData);

    TraceEvents(TRACE_LEVEL_VERBOSE, DBG_POWER, "<--MPSetPowerD0Private\n");

    return status;
}