summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_devinfo.h
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2012-08-28 14:29:35 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-09-24 12:11:00 +0400
commitd974e4265dbd35db118c318176727ecb7f469de3 (patch)
treefbec9c25dbed708722d334601ed0adcf38f210cd /include/scsi/scsi_devinfo.h
parent8172499aae4d375334cfe6361900929c3b31a03f (diff)
downloadlinux-stable-d974e4265dbd35db118c318176727ecb7f469de3.tar.gz
linux-stable-d974e4265dbd35db118c318176727ecb7f469de3.tar.bz2
linux-stable-d974e4265dbd35db118c318176727ecb7f469de3.zip
[SCSI] Disable DIF on Hitachi Ultrastar 15K300
Hitachi Ultrastar 15K300 is quirky. Disable T10 PI (DIF). Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi/scsi_devinfo.h')
-rw-r--r--include/scsi/scsi_devinfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi_devinfo.h b/include/scsi/scsi_devinfo.h
index b4ddd3b18b4c..cc1f3e786ad7 100644
--- a/include/scsi/scsi_devinfo.h
+++ b/include/scsi/scsi_devinfo.h
@@ -30,4 +30,5 @@
#define BLIST_RETRY_HWERROR 0x400000 /* retry HARDWARE_ERROR */
#define BLIST_MAX_512 0x800000 /* maximum 512 sector cdb length */
#define BLIST_ATTACH_PQ3 0x1000000 /* Scan: Attach to PQ3 devices */
+#define BLIST_NO_DIF 0x2000000 /* Disable T10 PI (DIF) */
#endif