[RFT] BCM4312 users with DMA errors, please test!

Gábor Stefanik netrolller.3d at gmail.com
Mon Aug 16 15:16:33 EDT 2010


2010/8/16 Larry Finger <Larry.Finger at lwfinger.net>:
> On 08/16/2010 12:59 PM, Gábor Stefanik wrote:
>> Hello Everyone!
>>
>> If you are experiencing DMA errors on a BCM4312, please test the
>> attached patch. It implements the PCI-E SERDES workaround, which the
>> hybrid driver is applying during early init to LP-PHY cards, and which
>> is a good candidate for the cause of the DMA error.
>> Note that this is not a final patch & it may cause collateral damage
>> for non-4312 cards; if it helps the 4312 problem, I will submit a
>> cleaned-up version.
>
> The patch that you distributed had a couple of errors in compiling, namely:
>
>  CC [M]  drivers/ssb/driver_pcicore.o
> drivers/ssb/driver_pcicore.c: In function ‘ssb_pcie_mdio_set_block’:
> drivers/ssb/driver_pcicore.c:457:7: error: ‘i’ undeclared (first use in this
> function)
> drivers/ssb/driver_pcicore.c:457:7: note: each undeclared identifier is reported
> only once for each function it appears in
> drivers/ssb/driver_pcicore.c: In function ‘ssb_pcie_mdio_read’:
> drivers/ssb/driver_pcicore.c:503:2: error: expected ‘;’ before ‘pcicore_write32’
> make[2]: *** [drivers/ssb/driver_pcicore.o] Error 1
> make[1]: *** [drivers/ssb] Error 2
> make[1]: *** Waiting for unfinished jobs....
>
> Did you forget a quilt refresh?
>
> My machine does not have the DMA error, but I will be testing.
>
> Larry
>

Oops... yes, two nasty typos. I have no idea why it compiled for me...
Schrödinbug?

With that said, here is the corrected version.

-- 
Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pcie_serdes_workaround.diff
Type: application/octet-stream
Size: 3428 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/b43-dev/attachments/20100816/f52bbc47/attachment-0001.obj>


More information about the b43-dev mailing list