commit | 2f720f195792bb29289827ef9512e0366a81933b | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Thu Mar 23 17:01:59 2017 +0100 |
committer | Stefan Roese <sr@denx.de> | Tue May 09 13:38:17 2017 +0200 |
tree | f31670da4ca55a0ecd620356774e9c296df911c2 | |
parent | 2f92629112a1055ed37f8b05dfcf00c3f1875503 [diff] |
net: mvpp2: Add remove function that is called before the OS is started This patch adds a remove function to the mvpp2 ethernet driver which is called before the OS is started, doing: - Allocate the used buffers back from the buffer manager - Stop the BM activity Signed-off-by: Stefan Roese <sr@denx.de> Cc: Stefan Chulski <stefanc@marvell.com> Cc: Kostya Porotchkin <kostap@marvell.com> Cc: Nadav Haklai <nadavh@marvell.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>