]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: break some functions into RX and TX scopes
authorJoao Pinto <Joao.Pinto@synopsys.com>
Thu, 6 Apr 2017 08:49:08 +0000 (09:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Apr 2017 14:18:27 +0000 (07:18 -0700)
commiteb507d0db1987bd5d100f36a47afedbf93a7b2d1
tree010d3abd836b80002b75658f0f6bb1a4e3c4f538
parentaf3c18e7283f74f412259a3b11aa6b0de4a48edc
net: stmmac: break some functions into RX and TX scopes

This patch breaks several functions into RX and TX scopes, which
will be useful when adding multiple buffers mechanism.

Signed-off-by: Joao Pinto <jpinto@synopsys.com>
Tested-by: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c