patch-2.1.88 linux/drivers/scsi/gdth_proc.c

Next file: linux/drivers/scsi/hosts.h
Previous file: linux/drivers/scsi/53c7xx.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.87/linux/drivers/scsi/gdth_proc.c linux/drivers/scsi/gdth_proc.c
@@ -620,12 +620,12 @@
     oldto = scp->timeout;
     scp->timeout = timeout;
     if (timeout > 0) {
-        if (timer_table[SCSI_TIMER].expires == 0) {
-            timer_table[SCSI_TIMER].expires = jiffies + timeout;
-            timer_active |= 1 << SCSI_TIMER;
+        if (timer_table[GDTH_TIMER].expires == 0) {
+            timer_table[GDTH_TIMER].expires = jiffies + timeout;
+            timer_active |= 1 << GDTH_TIMER;
         } else {
-            if (jiffies + timeout < timer_table[SCSI_TIMER].expires)
-                timer_table[SCSI_TIMER].expires = jiffies + timeout;
+            if (jiffies + timeout < timer_table[GDTH_TIMER].expires)
+                timer_table[GDTH_TIMER].expires = jiffies + timeout;
         }
     }
 

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