mirror of
https://github.com/reactos/reactos.git
synced 2025-05-30 22:49:12 +00:00
- 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:
parent
910b3242e7
commit
46eda1013c
1 changed files with 1 additions and 4 deletions
|
@ -689,10 +689,7 @@ PdoQueryDeviceRelations(
|
||||||
if (IoGetAttachedDevice(DeviceObject) != DeviceObject)
|
if (IoGetAttachedDevice(DeviceObject) != DeviceObject)
|
||||||
{
|
{
|
||||||
/* We're not alone in the stack */
|
/* We're not alone in the stack */
|
||||||
PDEVICE_NODE DeviceNode;
|
DPRINT1("PnP is misbehaving ; don't know how to handle IRP_MN_QUERY_DEVICE_RELATIONS / BusRelations\n");
|
||||||
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);
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue