mirror of
https://github.com/reactos/reactos.git
synced 2024-09-30 22:47:28 +00:00
- Fixed the initializing of the access ranges.
svn path=/trunk/; revision=8950
This commit is contained in:
parent
b408a6aeb8
commit
eec82162fb
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: scsiport.c,v 1.51 2004/03/24 16:21:59 navaraf Exp $
|
||||
/* $Id: scsiport.c,v 1.52 2004/04/02 15:43:01 hbirr Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -1281,7 +1281,7 @@ SpiGetPciConfigData (IN struct _HW_INITIALIZATION_DATA *HwInitializationData,
|
|||
sizeof(ULONG));
|
||||
if (RangeLength != 0)
|
||||
{
|
||||
PortConfig->AccessRanges[0].RangeLength =
|
||||
PortConfig->AccessRanges[i].RangeLength =
|
||||
-(RangeLength & PCI_ADDRESS_IO_ADDRESS_MASK);
|
||||
PortConfig->AccessRanges[i].RangeInMemory =
|
||||
!(PciConfig.u.type0.BaseAddresses[i] & PCI_ADDRESS_IO_SPACE);
|
||||
|
|
Loading…
Reference in a new issue