Author: hpoussin
Date: Mon Jul 9 02:19:51 2007
New Revision: 27526
URL:
http://svn.reactos.org/svn/reactos?rev=27526&view=rev
Log:
Do not complain on IRP_MN_FILTER_RESOURCE_REQUIREMENTS
Modified:
trunk/reactos/drivers/bus/pci/fdo.c
trunk/reactos/drivers/bus/pci/pdo.c
trunk/reactos/drivers/serial/serenum/detect.c
trunk/reactos/drivers/serial/serenum/fdo.c
trunk/reactos/drivers/serial/serenum/pdo.c
trunk/reactos/drivers/serial/serenum/serenum.c
trunk/reactos/drivers/serial/serenum/serenum.h
trunk/reactos/drivers/serial/serial/pnp.c
trunk/reactos/drivers/storage/ide/pciidex/fdo.c
Modified: trunk/reactos/drivers/bus/pci/fdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/pci/fdo.c?rev=…
==============================================================================
--- trunk/reactos/drivers/bus/pci/fdo.c (original)
+++ trunk/reactos/drivers/bus/pci/fdo.c Mon Jul 9 02:19:51 2007
@@ -535,7 +535,9 @@
#endif
default:
DPRINT1("Unknown IOCTL 0x%lx\n", IrpSp->MinorFunction);
-
+ /* fall through */
+
+ case IRP_MN_FILTER_RESOURCE_REQUIREMENTS:
/*
* Do NOT complete the IRP as it will be processed by the lower
* device object, which will complete the IRP
Modified: trunk/reactos/drivers/bus/pci/pdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/pci/pdo.c?rev=…
==============================================================================
--- trunk/reactos/drivers/bus/pci/pdo.c (original)
+++ trunk/reactos/drivers/bus/pci/pdo.c Mon Jul 9 02:19:51 2007
@@ -1371,6 +1371,12 @@
Status = PdoWriteConfig(DeviceObject, Irp, IrpSp);
break;
+ case IRP_MN_FILTER_RESOURCE_REQUIREMENTS:
+ DPRINT("IRP_MN_FILTER_RESOURCE_REQUIREMENTS received\n");
+ /* Nothing to do */
+ Irp->IoStatus.Status = Status;
+ break;
+
default:
DPRINT1("Unknown IOCTL 0x%lx\n", IrpSp->MinorFunction);
break;
Modified: trunk/reactos/drivers/serial/serenum/detect.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/serial/serenum/det…
==============================================================================
--- trunk/reactos/drivers/serial/serenum/detect.c (original)
+++ trunk/reactos/drivers/serial/serenum/detect.c Mon Jul 9 02:19:51 2007
@@ -6,7 +6,7 @@
*
* PROGRAMMERS: Jason Filby (jasonfilby(a)yahoo.com)
* Filip Navara (xnavara(a)volny.cz)
- * Hervé Poussineau (hpoussin(a)reactos.com)
+ * Hervé Poussineau (hpoussin(a)reactos.org)
*/
#include "serenum.h"
Modified: trunk/reactos/drivers/serial/serenum/fdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/serial/serenum/fdo…
==============================================================================
--- trunk/reactos/drivers/serial/serenum/fdo.c (original)
+++ trunk/reactos/drivers/serial/serenum/fdo.c Mon Jul 9 02:19:51 2007
@@ -4,7 +4,7 @@
* FILE: drivers/bus/serenum/fdo.c
* PURPOSE: IRP_MJ_PNP operations for FDOs
*
- * PROGRAMMERS: Hervé Poussineau (hpoussin(a)reactos.com)
+ * PROGRAMMERS: Hervé Poussineau (hpoussin(a)reactos.org)
*/
#include "serenum.h"
@@ -171,7 +171,6 @@
IRP_MN_QUERY_DEVICE_RELATIONS / RemovalRelations (optional) 0x7
IRP_MN_QUERY_INTERFACE (optional) 0x8
IRP_MN_QUERY_CAPABILITIES (optional) 0x9
- IRP_MN_FILTER_RESOURCE_REQUIREMENTS (optional or required) 0xb
IRP_MN_QUERY_PNP_DEVICE_STATE (optional) 0x14
IRP_MN_DEVICE_USAGE_NOTIFICATION (required or optional) 0x16
IRP_MN_SURPRISE_REMOVAL 0x17
@@ -204,6 +203,11 @@
}
break;
}
+ case IRP_MN_FILTER_RESOURCE_REQUIREMENTS: /* 0xd */
+ {
+ DPRINT("IRP_MJ_PNP / IRP_MN_FILTER_RESOURCE_REQUIREMENTS\n");
+ return ForwardIrpAndForget(DeviceObject, Irp);
+ }
default:
{
DPRINT1("IRP_MJ_PNP / unknown minor function 0x%lx\n", MinorFunction);
Modified: trunk/reactos/drivers/serial/serenum/pdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/serial/serenum/pdo…
==============================================================================
--- trunk/reactos/drivers/serial/serenum/pdo.c (original)
+++ trunk/reactos/drivers/serial/serenum/pdo.c Mon Jul 9 02:19:51 2007
@@ -4,7 +4,7 @@
* FILE: drivers/bus/serenum/pdo.c
* PURPOSE: IRP_MJ_PNP operations for PDOs
*
- * PROGRAMMERS: Hervé Poussineau (hpoussin(a)reactos.com)
+ * PROGRAMMERS: Hervé Poussineau (hpoussin(a)reactos.org)
*/
#include "serenum.h"
Modified: trunk/reactos/drivers/serial/serenum/serenum.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/serial/serenum/ser…
==============================================================================
--- trunk/reactos/drivers/serial/serenum/serenum.c (original)
+++ trunk/reactos/drivers/serial/serenum/serenum.c Mon Jul 9 02:19:51 2007
@@ -4,7 +4,7 @@
* FILE: drivers/bus/serenum/serenum.c
* PURPOSE: Serial enumerator driver entry point
*
- * PROGRAMMERS: Hervé Poussineau (hpoussin(a)reactos.com)
+ * PROGRAMMERS: Hervé Poussineau (hpoussin(a)reactos.org)
*/
#define INITGUID
Modified: trunk/reactos/drivers/serial/serenum/serenum.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/serial/serenum/ser…
==============================================================================
--- trunk/reactos/drivers/serial/serenum/serenum.h (original)
+++ trunk/reactos/drivers/serial/serenum/serenum.h Mon Jul 9 02:19:51 2007
@@ -4,24 +4,14 @@
* FILE: drivers/bus/serenum/serenum.h
* PURPOSE: Serial enumerator driver header
*
- * PROGRAMMERS: Hervé Poussineau (hpoussin(a)reactos.com)
+ * PROGRAMMERS: Hervé Poussineau (hpoussin(a)reactos.org)
*/
#include <ntifs.h>
#include <ntddk.h>
#include <ntddser.h>
#include <stdio.h>
-
-#if defined(__GNUC__)
- #include <debug.h>
-#elif defined(_MSC_VER)
- #define DPRINT1 DbgPrint("(%s:%d) ", __FILE__, __LINE__), DbgPrint
- #define CHECKPOINT1 DbgPrint("(%s:%d)\n", __FILE__, __LINE__)
- #define DPRINT DPRINT1
- #define CHECKPOINT CHECKPOINT1
-#else
- #error Unknown compiler!
-#endif
+#include <debug.h>
#define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) +
((D)<<24))
Modified: trunk/reactos/drivers/serial/serial/pnp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/serial/serial/pnp.…
==============================================================================
--- trunk/reactos/drivers/serial/serial/pnp.c (original)
+++ trunk/reactos/drivers/serial/serial/pnp.c Mon Jul 9 02:19:51 2007
@@ -394,6 +394,11 @@
}
break;
}
+ case IRP_MN_FILTER_RESOURCE_REQUIREMENTS: /* (optional) 0xd */
+ {
+ DPRINT("IRP_MJ_PNP / IRP_MN_FILTER_RESOURCE_REQUIREMENTS\n");
+ return ForwardIrpAndForget(DeviceObject, Irp);
+ }
default:
{
DPRINT1("Unknown minor function 0x%x\n", MinorFunction);
Modified: trunk/reactos/drivers/storage/ide/pciidex/fdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/storage/ide/pciide…
==============================================================================
--- trunk/reactos/drivers/storage/ide/pciidex/fdo.c (original)
+++ trunk/reactos/drivers/storage/ide/pciidex/fdo.c Mon Jul 9 02:19:51 2007
@@ -441,6 +441,11 @@
}
break;
}
+ case IRP_MN_FILTER_RESOURCE_REQUIREMENTS: /* 0x0d */
+ {
+ DPRINT("IRP_MJ_PNP / IRP_MN_FILTER_RESOURCE_REQUIREMENTS\n");
+ return ForwardIrpAndForget(DeviceObject, Irp);
+ }
default:
{
DPRINT1("IRP_MJ_PNP / Unknown minor function 0x%lx\n", MinorFunction);