Author: hpoussin
Date: Sat Mar 3 20:39:51 2012
New Revision: 55972
URL:
http://svn.reactos.org/svn/reactos?rev=55972&view=rev
Log:
Revert most of r53392 effects.
When IoReportDetectedDevice() creates a PDO, the PDO is in no way related to the
DriverObject given to the function.
Driver calling IoReportDetectedDevice() should then ensure that it attachs a FDO on top of
this PDO.
Modified:
trunk/reactos/ntoskrnl/io/pnpmgr/pnpreport.c
Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnpreport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnprepo…
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnpreport.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnpreport.c [iso-8859-1] Sat Mar 3 20:39:51 2012
@@ -207,7 +207,7 @@
{
/* Create the PDO */
Status = PnpRootCreateDevice(&ServiceName,
- DriverObject,
+ NULL,
&Pdo,
NULL);
if (!NT_SUCCESS(Status))