Author: dgorbachev
Date: Mon Feb 23 16:17:07 2009
New Revision: 39721
URL:
http://svn.reactos.org/svn/reactos?rev=39721&view=rev
Log:
Call IopEnumerateDevice() later, after IopCreateArcNames().
Modified:
trunk/reactos/ntoskrnl/io/iomgr/iomgr.c
Modified: trunk/reactos/ntoskrnl/io/iomgr/iomgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/iomgr/iomgr.c?…
==============================================================================
--- trunk/reactos/ntoskrnl/io/iomgr/iomgr.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/iomgr/iomgr.c [iso-8859-1] Mon Feb 23 16:17:07 2009
@@ -496,9 +496,6 @@
/* Call back drivers that asked for */
IopReinitializeBootDrivers();
- /* Initialize PnP root relations */
- IopEnumerateDevice(IopRootDeviceNode->PhysicalDeviceObject);
-
/* Check if this was a ramdisk boot */
if (!_strnicmp(LoaderBlock->ArcBootDeviceName, "ramdisk(0)", 10))
{
@@ -512,6 +509,9 @@
/* Mark the system boot partition */
if (!IopMarkBootPartition(LoaderBlock)) return FALSE;
+ /* Initialize PnP root relations */
+ IopEnumerateDevice(IopRootDeviceNode->PhysicalDeviceObject);
+
#ifndef _WINKD_
/* Read KDB Data */
KdbInit();