From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: [PATCH net-next 0/2] net: dsa: b53: SGMII modes fixes Date: Fri, 21 Sep 2018 16:43:56 -0700 Message-ID: <20180921234359.13069-1-f.fainelli@gmail.com> Cc: andrew@lunn.ch, rmk+kernel@armlinux.org.uk, davem@davemloft.net, Florian Fainelli To: netdev@vger.kernel.org Return-path: Received: from mail-qt1-f195.google.com ([209.85.160.195]:41320 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727062AbeIVFhL (ORCPT ); Sat, 22 Sep 2018 01:37:11 -0400 Received: by mail-qt1-f195.google.com with SMTP id t39-v6so3447426qtc.8 for ; Fri, 21 Sep 2018 16:46:01 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: Hi David, Here are two additional fixes that are required in order for SGMII to work correctly. This was discovered with using a copper SFP which would make us use SGMII mode, we would actually leave the HW configured in its default mode: Fiber. Florian Fainelli (2): net: dsa: b53: Fix B53_SERDES_DIGITAL_CONTROL offset net: dsa: b53: Also include SGMII for mac_config and mac_link_state drivers/net/dsa/b53/b53_common.c | 10 ++++++---- drivers/net/dsa/b53/b53_serdes.h | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) -- 2.17.1