From 46eda1013c79e88c73cf674689242f343b73f86a Mon Sep 17 00:00:00 2001 From: ReactOS Portable Systems Group Date: Sat, 19 Jul 2008 20:55:49 +0000 Subject: [PATCH] - 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 --- reactos/ntoskrnl/io/pnpmgr/pnproot.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/reactos/ntoskrnl/io/pnpmgr/pnproot.c b/reactos/ntoskrnl/io/pnpmgr/pnproot.c index a19b30415a9..af9d9cd67f9 100644 --- a/reactos/ntoskrnl/io/pnpmgr/pnproot.c +++ b/reactos/ntoskrnl/io/pnpmgr/pnproot.c @@ -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; }