John Kim
--- linux-2.5.60-bk4/drivers/scsi/seagate.c 2003-02-10 13:38:29.000000000 -0500
+++ linux-2.5.60-bk4-new/drivers/scsi/seagate.c 2003-02-14 15:37:52.000000000 -0500
@@ -683,8 +683,8 @@
DANY ("seagate: que_command");
done_fn = done;
- current_target = SCpnt->target;
- current_lun = SCpnt->lun;
+ current_target = SCpnt->device->id;
+ current_lun = SCpnt->device->lun;
current_cmnd = SCpnt->cmnd;
current_data = (unsigned char *) SCpnt->request_buffer;
current_bufflen = SCpnt->request_bufflen;
@@ -713,7 +713,7 @@
#endif /* LINKED */
reconnect = CAN_RECONNECT;
- result = internal_command(SCint->target, SCint->lun, SCint->cmnd,
+ result = internal_command(SCint->device->id, SCint->device->lun, SCint->cmnd,
SCint->request_buffer, SCint->request_bufflen, reconnect);
if (msg_byte(result) == DISCONNECT)
break;
@@ -729,7 +729,7 @@
static int seagate_st0x_command(Scsi_Cmnd * SCpnt)
{
- return internal_command (SCpnt->target, SCpnt->lun, SCpnt->cmnd,
+ return internal_command (SCpnt->device->id, SCpnt->device->lun, SCpnt->cmnd,
SCpnt->request_buffer, SCpnt->request_bufflen,
(int) NO_RECONNECT);
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/