]> err.no Git - linux-2.6/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)
commitfde97822a295da9dffa4af643b49a58ffc4516ad
treef9e10d270a8616ad092d9cdeddf20bb8e7c29b14
parent075c733e19ce7530b53b78151cc4d303c8f64548
[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