From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiner Kallweit Subject: phylib: Any PHY which reports link up during autoneg ? Date: Thu, 16 Aug 2018 21:15:47 +0200 Message-ID: <9996748f-c274-e1de-6a5a-962f2035d5c2@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "netdev@vger.kernel.org" To: Florian Fainelli , Andrew Lunn Return-path: Received: from mail-wr1-f46.google.com ([209.85.221.46]:33618 "EHLO mail-wr1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725783AbeHPWQP (ORCPT ); Thu, 16 Aug 2018 18:16:15 -0400 Received: by mail-wr1-f46.google.com with SMTP id v90-v6so1918623wrc.0 for ; Thu, 16 Aug 2018 12:15:58 -0700 (PDT) Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: When reading through the state machine code in phy.c I wondered whether there is any PHY which reports the link as up during autonegotiation. (It's about handling PHY_AN in the state machine, once we know the link is up we still check whether aneg was completed. Is this needed?) At least the PHY's I have access to all report the link as down when autonegotiating. I checked also clause 22 of 802.3u, however found no clear definition when a link should be considered up. There it's stated that it's PHY-dependent. Can you shed any light on this? Thanks, Heiner