summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2008-08-02 19:49:40 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-08-29 08:59:50 -0500
commitbfad9ceac5d11318c99ae8a0d1e926a380a56edd (patch)
treecd09be326dac4f0982872a59d0b6b512bc8a390d
parent24342c34a022ee90839873d91396045e12ef1090 (diff)
downloadop-kernel-dev-bfad9ceac5d11318c99ae8a0d1e926a380a56edd.zip
op-kernel-dev-bfad9ceac5d11318c99ae8a0d1e926a380a56edd.tar.gz
[SCSI] sd: select CRC_T10DIF only when necessary
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Acked-by: "Martin K. Petersen" <martin.petersen@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
-rw-r--r--drivers/scsi/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index c7f0629..4e0322b 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -63,7 +63,7 @@ comment "SCSI support type (disk, tape, CD-ROM)"
config BLK_DEV_SD
tristate "SCSI disk support"
depends on SCSI
- select CRC_T10DIF
+ select CRC_T10DIF if BLK_DEV_INTEGRITY
---help---
If you want to use SCSI hard disks, Fibre Channel disks,
Serial ATA (SATA) or Parallel ATA (PATA) hard disks,
OpenPOWER on IntegriCloud