https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ac13f37d0a4a0cff9096c…
commit ac13f37d0a4a0cff9096c22be12e2ea6e57c5d01
Author: Hervé Poussineau <hpoussin(a)reactos.org>
AuthorDate: Thu Oct 7 20:53:38 2021 +0200
Commit: Hervé Poussineau <hpoussin(a)reactos.org>
CommitDate: Thu Oct 14 23:39:30 2021 +0200
[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))