The Alpha Architecture Reference Manual describes the PROCESSOR TYPE field
of the per-CPU slot HWRPB information, as:
bits interpretation
---- --------------
63-32 minor type
31-0 major type
so the above patch should have CPU_TYPE_MASK as 0xffffffff (optimistic :-);
or you could just:
switch ((unsigned int) cpu->type)
like the /proc/cpuinfo printing code in setup.c does.
The "minor type" is usually a reference to the "pass" number of the chip,
and can be ignored.
--Jay++
-----------------------------------------------------------------------------
Jay A Estabrook Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080
200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/