CRC7 support

Add CRC7 routines, used for example in MMC over SPI communication.
Kerneldoc updates

[[email protected]: fix funny mix of const and non-const]
Signed-off-by: Jan Nikitenko <[email protected]>
Signed-off-by: David Brownell <[email protected]>
Cc: "Randy.Dunlap" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Jan Nikitenko 2007-07-17 04:04:03 -07:00 • committed by Linus Torvalds
commit ad241528c4
5 changed files with 94 additions and 1 deletions

View file

@ -41,6 +41,14 @@ config CRC32
kernel tree does. Such modules that use library CRC32 functions
require M here.
config CRC7
tristate "CRC7 functions"
help
This option is provided for the case where no in-kernel-tree
modules require CRC7 functions, but a module built outside
the kernel tree does. Such modules that use library CRC7
functions require M here.
config LIBCRC32C
tristate "CRC32c (Castagnoli, et al) Cyclic Redundancy-Check"
help