On Saturday 19 April 2008 16:53:10 Stefanik Gábor wrote:
> Like this?

Yeah, and then don't whitespace damage it and also add
this to sprom_extract_r4().
Of course, you can also move it to sprom_extract(), so it
will automatically be applied for any revision. I think that's
actually the better idea :)

> Index: linux-2.6/drivers/ssb/pci.c
> ===================================================================
> --- linux-2.6.orig/drivers/ssb/pci.c
> +++ linux-2.6/drivers/ssb/pci.c
> @@ -377,6 +377,10 @@ static void sprom_extract_r123(struct ss
>             SSB_SPROM1_ITSSI_A_SHIFT);
>        SPEX(itssi_bg, SSB_SPROM1_ITSSI, SSB_SPROM1_ITSSI_BG, 0);
>        SPEX(boardflags_lo, SSB_SPROM1_BFLLO, 0xFFFF, 0);
> +       if (out->boardflags_lo == 0xFFFF)
> +               out->boardflags_lo = 0;  /* per specs */
> +       if (out->boardflags_hi == 0xFFFF)
> +               out->boardflags_hi = 0;  /* per specs */
>        if (out->revision >= 2)
>                SPEX(boardflags_hi, SSB_SPROM2_BFLHI, 0xFFFF, 0);
> 



-- 
Greetings Michael.
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev

Reply via email to