From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: Davicom DM9162 PHY supported in the kernel? Date: Mon, 9 May 2016 14:06:34 +0200 Message-ID: <20160509120634.GQ7972@lunn.ch> References: <5717C45F.30205@gmail.com> <20160503153659.GA29815@lunn.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Florian Fainelli , netdev@vger.kernel.org To: Amr Bekhit Return-path: Received: from vps0.lunn.ch ([178.209.37.122]:59691 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753198AbcEIMGg (ORCPT ); Mon, 9 May 2016 08:06:36 -0400 Content-Disposition: inline In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Hi Amr Please don't top post. > Based on the information I pasted below, it appears that > autonegotiation is working - the device detects that there is a link > partner connected and ethtool reports back the various link modes that > can be used. This suggests the PHY to cable is O.K. and your problem is between the MAC and the PHY. > I'm not sure about the status bits - I couldn't find out how I would > check them. How about adding a printk() in genphy_read_status(). Andrew