diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2010-02-25 21:03:27 +0100 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-03-03 14:07:22 +0100 |
commit | 33a2ffce51d9598380d73c515a27fc6cff3bd9c4 (patch) | |
tree | c370a96166c005f82c44353f4098778e85db0f72 /drivers/scsi/hpsa.h | |
parent | [SCSI] hpsa: Clarify calculation of padding for commandlist structure (diff) | |
download | linux-33a2ffce51d9598380d73c515a27fc6cff3bd9c4.tar.xz linux-33a2ffce51d9598380d73c515a27fc6cff3bd9c4.zip |
[SCSI] hpsa: Increase the number of scatter gather elements supported.
This uses the scatter-gather chaining feature of Smart Array
controllers. 32 scatter-gather elements are embedded in the
"command list", and the last element in the list may be marked
as a "chain pointer", and point to an additional block of
scatter gather elements. The precise number of scatter gather
elements supported is dependent on the particular kind of
Smart Array, and is determined at runtime by querying the
hardware.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/hpsa.h')
-rw-r--r-- | drivers/scsi/hpsa.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h index fc15215145d9..1bb5233b09a0 100644 --- a/drivers/scsi/hpsa.h +++ b/drivers/scsi/hpsa.h @@ -83,6 +83,10 @@ struct ctlr_info { unsigned int maxQsinceinit; unsigned int maxSG; spinlock_t lock; + int maxsgentries; + u8 max_cmd_sg_entries; + int chainsize; + struct SGDescriptor **cmd_sg_list; /* pointers to command and error info pool */ struct CommandList *cmd_pool; |