From ac13f37d0a4a0cff9096c22be12e2ea6e57c5d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Thu, 7 Oct 2021 20:53:38 +0200 Subject: [PATCH] [ISAPNP] Generate a name for PDO, as required --- drivers/bus/isapnp/isapnp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/bus/isapnp/isapnp.c b/drivers/bus/isapnp/isapnp.c index 877d69bf5a5..0ff17876e75 100644 --- a/drivers/bus/isapnp/isapnp.c +++ b/drivers/bus/isapnp/isapnp.c @@ -1246,7 +1246,7 @@ IsaPnpCreateReadPortDO( sizeof(ISAPNP_PDO_EXTENSION), NULL, FILE_DEVICE_CONTROLLER, - FILE_DEVICE_SECURE_OPEN, + FILE_DEVICE_SECURE_OPEN | FILE_AUTOGENERATED_DEVICE_NAME, FALSE, &FdoExt->ReadPortPdo); if (!NT_SUCCESS(Status))