summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/marvell/mvpp2/mvpp2.h
diff options
context:
space:
mode:
authorStefan Chulski <stefanc@marvell.com>2021-02-11 12:48:51 +0200
committerDavid S. Miller <davem@davemloft.net>2021-02-11 14:50:23 -0800
commit60dcd6b7d96e63221f41b3c68b19dd8c88eeda75 (patch)
treecdc9e4a8ecec91df0cb84a84339f971df14323d4 /drivers/net/ethernet/marvell/mvpp2/mvpp2.h
parente54ad1e01c00d35dcae8eff7954221fc8c700888 (diff)
net: mvpp2: always compare hw-version vs MVPP21
Currently we have PP2v1 and PP2v2 hw-versions, with some different handlers depending upon condition hw_version = MVPP21/MVPP22. In a future there will be also PP2v3. Let's use now the generic "if equal/notEqual MVPP21" for all cases instead of "if MVPP22". This patch does not change any functionality. It is not intended to introduce PP2v3. It just modifies MVPP21/MVPP22 check-condition bringing it to generic and unified form correct for new-code introducing and PP2v3 net-next generation. Signed-off-by: Stefan Chulski <stefanc@marvell.com> Acked-by: Marcin Wojtas <mw@semihalf.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/marvell/mvpp2/mvpp2.h')
0 files changed, 0 insertions, 0 deletions