]> git.baikalelectronics.ru Git - kernel.git/commit
[MIPS] Add macros to encode processor revisions.
authorRalf Baechle <ralf@linux-mips.org>
Fri, 6 Jul 2007 13:40:05 +0000 (14:40 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 6 Jul 2007 15:17:11 +0000 (16:17 +0100)
commitd74ac58ee04f8fd9550a518f7974a7df60f97be0
treef9e10d270a8616ad092d9cdeddf20bb8e7c29b14
parente75fb33babfa237c892e73860fe16eb0e355545b
[MIPS] Add macros to encode processor revisions.

Older processors used to encode processor version and revision in two
4-bit bitfields, the 4K seems to simply count up and even newer MTI cores
have switched to use the 8-bits as 3:3:2 bitfield with the last field as
the patch number.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/cpu.h