Author: cgutman
Date: Fri May 27 03:40:22 2011
New Revision: 51947
URL: http://svn.reactos.org/svn/reactos?rev=51947&view=rev
Log:
[USETUP]
- Disable the 1st stage user-mode PnP manager because it is creating incomplete registry keys which is confusing the real user-mode PnP manager and preventing devices installed in 1st stage from appearing in device manager
- Fixes displaying PCI bus controllers in device manager
- I need to discuss with Herve what should be done with this code
Modified:
trunk/reactos/base/setup/usetup/interface/usetup.c
Modified: trunk/reactos/base/setup/usetup/interface/usetup.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/interfac…
==============================================================================
--- trunk/reactos/base/setup/usetup/interface/usetup.c [iso-8859-1] (original)
+++ trunk/reactos/base/setup/usetup/interface/usetup.c [iso-8859-1] Fri May 27 03:40:22 2011
@@ -3776,10 +3776,14 @@
INPUT_RECORD Ir;
PAGE_NUMBER Page;
LARGE_INTEGER Time;
- NTSTATUS Status;
+// NTSTATUS Status;
NtQuerySystemTime(&Time);
+#if 0 /* This minimal PnP implementation causes problems because it writes
+ * half complete registry entries which cause devices installed by this
+ * method (PCI) to be improperly installed and not recognized by device manager
+ */
Status = RtlCreateUserThread(NtCurrentProcess(),
NULL,
TRUE,
@@ -3791,6 +3795,7 @@
&hPnpThread,
NULL);
if (!NT_SUCCESS(Status))
+#endif
hPnpThread = INVALID_HANDLE_VALUE;
if (!CONSOLE_Init())