* [PATCH] kill use_blk_tcq template flag
@ 2003-09-20 8:34 Christoph Hellwig
0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2003-09-20 8:34 UTC (permalink / raw)
To: James Bottomley; +Cc: linux-scsi
The flag isn't checked ever as drivers using the block layer tcq
code do so by themselves, without any interaction to the scsi midlayer.
diff -Nru a/drivers/scsi/53c700.c b/drivers/scsi/53c700.c
--- a/drivers/scsi/53c700.c Sat Sep 20 09:35:53 2003
+++ b/drivers/scsi/53c700.c Sat Sep 20 09:35:53 2003
@@ -281,7 +281,6 @@
tpnt->use_clustering = DISABLE_CLUSTERING;
tpnt->slave_configure = NCR_700_slave_configure;
tpnt->slave_destroy = NCR_700_slave_destroy;
- tpnt->use_blk_tcq = 1;
if(tpnt->name == NULL)
tpnt->name = "53c700";
diff -Nru a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
--- a/drivers/scsi/hosts.c Sat Sep 20 09:35:53 2003
+++ b/drivers/scsi/hosts.c Sat Sep 20 09:35:53 2003
@@ -236,7 +236,6 @@
shost->cmd_per_lun = sht->cmd_per_lun;
shost->unchecked_isa_dma = sht->unchecked_isa_dma;
shost->use_clustering = sht->use_clustering;
- shost->use_blk_tcq = sht->use_blk_tcq;
if (sht->max_host_blocked)
shost->max_host_blocked = sht->max_host_blocked;
diff -Nru a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h
--- a/include/scsi/scsi_host.h Sat Sep 20 09:35:53 2003
+++ b/include/scsi/scsi_host.h Sat Sep 20 09:35:53 2003
@@ -312,12 +312,6 @@
*/
unsigned emulated:1;
- /*
- * True if the driver wishes to use the generic block layer
- * tag queueing functions
- */
- unsigned use_blk_tcq:1;
-
/*
* Countdown for host blocking with no commands outstanding
*/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-09-20 8:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-20 8:34 [PATCH] kill use_blk_tcq template flag Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox