Author: tfaber
Date: Sun Apr 2 14:24:11 2017
New Revision: 74265
URL:
http://svn.reactos.org/svn/reactos?rev=74265&view=rev
Log:
[HAL][NTOS:PNP]
- Silence some debug prints about unhandled PNP minor functions
Modified:
trunk/reactos/hal/halx86/legacy/halpnpdd.c
trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c
Modified: trunk/reactos/hal/halx86/legacy/halpnpdd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/legacy/halpnpdd…
==============================================================================
--- trunk/reactos/hal/halx86/legacy/halpnpdd.c [iso-8859-1] (original)
+++ trunk/reactos/hal/halx86/legacy/halpnpdd.c [iso-8859-1] Sun Apr 2 14:24:11 2017
@@ -787,6 +787,34 @@
(PVOID)&Irp->IoStatus.Information);
break;
+ case IRP_MN_QUERY_DEVICE_TEXT:
+
+ /* Inherit whatever status we had */
+ DPRINT("Query text for the PDO\n");
+ Status = Irp->IoStatus.Status;
+ break;
+
+ case IRP_MN_FILTER_RESOURCE_REQUIREMENTS:
+
+ /* Inherit whatever status we had */
+ DPRINT("Filter resource requirements for the PDO\n");
+ Status = Irp->IoStatus.Status;
+ break;
+
+ case IRP_MN_QUERY_PNP_DEVICE_STATE:
+
+ /* Inherit whatever status we had */
+ DPRINT("Query device state for the PDO\n");
+ Status = Irp->IoStatus.Status;
+ break;
+
+ case IRP_MN_QUERY_BUS_INFORMATION:
+
+ /* Inherit whatever status we had */
+ DPRINT("Query bus information for the PDO\n");
+ Status = Irp->IoStatus.Status;
+ break;
+
default:
/* We don't handle anything else, so inherit the old state */
@@ -821,7 +849,7 @@
IN PIRP Irp)
{
PFDO_EXTENSION FdoExtension;
-
+
DPRINT1("HAL: PnP Driver Power!\n");
FdoExtension = DeviceObject->DeviceExtension;
if (FdoExtension->ExtensionType == FdoExtensionType)
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnproot…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c [iso-8859-1] Sun Apr 2 14:24:11 2017
@@ -1189,6 +1189,10 @@
Status = PdoQueryId(DeviceObject, Irp, IrpSp);
break;
+ case IRP_MN_QUERY_PNP_DEVICE_STATE: /* 0x14 */
+ DPRINT("IRP_MJ_PNP / IRP_MN_QUERY_PNP_DEVICE_STATE\n");
+ break;
+
case IRP_MN_QUERY_BUS_INFORMATION: /* 0x15 */
DPRINT("IRP_MJ_PNP / IRP_MN_QUERY_BUS_INFORMATION\n");
Status = PdoQueryBusInformation(DeviceObject, Irp, IrpSp);