summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa_cmd.h
diff options
context:
space:
mode:
authorMatt Gates <matt.gates@hp.com>2014-02-18 13:55:12 -0600
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 10:19:01 -0700
commite1d9cbfa09cdd39c4821777a6980dd643e5493ad (patch)
treee3652ca1dbfb0cb74f6572a2481438b9c6f3a0d4 /drivers/scsi/hpsa_cmd.h
parenta93aa1fe00a461690f0d0a9ed236b646056d1223 (diff)
downloadlinux-e1d9cbfa09cdd39c4821777a6980dd643e5493ad.tar.bz2
[SCSI] hpsa: mark last scatter gather element as the last
This is normally optional, but for SSD Smart Path support (in subsequent patches) it is required. Signed-off-by: Matt Gates <matthew.gates@hp.com> Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/hpsa_cmd.h')
-rw-r--r--drivers/scsi/hpsa_cmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa_cmd.h b/drivers/scsi/hpsa_cmd.h
index 3f96b66e5761..22cf799a2a1d 100644
--- a/drivers/scsi/hpsa_cmd.h
+++ b/drivers/scsi/hpsa_cmd.h
@@ -25,6 +25,7 @@
#define SENSEINFOBYTES 32 /* may vary between hbas */
#define SG_ENTRIES_IN_CMD 32 /* Max SG entries excluding chain blocks */
#define HPSA_SG_CHAIN 0x80000000
+#define HPSA_SG_LAST 0x40000000
#define MAXREPLYQS 256
/* Command Status value */