xref: /reactos/drivers/storage/port/storport/pdo.c (revision f04935d8)
1 /*
2  * PROJECT:     ReactOS Storport Driver
3  * LICENSE:     GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE:     Storport PDO code
5  * COPYRIGHT:   Copyright 2017 Eric Kohl (eric.kohl@reactos.org)
6  */
7 
8 /* INCLUDES *******************************************************************/
9 
10 #include "precomp.h"
11 
12 #define NDEBUG
13 #include <debug.h>
14 
15 
16 /* FUNCTIONS ******************************************************************/
17 
18 NTSTATUS
19 NTAPI
20 PortPdoScsi(
21     _In_ PDEVICE_OBJECT DeviceObject,
22     _In_ PIRP Irp)
23 {
24     DPRINT1("PortPdoScsi()\n");
25 
26     Irp->IoStatus.Information = 0;
27     Irp->IoStatus.Status = STATUS_SUCCESS;
28     IoCompleteRequest(Irp, IO_NO_INCREMENT);
29     return STATUS_SUCCESS;
30 }
31 
32 
33 NTSTATUS
34 NTAPI
35 PortPdoPnp(
36     _In_ PDEVICE_OBJECT DeviceObject,
37     _In_ PIRP Irp)
38 {
39     DPRINT1("PortPdoPnp()\n");
40 
41     Irp->IoStatus.Information = 0;
42     Irp->IoStatus.Status = STATUS_SUCCESS;
43     IoCompleteRequest(Irp, IO_NO_INCREMENT);
44     return STATUS_SUCCESS;
45 }
46 
47 /* EOF */
48