RE: [PATCH net-next v2 3/7] r8169: adjust the settings about RxConfig

From: hayeswang
Date: Wed Jul 13 2011 - 08:16:23 EST



Francois Romieu [mailto:romieu@xxxxxxxxxxxxx]
> Sent: Wednesday, July 13, 2011 12:13 AM
> To: Hayeswang
> Cc: netdev@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH net-next v2 3/7] r8169: adjust the
> settings about RxConfig
>
> Hayes Wang <hayeswang@xxxxxxxxxxx> :
> > Set the init value before reset in probe function. And then just
> > modify the relative bits and keep the init settings.
>
> It breaks my old PCI Netgear 8110s (RTL_GIGA_MAC_VER_03/XID
> 04000000). Once the device is up, RxConfig is changed from
> 0x0000e70e to 0x0000000e (missed write ?).
>

I find that the RxConfig has to be set after the tx/rx is enabled for 8110S(x)
series.

> Is there any side effect / objection if this patch is removed
> from the series and scheduled for a later time ?
>

The original values are different from the suggested values, so I hope to apply
this patch.
Please try the attached file. It should fix this issue.

Best Regards,
Hayes

Attachment: 0001-r8169-fix-the-RxConfig-couldn-t-be-written.patch
Description: Binary data