aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/sm7xxfb
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2013-02-19 05:18:52 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-11 09:22:44 -0700
commit97b3e0ed1df6cf577be12b96cf80e5f7d90c8323 (patch)
treebeb7c5c4be11d04459567bcd06517cdfb84f71f9 /drivers/staging/sm7xxfb
parent20d403e801272b84e033b8f17d3e45c4f66507c7 (diff)
staging/slicoss: Use ether_crc for mac hash calculation
Instead of performing the hash calculation for the mac address by ourself, we can simply reuse ether_crc and shift only the result according to our needs. The code was tested against the previous implementation by verifying both implementations against each other in userspace for 16200000000 different mac addresses, changing the vendor bits of the mac address first. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/sm7xxfb')
0 files changed, 0 insertions, 0 deletions