diff options
author | Don Brace <brace@beardog.cce.hp.com> | 2009-11-12 13:50:01 -0500 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-11-13 02:45:54 -0500 |
commit | 5c07a311a80adb0138fc08e8279c60255d88d0b8 (patch) | |
tree | 1746b4ec4b7ea1f2f02b34d5c0adc86dc8e0d97f /drivers/block/cciss_cmd.h | |
parent | da0021841c3ea6a82588efae3260015847ea5d33 (diff) |
cciss: Add enhanced scatter-gather support.
cciss: Add enhanced scatter-gather support. For controllers which
supported, more than 512 scatter-gather elements per command may
be used, and the max transfer size can be increased to 8192 blocks.
Signed-off-by: Don Brace <brace@beardog.cce.hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/cciss_cmd.h')
-rw-r--r-- | drivers/block/cciss_cmd.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/block/cciss_cmd.h b/drivers/block/cciss_cmd.h index dbaed1ea0da3..b50a9b261b85 100644 --- a/drivers/block/cciss_cmd.h +++ b/drivers/block/cciss_cmd.h | |||
@@ -7,7 +7,8 @@ | |||
7 | 7 | ||
8 | //general boundary defintions | 8 | //general boundary defintions |
9 | #define SENSEINFOBYTES 32//note that this value may vary between host implementations | 9 | #define SENSEINFOBYTES 32//note that this value may vary between host implementations |
10 | #define MAXSGENTRIES 31 | 10 | #define MAXSGENTRIES 32 |
11 | #define CCISS_SG_CHAIN 0x80000000 | ||
11 | #define MAXREPLYQS 256 | 12 | #define MAXREPLYQS 256 |
12 | 13 | ||
13 | //Command Status value | 14 | //Command Status value |
@@ -319,6 +320,10 @@ typedef struct _CfgTable_struct { | |||
319 | BYTE ServerName[16]; | 320 | BYTE ServerName[16]; |
320 | DWORD HeartBeat; | 321 | DWORD HeartBeat; |
321 | DWORD SCSI_Prefetch; | 322 | DWORD SCSI_Prefetch; |
323 | DWORD MaxSGElements; | ||
324 | DWORD MaxLogicalUnits; | ||
325 | DWORD MaxPhysicalDrives; | ||
326 | DWORD MaxPhysicalDrivesPerLogicalUnit; | ||
322 | } CfgTable_struct; | 327 | } CfgTable_struct; |
323 | #pragma pack() | 328 | #pragma pack() |
324 | #endif // CCISS_CMD_H | 329 | #endif // CCISS_CMD_H |