summaryrefslogtreecommitdiff
path: root/lib/Kconfig
diff options
context:
space:
mode:
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>2005-08-17 15:17:26 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-08 14:41:27 -0700
commit7657ec1fcb69e266ab876af56332d0c484ca6d00 (patch)
tree6118ceffa2f83f43c3086941d96011dc1abeb459 /lib/Kconfig
parenta3d65f254274567daa89d8b99ab3d481d60fcaef (diff)
downloadlwn-7657ec1fcb69e266ab876af56332d0c484ca6d00.tar.gz
lwn-7657ec1fcb69e266ab876af56332d0c484ca6d00.zip
[PATCH] lib/crc16: added crc16 algorithm.
Add the crc16 routines, as used by w1 devices. Signed-off-by: Ben Gardner <bgardner@wabtec.com> Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r--lib/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig
index e43197efeb9c..3de93357f5ab 100644
--- a/lib/Kconfig
+++ b/lib/Kconfig
@@ -12,6 +12,14 @@ config CRC_CCITT
the kernel tree does. Such modules that use library CRC-CCITT
functions require M here.
+config CRC16
+ tristate "CRC16 functions"
+ help
+ This option is provided for the case where no in-kernel-tree
+ modules require CRC16 functions, but a module built outside
+ the kernel tree does. Such modules that use library CRC16
+ functions require M here.
+
config CRC32
tristate "CRC32 functions"
default y