Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp780658yba; Fri, 26 Apr 2019 08:38:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzufxQJbe6QhflGh5T2ZJC/i1BEdAYg9+mqR2er6fmkORiWi3Bvdy6ishZNB0Yq8hNukHST X-Received: by 2002:a65:6686:: with SMTP id b6mr4530634pgw.419.1556293081216; Fri, 26 Apr 2019 08:38:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556293081; cv=none; d=google.com; s=arc-20160816; b=hHGgRPcNowwjFww7r0fbKNgrEgs47fJoxaI9q4rlMuS5Rlaqqhvljxx5H8cuqvhokU aS3N47VjnGRgIj41L7hICZAog63DIMFcR1SH24cBbZdo2R+ucmM19N7Bz4rOTz5i1aVk njuNUzeSSLclKlRLsVW68hKo2p+MDB8a3pgv+1MIqgDyua9Fe5ZjA2FK1onJ+7ykhvxA 1zLnLLsQDpTAsSAamDI2Gso9ZKOmk3h3EJH2h91Qr2OMU6RsbE3LEx6R413NYymr3g5E 0XnpLfUudpmjnxpvT5q4rLJAjv80s2RDMiLUm8qx+Af4ATg+knVu/f/lGrqHPlcjuvoC 465A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=SELFh6brJhBzUeY5ueU5tMbD8bbFFWhTWv9mBJqakvU=; b=bVitfYiPocZuB1UFjDWeJiT6wU5GMCENPk2dEKlSnJiJ9OuRCNe5NBF0FnJYfyj8b8 hDGWOGAxTG5UKSZ+iA+pdtjnb99pNh17EspxcC3ZzWhNTQYgsdpONMaxIMjjEvZTUM9I oAmDc25S4SSNxJ5l8RmHidITwewhVUtrAfpW3t9BUenDeeIlz6DPcwNwo2jPgojVTo0T vtpw5moyUo7ZdtyTq3XLkrrKeNy46gQzQHo5XrH3d7xC11wQckCh/Yn5+2lYYzeTucbw z/ym/E6Czx5nUUNh/X//yzmEWknSFzIyRqXMrkTBkWAHetbEeyTKdYclCmdz1WIFh/U8 B0cw== ARC-Authentication-Results: i=1; mx.google.com; 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 17si25324151pgk.72.2019.04.26.08.37.45; Fri, 26 Apr 2019 08:38:01 -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; 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 S1726403AbfDZPgz (ORCPT + 99 others); Fri, 26 Apr 2019 11:36:55 -0400 Received: from david.siemens.de ([192.35.17.14]:57017 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726188AbfDZPgy (ORCPT ); Fri, 26 Apr 2019 11:36:54 -0400 Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id x3QFakpR004038 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Apr 2019 17:36:46 +0200 Received: from [167.87.22.130] ([167.87.22.130]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id x3QFajH0019960; Fri, 26 Apr 2019 17:36:45 +0200 Subject: Re: [PATCH] stmmac: pci: Adjust IOT2000 matching To: Andy Shevchenko Cc: Giuseppe Cavallaro , Alexandre Torgue , David Miller , Linux Netdev List , Linux Kernel Mailing List , Su Bao Cheng References: <5a547510-2605-bae5-bd58-ab4aff28840d@siemens.com> From: Jan Kiszka Message-ID: <28d2856b-7fe5-1b42-e1bc-1c3601265dd2@siemens.com> Date: Fri, 26 Apr 2019 17:36:44 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26.04.19 16:34, Andy Shevchenko wrote: > 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 ? 2020... I can send a fix-up or v2, whatever is preferred. Thanks, Jan > >> + * 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. >> + */ > > > -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux