powerpc/86xx: Correct reading of information presented in cpuinfo
authorMartyn Welch <martyn.welch@gefanuc.com>
Tue, 30 Jun 2009 14:32:26 +0000 (15:32 +0100)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Aug 2009 00:27:55 +0000 (10:27 +1000)
commit2eaa50e9670ecab9712317723cb7836a4da1c0dc
tree8017a6c4aff334aae6d67865a5d404bdafa38dfb
parent89f3729642cf33bfbc742b85e134936b562f9731
powerpc/86xx: Correct reading of information presented in cpuinfo

/proc/cpuinfo should be showing the boards revision and the revision of
the FPGA fitted. The functions currently used to access this information
as incorrect.

Additionally the VME geographical address of the PPC9A and it's status as
system contoller are available in the board registers. Show these in
cpuinfo.

Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/86xx/gef_ppc9a.c