Merge FldrCreateComponentKey and FldrSetComponentInformation
[reactos.git] / reactos / boot / freeldr / freeldr / arch / i386 / hwacpi.c
index a578b8f..a4c8d65 100644 (file)
@@ -69,18 +69,13 @@ DetectAcpiBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber)
 
         /* Create new bus key */
         FldrCreateComponentKey(SystemKey,
-                               L"MultifunctionAdapter",
-                               *BusNumber,
                                AdapterClass,
                                MultiFunctionAdapter,
+                               0x0,
+                               0x0,
+                               0xFFFFFFFF,
                                &BiosKey);
 
-        /* Set 'Component Information' */
-        FldrSetComponentInformation(BiosKey,
-                                    0x0,
-                                    0x0,
-                                    0xFFFFFFFF);
-
         /* Get BIOS memory map */
         RtlZeroMemory(BiosMemoryMap, sizeof(BIOS_MEMORY_MAP) * 32);
         BiosMemoryMapEntryCount = PcMemGetMemoryMap(BiosMemoryMap,