net: move ether_crc to tsec driver
authorChris Packham <judge.packham@gmail.com>
Mon, 26 Nov 2018 08:00:28 +0000 (21:00 +1300)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 24 Jan 2019 17:35:29 +0000 (11:35 -0600)
commit1a4af5c562fdb9f5a884a53f136f2b2075ffd1d8
tree930fb7f2c560b83bfc5a78b5f10a2eb2143570c1
parente57c9fdb042741e4049661074c25e7b7ff8a68cc
net: move ether_crc to tsec driver

ether_crc was added to the core net code in commit 53a5c424bf86
("multicast tftp: RFC2090") so that other drivers could use it. However
the only current user of it is tsec.c so move it there.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/tsec.c
include/net.h
net/eth_legacy.c