STAGING: Octeon: Properly enable/disable SSO WQE interrupts
authorAaro Koskinen <aaro.koskinen@nokia.com>
Thu, 13 Aug 2015 13:21:39 +0000 (16:21 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 3 Sep 2015 10:08:09 +0000 (12:08 +0200)
commitbcbb13964dd4174f3a512d6a4460173c5c252199
tree3065554d131f2e7b08c5d8f85df9016d5bb0b7d8
parent70b4e2ed4343f03bd7d64d6a58801ff28d231d34
STAGING: Octeon: Properly enable/disable SSO WQE interrupts

The Octeon models with SSO instead of POW need to use a different register
for configuring the WQE interrupt thresholds.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Acked-by: David Daney <david.daney@cavium.com>
Cc: David Daney <ddaney.cavm@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: Janne Huttunen <janne.huttunen@nokia.com>
Cc: Aaro Koskinen <aaro.koskinen@nokia.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: devel@driverdev.osuosl.org
Patchwork: https://patchwork.linux-mips.org/patch/10964/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/staging/octeon/ethernet-rx.c
drivers/staging/octeon/ethernet.c