- No, it isn't "ramdisk" that's misbehaving, it's your code. PnP needs to handle BusRelations instead of ignoring them.

svn path=/trunk/; revision=34591
This commit is contained in:
ReactOS Portable Systems Group 2008-07-19 20:55:49 +00:00
parent 910b3242e7
commit 46eda1013c

View file

@ -689,10 +689,7 @@ PdoQueryDeviceRelations(
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;
}