On Tue, 26 Jul 2011 13:59:25 -0500
Michael Hench <michaelhe...@gmail.com> wrote:

> update ecc_stats.corrected if LTECCR register is available.
> 
> v2: kernel standard C formatting

Missed a couple:

> +             if(lteccr & 0x000F000F)
> +                     out_be32(&lbc->lteccr, 0x000F000F); /* clear lteccr */
> +             if(lteccr & 0x000F0000)
> +                     mtd->ecc_stats.corrected++;

-Scott

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to