OSDN Git Service

MIPS: octeon: Add interface mode detection for Octeon II
authorAlex Smith <alex.smith@imgtec.com>
Thu, 29 May 2014 10:10:01 +0000 (11:10 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 29 May 2014 21:02:42 +0000 (23:02 +0200)
commitd8ce75934b888df0bd73dfd9c030a2b034a04977
tree37a13e2ab9bb01b7afd6eab2699e2966d3d0fd16
parent2e2d663d2dd64ffe9855be0b35aa221c9b8139f2
MIPS: octeon: Add interface mode detection for Octeon II

Add interface mode detection for Octeon II. This is necessary to detect
the interface modes correctly on the UBNT E200 board. Code is taken
from the UBNT GPL source release, with some alterations: SRIO, ILK and
RXAUI interface modes are removed and instead return disabled as these
modes are not currently supported.

Signed-off-by: Alex Smith <alex.smith@imgtec.com>
Tested-by: David Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7039/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/executive/cvmx-helper.c