Igor Korot wrote:
> Hi, Larry,
> 
> In the patch ftp://lwfinger.dynalias.org/patches/patch_2.6.18.1_for_PCI-E, 
> there is a following code:

> +     core_rev = (sb_id_hi & 0x7000) >> 8;
> +     core_rev |= (sb_id_hi & 0xF);

> +             core_rev = ((sb_id_hi & 0xF) | ((sb_id_hi & 0x7000) >> 8));

> Notice the difference in the calculation of the core_rev variable.
> 
> Which version is correct one?

To my eye they result in the same thing, and the only difference is one line or 
two and some
additional parentheses. Am I missing something?


Larry
_______________________________________________
Bcm43xx-dev mailing list
Bcm43xx-dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to