From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= Subject: Re: Waiting for the PHY to complete auto-negotiation Date: Mon, 11 Dec 2017 16:32:53 +0000 Message-ID: References: <20171206165903.GM27063@lunn.ch> <20171206182633.GP27063@lunn.ch> <20171206190728.GC28774@lunn.ch> <31ba2a2d-99f4-64d7-b9e3-057cdaa1618c@gmail.com> <89c47196-fb02-267c-409f-db48a3d07b68@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Cc: Florian Fainelli , Andrew Lunn , netdev , David Miller To: Mason Return-path: Received: from unicorn.mansr.com ([81.2.72.234]:59744 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752274AbdLKQc4 (ORCPT ); Mon, 11 Dec 2017 11:32:56 -0500 In-Reply-To: (Mason's message of "Mon, 11 Dec 2017 15:47:54 +0100") Sender: netdev-owner@vger.kernel.org List-ID: Mason writes: > On 11/12/2017 15:36, Måns Rullgård wrote: > >> Mason writes: >> >>> I suppose I should test forcefully setting the enable bit to 0 in >>> the driver, and see if hell breaks loose. >> >> You can't. When the enable bit is 1, writes to that register are >> ignored. It goes back to 0 automatically when the hw runs out of >> descriptors. > > I don't think they are ignored, because toggling the control flow > bit actually breaks RX. Oh, then it's even worse than the docs suggest. -- Måns Rullgård