[PATCH] SCSI: select CRC_T10DIF only when necessary

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stefan Richter
Date: Saturday, August 2, 2008 - 10:49 am

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
---

--- 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/

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] SCSI: select CRC_T10DIF only when necessary, Stefan Richter, (Sat Aug 2, 10:49 am)