From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Lunn Subject: Re: [Intel-wired-lan] [PATCH] igb: support BCM54616 PHY Date: Thu, 27 Jul 2017 17:37:13 +0200 Message-ID: <20170727153713.GG18666@lunn.ch> References: <309B89C4C689E141A5FF6A0C5FB2118B8C663B22@ORSMSX101.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "John W. Linville" , "netdev@vger.kernel.org" , "intel-wired-lan@lists.osuosl.org" To: "Brown, Aaron F" Return-path: Received: from vps0.lunn.ch ([178.209.37.122]:42678 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751030AbdG0PhV (ORCPT ); Thu, 27 Jul 2017 11:37:21 -0400 Content-Disposition: inline In-Reply-To: <309B89C4C689E141A5FF6A0C5FB2118B8C663B22@ORSMSX101.amr.corp.intel.com> Sender: netdev-owner@vger.kernel.org List-ID: On Thu, Jul 27, 2017 at 12:40:01AM +0000, Brown, Aaron F wrote: > > From: Intel-wired-lan [mailto:intel-wired-lan-bounces@osuosl.org] On Behalf > > Of John W. Linville > > Sent: Friday, July 21, 2017 11:12 AM > > To: netdev@vger.kernel.org > > Cc: intel-wired-lan@lists.osuosl.org; John W. Linville > > > > Subject: [Intel-wired-lan] [PATCH] igb: support BCM54616 PHY > > > > The management port on an Edgecore AS7712-32 switch uses an igb MAC, > > but > > it uses a BCM54616 PHY. Without a patch like this, loading the igb > > module produces dmesg output like this: > > > > [ 3.439125] igb: Copyright (c) 2007-2014 Intel Corporation. > > [ 3.439866] igb: probe of 0000:00:14.0 failed with error -2 > > > > Signed-off-by: John W. Linville > > Cc: Jeff Kirsher > > --- > > drivers/net/ethernet/intel/igb/e1000_82575.c | 6 ++++++ > > drivers/net/ethernet/intel/igb/e1000_defines.h | 1 + > > drivers/net/ethernet/intel/igb/e1000_hw.h | 1 + > > 3 files changed, 8 insertions(+) > > I do not have the specific hardware (Edgecore switch) but as far as regression tests go this works fine. > Tested-by: Aaron Brown Sorry, missed the initial post, so replying to a reply. Linux has supported the BCM54616 PHY since April 2015. If the Intel drivers used the Linux PHY drivers, you would not of had this problem. It would be good if somebody spent the time to migrate these MAC drivers to use the common Linux PHY infrastructure. Andrew