[ros-diffs] [ros-arm-bringup] 34591: - No, it isn't "ramdisk" that's misbehaving, it's your code. PnP needs to handle BusRelations instead of ignoring them.

ros-arm-bringup at svn.reactos.org ros-arm-bringup at svn.reactos.org
Sat Jul 19 22:55:50 CEST 2008


Author: ros-arm-bringup
Date: Sat Jul 19 15:55:49 2008
New Revision: 34591

URL: http://svn.reactos.org/svn/reactos?rev=34591&view=rev
Log:
- No, it isn't "ramdisk" that's misbehaving, it's your code. PnP needs to handle BusRelations instead of ignoring them.

Modified:
    trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c

Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c?rev=34591&r1=34590&r2=34591&view=diff
==============================================================================
--- trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c [iso-8859-1] Sat Jul 19 15:55:49 2008
@@ -689,10 +689,7 @@
             if (IoGetAttachedDevice(DeviceObject) != DeviceObject)
             {
                 /* We're not alone in the stack */
-                PDEVICE_NODE DeviceNode;
-                DeviceNode = IopGetDeviceNode(IopGetDeviceNode(DeviceObject)->PhysicalDeviceObject);
-                DPRINT1("Device stack for '%wZ' (%wZ) is misbehaving ; shouldn't receive IRP_MN_QUERY_DEVICE_RELATIONS / BusRelations\n",
-                    &DeviceNode->InstancePath, &DeviceNode->ServiceName);
+                DPRINT1("PnP is misbehaving ; don't know how to handle IRP_MN_QUERY_DEVICE_RELATIONS / BusRelations\n");
             }
             break;
         }



More information about the Ros-diffs mailing list