mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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: [email protected] Cc: [email protected] Cc: Dan Carpenter <[email protected]> Cc: George Spelvin <[email protected]> Cc: Randy Dunlap <[email protected]> Reviewed-by: Henry Ptasinski <[email protected]> Reviewed-by: Roland Vossen <[email protected]> Reviewed-by: "Franky (Zhenhui) Lin" <[email protected]> Signed-off-by: Arend van Spriel <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
dabd3001f9
commit
7150962d63
4 changed files with 195 additions and 0 deletions
|
|
@ -89,6 +89,13 @@ config LIBCRC32C
|
|||
require M here. See Castagnoli93.
|
||||
Module will be libcrc32c.
|
||||
|
||||
config CRC8
|
||||
tristate "CRC8 function"
|
||||
help
|
||||
This option provides CRC8 function. Drivers may select this
|
||||
when they need to do cyclic redundancy check according CRC8
|
||||
algorithm. Module will be called crc8.
|
||||
|
||||
config AUDIT_GENERIC
|
||||
bool
|
||||
depends on AUDIT && !AUDIT_ARCH
|
||||
|
|
|
|||
Loading…
Reference in a new issue