diff options
author | Arend van Spriel <arend@broadcom.com> | 2011-05-31 05:22:15 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-06-03 15:01:06 -0400 |
commit | 7150962d637cf38617924f7f72ea00612283eb89 (patch) | |
tree | b9c336c00c32e986b73bfabc3a70c78d821659bc /lib/Kconfig | |
parent | dabd3001f941e35c4afa2458ceb17e5170062189 (diff) |
lib: crc8: add new library module providing crc8 algorithm
The brcm80211 driver in staging tree uses a crc8 function. Based on
feedback from John Linville to move this to lib directory, the linux
source has been searched. Although there is currently only one other
kernel driver using this algorithm (ie. drivers/ssb) we are providing
this as a library function for others to use.
Cc: linux-kernel@vger.kernel.org
Cc: linux-wireless@vger.kernel.org
Cc: Dan Carpenter <error27@gmail.com>
Cc: George Spelvin <linux@horizon.com>
Cc: Randy Dunlap <rdunlap@xenotime.net>
Reviewed-by: Henry Ptasinski <henryp@broadcom.com>
Reviewed-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: "Franky (Zhenhui) Lin" <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'lib/Kconfig')
-rw-r--r-- | lib/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 9c10e38fc609..ff9e5a34be76 100644 --- a/lib/Kconfig +++ b/lib/Kconfig | |||
@@ -89,6 +89,13 @@ config LIBCRC32C | |||
89 | require M here. See Castagnoli93. | 89 | require M here. See Castagnoli93. |
90 | Module will be libcrc32c. | 90 | Module will be libcrc32c. |
91 | 91 | ||
92 | config CRC8 | ||
93 | tristate "CRC8 function" | ||
94 | help | ||
95 | This option provides CRC8 function. Drivers may select this | ||
96 | when they need to do cyclic redundancy check according CRC8 | ||
97 | algorithm. Module will be called crc8. | ||
98 | |||
92 | config AUDIT_GENERIC | 99 | config AUDIT_GENERIC |
93 | bool | 100 | bool |
94 | depends on AUDIT && !AUDIT_ARCH | 101 | depends on AUDIT && !AUDIT_ARCH |