[I8042PRT][PCIIDEX]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 2 Apr 2017 14:35:33 +0000 (14:35 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 2 Apr 2017 14:35:33 +0000 (14:35 +0000)
- Silence debug prints about IRP_MN_QUERY_CAPABILITIES

svn path=/trunk/; revision=74266

reactos/drivers/input/i8042prt/pnp.c
reactos/drivers/storage/ide/pciidex/fdo.c

index 6712c98..b95dc9a 100644 (file)
@@ -723,12 +723,17 @@ i8042Pnp(
             }
             break;
         }
+        case IRP_MN_QUERY_CAPABILITIES: /* (optional) 0x09 */
+        {
+            TRACE_(I8042PRT, "IRP_MJ_PNP / IRP_MN_QUERY_CAPABILITIES\n");
+            return ForwardIrpAndForget(DeviceObject, Irp);
+        }
         case IRP_MN_FILTER_RESOURCE_REQUIREMENTS: /* (optional) 0x0d */
         {
             TRACE_(I8042PRT, "IRP_MJ_PNP / IRP_MN_FILTER_RESOURCE_REQUIREMENTS\n");
             return ForwardIrpAndForget(DeviceObject, Irp);
         }
-        case IRP_MN_QUERY_PNP_DEVICE_STATE: /* 0x14 */
+        case IRP_MN_QUERY_PNP_DEVICE_STATE: /* (optional) 0x14 */
         {
             TRACE_(I8042PRT, "IRP_MJ_PNP / IRP_MN_QUERY_PNP_DEVICE_STATE\n");
             return ForwardIrpAndForget(DeviceObject, Irp);
index 0d6cb3b..1238734 100644 (file)
@@ -462,6 +462,11 @@ PciIdeXFdoPnpDispatch(
                        DPRINT("IRP_MJ_PNP / IRP_MN_FILTER_RESOURCE_REQUIREMENTS\n");
                        return ForwardIrpAndForget(DeviceObject, Irp);
                }
+               case IRP_MN_QUERY_CAPABILITIES: /* 0x09 */
+               {
+                       DPRINT("IRP_MJ_PNP / IRP_MN_QUERY_CAPABILITIES\n");
+                       return ForwardIrpAndForget(DeviceObject, Irp);
+               }
                default:
                {
                        DPRINT1("IRP_MJ_PNP / Unknown minor function 0x%lx\n", MinorFunction);