| To: | Felipe W Damasio <felipewd@xxxxxxxxxxxx>, Francois Romieu <romieu@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH r8169] ethtool support and sane speed selection/detection |
| From: | Andy Lutomirski <luto@xxxxxxxxxxxxx> |
| Date: | Wed, 28 Apr 2004 08:50:35 -0700 |
| Cc: | Andy Lutomirski <luto@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
| In-reply-to: | <408FA6B3.1000805@xxxxxxxxxxxx> |
| References: | <20040424050931.14C341D4F@xxxxxxxxxxxxxxxxx> <408FA6B3.1000805@xxxxxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla Thunderbird 0.6b (Windows/20040426) |
Felipe W Damasio wrote:
Why? Isn't reading the PHYstatus atomic w.r.t. writing it? I think the lock just needs to be held for writes. Oh -- there is a race if set_settings is called between the PHYstatus read and the rest of the code. I can't imagine that happening, but it wouldn't hurt to take the lock. Francois, do you want a new patch, or should I wait until you finish whatever you're doing? --Andy |
| Previous by Date: | Re: [PATCH r8169] ethtool support and sane speed selection/detection, Jeff Garzik |
|---|---|
| Next by Date: | Re: [PATCH r8169] ethtool support and sane speed selection/detection, Francois Romieu |
| Previous by Thread: | Re: [PATCH r8169] ethtool support and sane speed selection/detection, Jeff Garzik |
| Next by Thread: | Re: [PATCH r8169] ethtool support and sane speed selection/detection, Francois Romieu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |