From 2a5689bb0bd9f573ce83cad88c0351c650bb3a03 Mon Sep 17 00:00:00 2001 From: Vizzini Date: Sat, 19 Jun 2004 06:03:37 +0000 Subject: [PATCH] added support for setting Component Information for the ISA bus; fixed a minor bug svn path=/trunk/; revision=9720 --- freeldr/freeldr/arch/i386/hardware.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/freeldr/freeldr/arch/i386/hardware.c b/freeldr/freeldr/arch/i386/hardware.c index 9f6581ee19a..2e5b37f070a 100644 --- a/freeldr/freeldr/arch/i386/hardware.c +++ b/freeldr/freeldr/arch/i386/hardware.c @@ -1951,6 +1951,12 @@ DetectIsaBios(HKEY SystemKey, U32 *BusNumber) return; } + /* Set 'Component Information' value similar to my NT4 box */ + SetComponentInformation(BusKey, + 0x0, + 0x0, + 0xFFFFFFFF); + /* Increment bus number */ (*BusNumber)++; @@ -1984,7 +1990,7 @@ DetectIsaBios(HKEY SystemKey, U32 *BusNumber) FullResourceDescriptor->PartialResourceList.Count = 0; /* Set 'Configuration Data' value */ - Error = RegSetValue(SystemKey, + Error = RegSetValue(BusKey, "Configuration Data", REG_FULL_RESOURCE_DESCRIPTOR, (PU8) FullResourceDescriptor, @@ -1998,7 +2004,6 @@ DetectIsaBios(HKEY SystemKey, U32 *BusNumber) return; } - /* Detect ISA/BIOS devices */ DetectBiosDisks(SystemKey, BusKey);