]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit40050ddcb6f958bea24e02567779ae5063f16fbc
tree37a13e2ab9bb01b7afd6eab2699e2966d3d0fd16
parente0d4254ac5d66e0c00dace48af40fea65304e47f
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