Port-i386 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: a kludge for RTL8111C

On Mon, 9 Feb 2009 09:16:37 -0500
Arnaud Lacombe <lacombar%gmail.com@localhost> wrote:

> On Sat, Feb 7, 2009 at 5:49 PM, Takahiro Hayashi 
> <tkhr.hash%gmail.com@localhost> wrote:
> > This patch is a black art but significantly reduce seeing
> > "ifmedia_set: no match for 0x20/0xfffffff".
> > I tested on RTL8111C of GA-EG31MF-S2, GA-G31M-S2L, and P5Q-EM,
> > but not tested on RTL8169/8169S/8110S/8110SB/8111SC.
> What `sc_rev' does the card you tested attach on ? I remember having
> added the support for the RealTek 8168B/8111B which attach on sc_rev
> 24 or 25. but it don't seems concerned by this change.

The HWREV of my cards are RTK_HWREV_8168C_SPIN2 then sc_rev is 24.
The patch makes the driver write to RTK_LDPS _only_ when the chip
is RTL8169/8169S/8110S/8110SB/8111SC (sc_rev is 1,3,4 or 5).
If sc_rev == 24 then it doesn't write RTK_LDPS.
The driver always wrote this resister before this patch.

Writing this resister when sc_rev == 24 causes some problems
in my environment. I dont know why it happens.


Home | Main Index | Thread Index | Old Index