* [PATCH, scsi-block-2.6] comment cleanup for spi_execute
@ 2005-06-19 9:32 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2005-06-19 9:32 UTC (permalink / raw)
To: jejb; +Cc: linux-scsi
Index: linux-2.6/drivers/scsi/scsi_transport_spi.c
===================================================================
--- linux-2.6.orig/drivers/scsi/scsi_transport_spi.c 2005-06-18 17:15:20.000000000 +0200
+++ linux-2.6/drivers/scsi/scsi_transport_spi.c 2005-06-18 17:35:35.000000000 +0200
@@ -106,8 +106,6 @@
return result;
}
-/* Modification of scsi_wait_req that will clear UNIT ATTENTION conditions
- * resulting from (likely) bus and device resets */
static int spi_execute(struct scsi_device *sdev, const void *cmd,
enum dma_data_direction dir,
void *buffer, unsigned bufflen,
@@ -117,8 +115,6 @@
unsigned char sense[SCSI_SENSE_BUFFERSIZE];
for(i = 0; i < DV_RETRIES; i++) {
-
- /* FIXME: need to set REQ_FAILFAST */
result = scsi_execute(sdev, cmd, dir, buffer, bufflen,
sense, DV_TIMEOUT, /* retries */ 1,
REQ_FAILFAST);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-06-19 9:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-19 9:32 [PATCH, scsi-block-2.6] comment cleanup for spi_execute Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox