[PATCH] [2/5] pasemi: enable one more hid bit

Benjamin Herrenschmidt benh at kernel.crashing.org
Tue Apr 24 10:27:20 EST 2007


On Mon, 2007-04-16 at 01:27 -0500, Olof Johansson wrote:
> Minor HID change. Firmware can't know that we want this set so we have
> to set it in the kernel.

Care to document/name these bits ?
> 
> Signed-off-by: Olof Johansson <olof at lixom.net>
> 
> Index: linux-2.6/arch/powerpc/kernel/cpu_setup_pa6t.S
> ===================================================================
> --- linux-2.6.orig/arch/powerpc/kernel/cpu_setup_pa6t.S
> +++ linux-2.6/arch/powerpc/kernel/cpu_setup_pa6t.S
> @@ -34,7 +34,7 @@ _GLOBAL(__setup_cpu_pa6t)
>  	beqlr
>  
>  	mfspr	r0,SPRN_HID5
> -	ori	r0,r0,0x30
> +	ori	r0,r0,0x38
>  	mtspr	SPRN_HID5,r0
>  
>  	mfspr	r0,SPRN_LPCR
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev




More information about the Linuxppc-dev mailing list