mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
27 lines
646 B
C
27 lines
646 B
C
/*
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
* PROJECT: Serial port driver
|
|
* FILE: drivers/dd/serial/power.c
|
|
* PURPOSE: Serial IRP_MJ_POWER operations
|
|
*
|
|
* PROGRAMMERS: Hervé Poussineau (hpoussin@reactos.org)
|
|
*/
|
|
|
|
#include "serial.h"
|
|
|
|
#include <debug.h>
|
|
|
|
NTSTATUS NTAPI
|
|
SerialPower(
|
|
IN PDEVICE_OBJECT DeviceObject,
|
|
IN PIRP Irp)
|
|
{
|
|
PSERIAL_DEVICE_EXTENSION DeviceExtension;
|
|
|
|
TRACE_(SERIAL, "IRP_MJ_POWER dispatch\n");
|
|
|
|
DeviceExtension = DeviceObject->DeviceExtension;
|
|
PoStartNextPowerIrp(Irp);
|
|
IoSkipCurrentIrpStackLocation(Irp);
|
|
return PoCallDriver(DeviceExtension->LowerDevice, Irp);
|
|
}
|