Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2371698imm; Thu, 23 Aug 2018 20:42:46 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxcjO6kRGds4tRakRpUi5XtJy3mEJDZU47DiIrttJpe2CKXUPRGxrBOU10mHVdASdz/3wWQ X-Received: by 2002:a17:902:ac8f:: with SMTP id h15-v6mr29492797plr.161.1535082166915; Thu, 23 Aug 2018 20:42:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535082166; cv=none; d=google.com; s=arc-20160816; b=R01FYEgCq+PgvM8Ol+/y37G9Xbyzh21VWoaJDo7mn5yqkUsen62s5QUZlGFRgt0ve9 L9zQ8aglEm9bvkm91hJv35h+K1bfNlB303XrnMopnhjwzfkKf/2YtXnXOa267iDnBZFq 0RHxm2YpNfwRrGB49hgolhdMTCCluSU1EouCNudi4bl+fq96gQuTC355zpQ7ZhiRP/s3 mF1QXryvAElMh1ZAbg204eKE3Y6hzoO3aGBbldCIxes8e47mbtQIzS+6A2/k4J0ohMQQ /i4EZQuXSV4Hj9PNR09KAEcBnOdPqdkMOPCoeJ3xkEMge5e+5gNavO68GRgl4t7JV2XU tf/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=pdD2qG9yHXy+rgoLHwGHLClGqoRRtclBpqor3teUiv4=; b=gZLiiAWGw9imTfyqbCefUuSTmJE2GrJv416DBMVt6K2bSAgDb7KtDb7yGp1pstzABj i9JssEmiYjhFAqupU1IlS3nPl9Sf8Wne7UHg2I49UzqMWnhB1RHaXAjy8O033skvE/pe DsyyVOML73M5ls9aTnDhpWa/M4CwxBn9yRFN+j2MYhEumqayNHiDJ6UYsDbd9Otprp7R A/ir4zp9WOVMl6iQmu8WtAH3PJodqJEsc2KScJFnPFlX7oY/z6CYTBoevXTBTMChOIaX LoGEtbyBhRzWaFEicCrFyAk7AyVFyI5dysdhSO0V+tW/1zQ27IDH89iqt+Q4DQzd3w2I 9oKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=epyyuNpE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 90-v6si5788336pla.466.2018.08.23.20.42.30; Thu, 23 Aug 2018 20:42:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=epyyuNpE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726955AbeHXHOH (ORCPT + 99 others); Fri, 24 Aug 2018 03:14:07 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:42154 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726085AbeHXHOG (ORCPT ); Fri, 24 Aug 2018 03:14:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=pdD2qG9yHXy+rgoLHwGHLClGqoRRtclBpqor3teUiv4=; b=epyyuNpEGQABcmMsuUxtI9yks/5zzBE/wfgehHGG+ihaClkstViL9FcBc88ft2Mzm++pM4MuAVGg0MGreQx2qJuWLA7Lay9ZrPvkn/cY57pJRmZMqBT0xrPuB9YkSqRSnLaPGQoDDiP+qwjVouTlwasfSG7E0Zm/oGJK9ZFXJWg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1ft2yN-0007uT-MR; Fri, 24 Aug 2018 05:41:19 +0200 Date: Fri, 24 Aug 2018 05:41:19 +0200 From: Andrew Lunn To: Peng Li Cc: davem@davemloft.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linuxarm@huawei.com, yisen.zhuang@huawei.com, salil.mehta@huawei.com Subject: Re: [PATCH NET 3/3] net: hns: add configuration constraints for 1000M half Message-ID: <20180824034119.GA29111@lunn.ch> References: <1535082143-122281-1-git-send-email-lipeng321@huawei.com> <1535082143-122281-4-git-send-email-lipeng321@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1535082143-122281-4-git-send-email-lipeng321@huawei.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 24, 2018 at 11:42:23AM +0800, Peng Li wrote: > Hisilicon hip05 and hip06 board network card do not support > 1000M half configuration. Driver can not config gmac as > 1000M half. > > Signed-off-by: Peng Li Hi Peng Does the driver remove SUPPORTED_1000baseT_Half from phydev->supported? If you do that, the PHY should never negotiate this speed. Andrew