mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
added support for setting Component Information for the ISA bus; fixed a minor bug
svn path=/trunk/; revision=9720
This commit is contained in:
parent
0cbe4f2842
commit
2a5689bb0b
1 changed files with 7 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue