From patchwork Sun Dec 13 15:15:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Kaneko X-Patchwork-Id: 7839251 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 675CE9F350 for ; Sun, 13 Dec 2015 15:16:27 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A551420361 for ; Sun, 13 Dec 2015 15:16:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C90E920351 for ; Sun, 13 Dec 2015 15:16:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751905AbbLMPQZ (ORCPT ); Sun, 13 Dec 2015 10:16:25 -0500 Received: from mail-pf0-f174.google.com ([209.85.192.174]:35113 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751879AbbLMPQY (ORCPT ); Sun, 13 Dec 2015 10:16:24 -0500 Received: by pfe188 with SMTP id 188so2779554pfe.2; Sun, 13 Dec 2015 07:16:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=hD/DUA9dVl5UPI043OSBPI0tGMv8sACTF4DLdsBd9Eg=; b=zzqBpeQOL1qcgS2ESnPPSTu1gyVDI48QyxnlwO5Pn0wFJRnxBZYzyGg0M1tt5hTQMV R+ZJQcELFJEpPpfbTHTIH1BFdwULMe1zuMsAvndtRtML1aFt6xVei1H5xI6RPeFpWy5F acWdOLLTTsaTgz5ZBTO5p9en8N6/G36tVkSl+c0nC5UMhMddqyTVj3nvGam7/f5EABXT TzpnhpBmhPgftsTXiDSSGtlA1WYukw/EIir/2j9VVbJKEBFnfiNMjOGa9OgxAyTzEJi+ MpXjPPXk0F2lKguYwN+k/DxaJuQwjZHNYFgsAD7Na2H04TVDiGkmRkb6WbnX3b7goKds JcgA== X-Received: by 10.98.0.195 with SMTP id 186mr29603362pfa.130.1450019784044; Sun, 13 Dec 2015 07:16:24 -0800 (PST) Received: from localhost.localdomain (KD118152108246.ppp-bb.dion.ne.jp. [118.152.108.246]) by smtp.gmail.com with ESMTPSA id 16sm3736415pfl.90.2015.12.13.07.16.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 13 Dec 2015 07:16:23 -0800 (PST) From: Yoshihiro Kaneko To: netdev@vger.kernel.org Cc: "David S. Miller" , Sergei Shtylyov , Simon Horman , Magnus Damm , linux-sh@vger.kernel.org Subject: [PATCH net] ravb: Add disable 10base Date: Mon, 14 Dec 2015 00:15:58 +0900 Message-Id: <1450019758-32710-1-git-send-email-ykaneko0929@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kazuya Mizuguchi Ethernet AVB does not support 10 Mbps transfer speed. Signed-off-by: Kazuya Mizuguchi Signed-off-by: Yoshihiro Kaneko --- This patch is based on the master branch of David Miller's networking tree. drivers/net/ethernet/renesas/ravb_main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/ethernet/renesas/ravb_main.c b/drivers/net/ethernet/renesas/ravb_main.c index b69e0c2..467d416 100644 --- a/drivers/net/ethernet/renesas/ravb_main.c +++ b/drivers/net/ethernet/renesas/ravb_main.c @@ -905,6 +905,9 @@ static int ravb_phy_init(struct net_device *ndev) netdev_info(ndev, "limited PHY to 100Mbit/s\n"); } + /* 10BASE is not supported */ + phydev->supported &= ~PHY_10BT_FEATURES; + netdev_info(ndev, "attached PHY %d (IRQ %d) to driver %s\n", phydev->addr, phydev->irq, phydev->drv->name);