patch-2.1.102 linux/drivers/scsi/53c7,8xx.c
Next file: linux/drivers/scsi/53c7xx.c
Previous file: linux/drivers/sbus/audio/cs4231.c
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Mon May 11 10:50:35 1998
- Orig file:
v2.1.101/linux/drivers/scsi/53c7,8xx.c
- Orig date:
Sat May 2 14:19:53 1998
diff -u --recursive --new-file v2.1.101/linux/drivers/scsi/53c7,8xx.c linux/drivers/scsi/53c7,8xx.c
@@ -1891,7 +1891,7 @@
printk ("scsi%d : test 1", host->host_no);
NCR53c7x0_write32 (DSP_REG, start);
printk (" started\n");
- sti();
+ restore_flags(flags);
/*
* This is currently a .5 second timeout, since (in theory) no slow
@@ -1983,7 +1983,7 @@
hostdata->state = STATE_RUNNING;
NCR53c7x0_write32 (DSA_REG, virt_to_bus(dsa));
NCR53c7x0_write32 (DSP_REG, start);
- sti();
+ restore_flags(flags);
timeout = jiffies + 5 * HZ; /* arbitrary */
while ((hostdata->test_completed == -1) && jiffies < timeout)
@@ -5737,7 +5737,7 @@
disable(host);
else if (hostdata->resets != -1)
--hostdata->resets;
- sti();
+ restore_flags(flags);
for (; nuke_list; nuke_list = tmp) {
tmp = (Scsi_Cmnd *) nuke_list->SCp.buffer;
nuke_list->result = DID_RESET << 16;
@@ -6193,7 +6193,7 @@
printk ("scsi%d : loop detected in running list!\n", host->host_no);
break;
} else {
- printk ("The sti() implicit in a printk() prevents hangs\n");
+ printk ("Duh? Bad things happening in the NCR driver\n");
break;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov