]> git.baikalelectronics.ru Git - kernel.git/commit
lib: crc8: add new library module providing crc8 algorithm
authorArend van Spriel <arend@broadcom.com>
Tue, 31 May 2011 09:22:15 +0000 (11:22 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 3 Jun 2011 19:01:06 +0000 (15:01 -0400)
commit6963f1c86d928ef6111c6344e55381098ecd9ad1
treeb9c336c00c32e986b73bfabc3a70c78d821659bc
parente62cb4659de858daa682e6ff931df5d48c807a19
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>
include/linux/crc8.h [new file with mode: 0644]
lib/Kconfig
lib/Makefile
lib/crc8.c [new file with mode: 0644]