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…
==============================================================================
--- 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;
}