net: mvpp2: adjust mvpp2_{rxq,txq}_init for PPv2.2
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 20 Feb 2017 10:36:57 +0000 (11:36 +0100)
committerStefan Roese <sr@denx.de>
Wed, 29 Mar 2017 05:41:07 +0000 (07:41 +0200)
commit80350f55cf3ab7e7d82833219d37380abf78d173
treee3dc2a5eec200c666de9cae7e8da9361c060901c
parentb8c8e6ffac5bc5ce01b562b4506650e6629815b6
net: mvpp2: adjust mvpp2_{rxq,txq}_init for PPv2.2

In PPv2.2, the MVPP2_RXQ_DESC_ADDR_REG and MVPP2_TXQ_DESC_ADDR_REG
registers have a slightly different layout, because they need to contain
a 64-bit address for the RX and TX descriptor arrays. This commit
adjusts those functions accordingly.

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