diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2008-06-25 11:22:42 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-12 09:22:32 -0400 |
commit | f11f594edba7f689af9792a5673ed59d660ad371 (patch) | |
tree | 4fae88f3893ce57f2f85280d16330fc61a943d44 /lib/Makefile | |
parent | 5b635da11e3a6387172abd651d26d8ef54b1fbc7 (diff) |
[SCSI] lib: Add support for the T10 (SCSI) Data Integrity Field CRC
The SCSI Block Protocol uses this 16-bit CRC to verify the integrity
of each data sector. crc_t10dif() is used by sd_dif.c when performing
I/O to or from disks formatted with protection information.
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile index 74b0cfb1fcc3..237a8298f8cb 100644 --- a/lib/Makefile +++ b/lib/Makefile | |||
@@ -45,6 +45,7 @@ endif | |||
45 | obj-$(CONFIG_BITREVERSE) += bitrev.o | 45 | obj-$(CONFIG_BITREVERSE) += bitrev.o |
46 | obj-$(CONFIG_CRC_CCITT) += crc-ccitt.o | 46 | obj-$(CONFIG_CRC_CCITT) += crc-ccitt.o |
47 | obj-$(CONFIG_CRC16) += crc16.o | 47 | obj-$(CONFIG_CRC16) += crc16.o |
48 | obj-$(CONFIG_CRC_T10DIF)+= crc-t10dif.o | ||
48 | obj-$(CONFIG_CRC_ITU_T) += crc-itu-t.o | 49 | obj-$(CONFIG_CRC_ITU_T) += crc-itu-t.o |
49 | obj-$(CONFIG_CRC32) += crc32.o | 50 | obj-$(CONFIG_CRC32) += crc32.o |
50 | obj-$(CONFIG_CRC7) += crc7.o | 51 | obj-$(CONFIG_CRC7) += crc7.o |