commit | 380b3233b0004d41649aaef869757c2650b83bfc | [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 | c05f3cbe5dbd3eb11c943b0b303e934d409888a0 [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>