Commit in reactos/drivers/storage/scsiport on MAIN
scsiport.c+2-21.51 -> 1.52
- Fixed the initializing of the access ranges.

reactos/drivers/storage/scsiport
scsiport.c 1.51 -> 1.52
diff -u -r1.51 -r1.52
--- scsiport.c	24 Mar 2004 16:21:59 -0000	1.51
+++ scsiport.c	2 Apr 2004 15:43:01 -0000	1.52
@@ -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 @@
 						 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);
CVSspam 0.2.8