X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-arm%2Farch-ixp4xx%2Fhardware.h;h=4ac964b9078a702f25e6e29324a88b4b7b01df65;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=a048cbc589f8551bef76ee5f69457160fb66326a;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-arm/arch-ixp4xx/hardware.h b/include/asm-arm/arch-ixp4xx/hardware.h index a048cbc58..4ac964b90 100644 --- a/include/asm-arm/arch-ixp4xx/hardware.h +++ b/include/asm-arm/arch-ixp4xx/hardware.h @@ -27,6 +27,13 @@ #define pcibios_assign_all_busses() 1 +#if defined(CONFIG_CPU_IXP465) && !defined(__ASSEMBLY__) +extern unsigned int processor_id; +#define cpu_is_ixp465() ((processor_id & 0xffffffc0) == 0x69054200) +#else +#define cpu_is_ixp465() (0) +#endif + /* Register locations and bits */ #include "ixp4xx-regs.h"