]> git.dujemihanovic.xyz Git - u-boot.git/commit
net: tsec: Move rx_idx and tx_idx to struct tsec_private
authorBin Meng <bmeng.cn@gmail.com>
Tue, 12 Jan 2016 06:41:19 +0000 (22:41 -0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 28 Jan 2016 18:22:55 +0000 (12:22 -0600)
commit362b123f473cbc72d43720f9245c68d174439310
tree50dcbdcd88f4006179fd6f7a848975eccbd7f86d
parent9872b736f957585c6494e727634fe6ed837bcd86
net: tsec: Move rx_idx and tx_idx to struct tsec_private

At present rx_idx and tx_idx are declared as static variables
in the driver codes. To support multiple interfaces, move it to
struct tsec_private.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/tsec.c
include/tsec.h