From: James Bottomley <JBottomley@Parallels.com>
Date: Mon, 6 May 2013 16:49:25 +0000 (-0700)
Subject: [SCSI] lpfc: fix up Kconfig dependencies
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=6a7252fdb0c3;p=linux.git

[SCSI] lpfc: fix up Kconfig dependencies

lpfc uses the generic checksum as well as the T10DIF one from the lib/
directory, so make sure they're selected.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
---

diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index db95c547c09d6..86af29f53bbeb 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -1353,6 +1353,8 @@ config SCSI_LPFC
 	tristate "Emulex LightPulse Fibre Channel Support"
 	depends on PCI && SCSI
 	select SCSI_FC_ATTRS
+	select GENERIC_CSUM
+	select CRC_T10DIF
 	help
           This lpfc driver supports the Emulex LightPulse
           Family of Fibre Channel PCI host adapters.