]> git.ipfire.org Git - people/ms/u-boot.git/commit
net: mvpp2: adapt the mvpp2_rxq_*_pool_set functions to PPv2.2
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 16 Feb 2017 05:53:51 +0000 (06:53 +0100)
committerStefan Roese <sr@denx.de>
Wed, 29 Mar 2017 05:40:59 +0000 (07:40 +0200)
commit8f3e4c38005d88f04b24b27c6eda362d7ef1a6d5
tree2e226fd32eff0d8ed3e50aecf856e53d6af81b37
parentc8feeb2b93a2b320d2a533e0443f95c61e157293
net: mvpp2: adapt the mvpp2_rxq_*_pool_set functions to PPv2.2

The MVPP2_RXQ_CONFIG_REG register has a slightly different layout
between PPv2.1 and PPv2.2, so this commit adapts the functions modifying
this register to accommodate for both the PPv2.1 and PPv2.2 cases.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/mvpp2.c