added support for setting Component Information for the ISA bus; fixed a minor bug

svn path=/trunk/; revision=9720
This commit is contained in:
Vizzini 2004-06-19 06:03:37 +00:00
parent 0cbe4f2842
commit 2a5689bb0b

View file

@ -1951,6 +1951,12 @@ DetectIsaBios(HKEY SystemKey, U32 *BusNumber)
return; return;
} }
/* Set 'Component Information' value similar to my NT4 box */
SetComponentInformation(BusKey,
0x0,
0x0,
0xFFFFFFFF);
/* Increment bus number */ /* Increment bus number */
(*BusNumber)++; (*BusNumber)++;
@ -1984,7 +1990,7 @@ DetectIsaBios(HKEY SystemKey, U32 *BusNumber)
FullResourceDescriptor->PartialResourceList.Count = 0; FullResourceDescriptor->PartialResourceList.Count = 0;
/* Set 'Configuration Data' value */ /* Set 'Configuration Data' value */
Error = RegSetValue(SystemKey, Error = RegSetValue(BusKey,
"Configuration Data", "Configuration Data",
REG_FULL_RESOURCE_DESCRIPTOR, REG_FULL_RESOURCE_DESCRIPTOR,
(PU8) FullResourceDescriptor, (PU8) FullResourceDescriptor,
@ -1998,7 +2004,6 @@ DetectIsaBios(HKEY SystemKey, U32 *BusNumber)
return; return;
} }
/* Detect ISA/BIOS devices */ /* Detect ISA/BIOS devices */
DetectBiosDisks(SystemKey, BusKey); DetectBiosDisks(SystemKey, BusKey);