Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp714879yba; Fri, 26 Apr 2019 07:37:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqzAfNlegTeLkDoE+7CK1V5p5of/e7EyCeWfxsJiySQUpXoVAKjQbX11RqzAhminJq1BtfZc X-Received: by 2002:a65:6546:: with SMTP id a6mr8454171pgw.5.1556289443990; Fri, 26 Apr 2019 07:37:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556289443; cv=none; d=google.com; s=arc-20160816; b=ZbBLXWsxadBWyMazhI2C3jxO0H32MaXvoFxAj0Q7Xe1HDa0jp/KXHD57taoylGEuxh bfymYarewBz/2wgkV25zTVrNIm4Bj9bCKRdw3wzCxYQTpY6lE6MVOQ2aYejOyvSItoC6 FFnWtAuxDer71whEU4imguvjksmGvsRuTMBaxI5tyqh8DDhAFGhZUe53DZyFY/ksYttq bZt8Q3Upk5MS+hY02Xyl3gv8Kt+SRldsK633W1PAzI94iKDokIuGhg5KS16KQpj6GK+K U7I9yMUYtADtvvfnIrBzlHdFn097tLmg9DB0WT0tk59JVlPajGPkNMnpO25K/NAJdU14 BgBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=vutHLEpb1B1k+pI/qvWPJPkN23JkeGxg47wwHuqqG/M=; b=ri4mPMnUBlj7MJBPzrcPpjQgGz/6wn/rMNXp7Yu5+b3dl1tPhvSnJDZ6yHFm7QoJ4E xOwE8wuZfdxpjldu9UnzN7iMtg6jx1wDPsqR1xwihpT4LtUzjrgw4m+k0ofMxjKeNbbS x1E4QtAOEbjsgXUw2JtqWBJdxX7j0ZTeIGut8ydV+HdkHYgIC9skVzD4hUz2q7fRVd3h gQGMSWNvyI33LTCnF0IjVxFTIEDcwKzo+mYenbCEGugX3cqJHQjuqihjJQLuAfxOD2Kw VsdzQjN/LwIvvPwS0hs4/uj80+bHqp5Ms+viivpjQkFM2FSP3vY7R7e+DlhPmGsHdZUa kf/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=myECd9lL; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5si25027598plm.171.2019.04.26.07.37.07; Fri, 26 Apr 2019 07:37:23 -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=@gmail.com header.s=20161025 header.b=myECd9lL; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726289AbfDZOey (ORCPT + 99 others); Fri, 26 Apr 2019 10:34:54 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:46368 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726138AbfDZOey (ORCPT ); Fri, 26 Apr 2019 10:34:54 -0400 Received: by mail-pf1-f193.google.com with SMTP id j11so1807619pff.13; Fri, 26 Apr 2019 07:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vutHLEpb1B1k+pI/qvWPJPkN23JkeGxg47wwHuqqG/M=; b=myECd9lLETHrtRvqwYau7NEeRhYK36PHtLojbnGLJjaQ+rK5Qgh+H5EzNjEXTl5LLR hbvq1t/9rIA0E67R3VDrBCuOuckico6bnRK0ltIthL7u0qhITwcLT61rDwREDQVtN228 ZCK6ROH865GF7RMOige32IklwzCr0DNzrw33JvvO5aF3Kbsu68kMP3tDVp9mZLevnio/ GkEpT27GxtgXizPsDZmji30iizeGdDFuS6z88x71Zuxqb+S+jPeFwnTCI3K+08ta+hNy VYJfG0S5MFQBw4XsuXvAg3lMWRl2gHkxcIQfMCX98x6cIG6P7nTgwCEL3t4D3vhv6vz3 RvRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vutHLEpb1B1k+pI/qvWPJPkN23JkeGxg47wwHuqqG/M=; b=o14/AIKNk0JguEXTTiAeEMjcBw4sPjTd/JtFKGJoAqfcNG8V5HVZA95hQuOUFzF+Ww PTezEX2zQOkb26j4YiWKZcTxQ1PpakS67tF7+Qo6l5F+DS1AxM6QjtSqdxzP51mjvswm EPP1yuV6OxbbrizZ9ud/RYmPFWVEqjMcL17X/66+WwRwzPxe4Hf4D6y7Cc+b7Z7RYp1X m7rh6QlLg7r4SYKlbKyDhC9sIDf657XsUV4jBM+jY2dy5jTDQEAUxzbjGojpHpXgExfX /YnfS9DAIMFUz3ZbiHS+JfR2k5Tmd9s+FQHEC4jyfVw4qpfuCBw28pdXFz1wBkLj/qC1 wkIA== X-Gm-Message-State: APjAAAUm0STPkbK9vKSysqei7LNgvTzXw7WOerrXmb24/npPkv5EwTRv T4f5WAIiYHXYqhmXKcQjWJCRmJQBW4O44ij3THI= X-Received: by 2002:a63:8e4b:: with SMTP id k72mr627286pge.428.1556289293130; Fri, 26 Apr 2019 07:34:53 -0700 (PDT) MIME-Version: 1.0 References: <5a547510-2605-bae5-bd58-ab4aff28840d@siemens.com> In-Reply-To: <5a547510-2605-bae5-bd58-ab4aff28840d@siemens.com> From: Andy Shevchenko Date: Fri, 26 Apr 2019 17:34:41 +0300 Message-ID: Subject: Re: [PATCH] stmmac: pci: Adjust IOT2000 matching To: Jan Kiszka Cc: Giuseppe Cavallaro , Alexandre Torgue , David Miller , Linux Netdev List , Linux Kernel Mailing List , Su Bao Cheng , Andy Shevchenko Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 18, 2019 at 12:15 PM Jan Kiszka wrote: > > From: Su Bao Cheng > > Since there are more IOT2040 variants with identical hardware but > different asset tags, the asset tag matching should be adjusted to > support them. > > For the board name "SIMATIC IOT2000", currently there are 2 types of > hardware, IOT2020 and IOT2040. The IOT2020 is identified by its unique > asset tag. Match on it first. If we then match on the board name only, > we will catch all IOT2040 variants. In the future there will be no other > devices with the "SIMATIC IOT2000" DMI board name but different > hardware. > > Signed-off-by: Su Bao Cheng > Reviewed-by: Jan Kiszka > + /* > + * There are 2 types of SIMATIC IOT2000: IOT20202 and IOT2040. 20202 ? > + * The asset tag "6ES7647-0AA00-0YA2" is only for IOT2020 which > + * has only one pci network device while other asset tags are > + * for IOT2040 which has two. > + */ -- With Best Regards, Andy Shevchenko