diff options
Diffstat (limited to 'include/scsi/scsi_host.h')
-rw-r--r-- | include/scsi/scsi_host.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index 0fd4746ee39d..5c58d594126a 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h | |||
@@ -39,9 +39,6 @@ struct blk_queue_tags; | |||
39 | #define DISABLE_CLUSTERING 0 | 39 | #define DISABLE_CLUSTERING 0 |
40 | #define ENABLE_CLUSTERING 1 | 40 | #define ENABLE_CLUSTERING 1 |
41 | 41 | ||
42 | #define DISABLE_SG_CHAINING 0 | ||
43 | #define ENABLE_SG_CHAINING 1 | ||
44 | |||
45 | enum scsi_eh_timer_return { | 42 | enum scsi_eh_timer_return { |
46 | EH_NOT_HANDLED, | 43 | EH_NOT_HANDLED, |
47 | EH_HANDLED, | 44 | EH_HANDLED, |
@@ -136,9 +133,9 @@ struct scsi_host_template { | |||
136 | * the done callback is invoked. | 133 | * the done callback is invoked. |
137 | * | 134 | * |
138 | * This is called to inform the LLD to transfer | 135 | * This is called to inform the LLD to transfer |
139 | * cmd->request_bufflen bytes. The cmd->use_sg speciefies the | 136 | * scsi_bufflen(cmd) bytes. scsi_sg_count(cmd) speciefies the |
140 | * number of scatterlist entried in the command and | 137 | * number of scatterlist entried in the command and |
141 | * cmd->request_buffer contains the scatterlist. | 138 | * scsi_sglist(cmd) returns the scatterlist. |
142 | * | 139 | * |
143 | * return values: see queuecommand | 140 | * return values: see queuecommand |
144 | * | 141 | * |
@@ -446,15 +443,6 @@ struct scsi_host_template { | |||
446 | unsigned ordered_tag:1; | 443 | unsigned ordered_tag:1; |
447 | 444 | ||
448 | /* | 445 | /* |
449 | * true if the low-level driver can support sg chaining. this | ||
450 | * will be removed eventually when all the drivers are | ||
451 | * converted to support sg chaining. | ||
452 | * | ||
453 | * Status: OBSOLETE | ||
454 | */ | ||
455 | unsigned use_sg_chaining:1; | ||
456 | |||
457 | /* | ||
458 | * Countdown for host blocking with no commands outstanding | 446 | * Countdown for host blocking with no commands outstanding |
459 | */ | 447 | */ |
460 | unsigned int max_host_blocked; | 448 | unsigned int max_host_blocked; |
@@ -598,7 +586,6 @@ struct Scsi_Host { | |||
598 | unsigned unchecked_isa_dma:1; | 586 | unsigned unchecked_isa_dma:1; |
599 | unsigned use_clustering:1; | 587 | unsigned use_clustering:1; |
600 | unsigned use_blk_tcq:1; | 588 | unsigned use_blk_tcq:1; |
601 | unsigned use_sg_chaining:1; | ||
602 | 589 | ||
603 | /* | 590 | /* |
604 | * Host has requested that no further requests come through for the | 591 | * Host has requested that no further requests come through for the |