[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4BADFAE4.5040906@iki.fi>
Date: Sat, 27 Mar 2010 14:32:36 +0200
From: Timo Teräs <timo.teras@....fi>
To: François Romieu <romieu@...zoreil.com>
CC: Ivan Vecera <ivecera@...hat.com>, netdev@...r.kernel.org
Subject: Re: r8169 mac reading/writing broken
François Romieu wrote:
> Timo Teräs <timo.teras@....fi> :
> [...]
>> It seems that adding single printk between writing MAC0 and MAC4 fixes it.
>> I guess it needs a bit of delay between the writes or something.
>
> Can you test with a single RTL_R32 after each MACx write ?
Adding reading back of the written value fixes it too. Though, disassembly
says that it added an extra instructions also (needs to load the 'high' from
stack before writing it) so the added delay is probably slightly more than
just the io read.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists