git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
drivers
/
scsi
/
NCR5380.c
diff --git
a/drivers/scsi/NCR5380.c
b/drivers/scsi/NCR5380.c
index
612d828
..
e3bb9dd
100644
(file)
--- a/
drivers/scsi/NCR5380.c
+++ b/
drivers/scsi/NCR5380.c
@@
-1248,7
+1248,7
@@
static void NCR5380_main(void *p)
* and see if we can do an information transfer,
* with failures we will restart.
*/
* and see if we can do an information transfer,
* with failures we will restart.
*/
- hostdata->selecting =
0;
+ hostdata->selecting =
NULL;
/* RvC: have to preset this to indicate a new command is being performed */
if (!NCR5380_select(instance, tmp,
/* RvC: have to preset this to indicate a new command is being performed */
if (!NCR5380_select(instance, tmp,
@@
-1634,7
+1634,7
@@
part2:
to go to sleep */
}
to go to sleep */
}
- hostdata->selecting =
0;
/* clear this pointer, because we passed the
+ hostdata->selecting =
NULL;
/* clear this pointer, because we passed the
waiting period */
if ((NCR5380_read(STATUS_REG) & (SR_SEL | SR_IO)) == (SR_SEL | SR_IO)) {
NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE);
waiting period */
if ((NCR5380_read(STATUS_REG) & (SR_SEL | SR_IO)) == (SR_SEL | SR_IO)) {
NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE);