patch-2.2.0-pre6 linux/drivers/scsi/scsi.c

Next file: linux/drivers/scsi/scsi_error.c
Previous file: linux/drivers/scsi/ppa.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre5/linux/drivers/scsi/scsi.c linux/drivers/scsi/scsi.c
@@ -531,7 +531,7 @@
       for (dev = 0; dev < shpnt->max_id; ++dev) {
         if( shpnt->reverse_ordering)
         	/* Shift to scanning 15,14,13... or 7,6,5,4, */
-        	order_dev = shpnt->max_channel-dev-1;
+        	order_dev = shpnt->max_id-dev-1;
         else
         	order_dev = dev;
         	

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov