mirror of
https://github.com/reactos/reactos.git
synced 2024-10-02 07:26:47 +00:00
- Fixed the offset in ReadPciConfigUshort.
svn path=/trunk/; revision=4586
This commit is contained in:
parent
40b6b22911
commit
4b11a99bfe
|
@ -190,7 +190,7 @@ ReadPciConfigUshort(U8 Bus,
|
|||
{
|
||||
case 1:
|
||||
WRITE_PORT_ULONG((PU32)0xCF8, CONFIG_CMD(Bus, Slot, Offset));
|
||||
*Value = READ_PORT_USHORT((PU16)0xCFC + (Offset & 1));
|
||||
*Value = READ_PORT_USHORT((PU16)0xCFC + (Offset & 2));
|
||||
return TRUE;
|
||||
|
||||
case 2:
|
||||
|
|
Loading…
Reference in a new issue