aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/scsi/scsi_host.h')
-rw-r--r--include/scsi/scsi_host.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h
index 3b8a6a85c2f..7d210cd6c38 100644
--- a/include/scsi/scsi_host.h
+++ b/include/scsi/scsi_host.h
@@ -32,6 +32,9 @@ struct blk_queue_tags;
32#define SG_NONE 0 32#define SG_NONE 0
33#define SG_ALL 0xff 33#define SG_ALL 0xff
34 34
35#define MODE_UNKNOWN 0x00
36#define MODE_INITIATOR 0x01
37#define MODE_TARGET 0x02
35 38
36#define DISABLE_CLUSTERING 0 39#define DISABLE_CLUSTERING 0
37#define ENABLE_CLUSTERING 1 40#define ENABLE_CLUSTERING 1
@@ -145,9 +148,6 @@ struct scsi_host_template {
145 int (* transfer_response)(struct scsi_cmnd *, 148 int (* transfer_response)(struct scsi_cmnd *,
146 void (*done)(struct scsi_cmnd *)); 149 void (*done)(struct scsi_cmnd *));
147 150
148 /* Used as callback for the completion of task management request. */
149 int (* tsk_mgmt_response)(u64 mid, int result);
150
151 /* 151 /*
152 * This is an error handling strategy routine. You don't need to 152 * This is an error handling strategy routine. You don't need to
153 * define one of these if you don't want to - there is a default 153 * define one of these if you don't want to - there is a default
@@ -408,6 +408,11 @@ struct scsi_host_template {
408 unsigned char present; 408 unsigned char present;
409 409
410 /* 410 /*
411 * This specifies the mode that a LLD supports.
412 */
413 unsigned supported_mode:2;
414
415 /*
411 * true if this host adapter uses unchecked DMA onto an ISA bus. 416 * true if this host adapter uses unchecked DMA onto an ISA bus.
412 */ 417 */
413 unsigned unchecked_isa_dma:1; 418 unsigned unchecked_isa_dma:1;
@@ -575,8 +580,9 @@ struct Scsi_Host {
575 * Used to assign serial numbers to the cmds. 580 * Used to assign serial numbers to the cmds.
576 * Protected by the host lock. 581 * Protected by the host lock.
577 */ 582 */
578 unsigned long cmd_serial_number, cmd_pid; 583 unsigned long cmd_serial_number;
579 584
585 unsigned active_mode:2;
580 unsigned unchecked_isa_dma:1; 586 unsigned unchecked_isa_dma:1;
581 unsigned use_clustering:1; 587 unsigned use_clustering:1;
582 unsigned use_blk_tcq:1; 588 unsigned use_blk_tcq:1;