[PATCH] SCSI: select CRC_T10DIF only when necessary

From: Stefan Richter
Date: Sat Aug 02 2008 - 13:51:02 EST


Signed-off-by: Stefan Richter <stefanr@xxxxxxxxxxxxxxxxx>
---

--- linux-2.6.27-rc1.orig/drivers/scsi/Kconfig
+++ linux-2.6.27-rc1/drivers/scsi/Kconfig
@@ -63,7 +63,7 @@ comment "SCSI support type (disk, tape,
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,

--
Stefan Richter
-=====-==--- =--- ---=-
http://arcgraph.de/sr/

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/