diff options
author | Janne Huttunen <janne.huttunen@nokia.com> | 2015-08-13 16:21:46 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-09-03 12:08:11 +0200 |
commit | 1d39a5e4ce09172358a5435a3411a46e76a04bb4 (patch) | |
tree | eaf870bb42a3ba9feae9cab1d2ade026cfe98ed3 /arch | |
parent | 31705376a2fd71f5c5b596fb2d3b2c6232a6268a (diff) | |
download | linux-1d39a5e4ce09172358a5435a3411a46e76a04bb4.tar.bz2 |
STAGING: Octeon: Use common helpers for determining interface and port
Currently the Octeon Ethernet driver hardcodes the mapping between
interface/port and IPD port number. Since we have generic helpers for
the very same purpose, we might as well use them instead. This prevents
having the same information in multiple places.
Signed-off-by: Janne Huttunen <janne.huttunen@nokia.com>
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/10975/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions