Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp899079yba; Thu, 18 Apr 2019 11:26:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzCF3/uVzlW6rKYZbz6UwmnPdvfk3u0l3VmNnoFXB3IQEknIYBa+j7QJlgXX5bXPzFPDTE3 X-Received: by 2002:a62:4602:: with SMTP id t2mr97129924pfa.26.1555611981518; Thu, 18 Apr 2019 11:26:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555611981; cv=none; d=google.com; s=arc-20160816; b=GFRG+MbvgD5dRuMcNe+9HrZLHW9GwljGcXsOAzoscexD4hVGsy49CCvmZzd/aloTMs 5RYCGXaJur/9en0U7e3YMdhcu3fLv7XxiQYf4CxCAUwOUn8hSt4KVcmVoJXg+UIHwTMH RGFjNMlzn7ReWa4DwtWLFDrsorWRIQKka+F8rAkOOOsvC2GK7AqSqphWFJ8YZRQ9kdiX GZdJW0lFwyVlD+CCU5v0DZmfm+VXhs/kBUWXH0YRqQpAnGQ8fKYE4TgOiIztExSPAbfJ b5HGhVg5R5meUURsmcl9CnLeJ9ZOKJ5ykKnqE1wH3j0yfmEuSwDMrQaw45W5IyFVAZvR 63gw== 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=KvNUXBIzQdF/40jFiAF2bWxBDwLFo6BUIk7lOs79l6s=; b=fW1fds/EYzH127xN1jCmoydywcOSgZEwEiA6IVPg9gEmvGDmvLtRCp/KQrrh8rT7Yj 0hAg1bfr17AZB3Gvij/SUixWVByA/rhBHFyti7UpdoFJtKHVIbxVs+3Oq9BVxA0g6Lt+ NfzyYoCO1irSOvG13+ppxClimVsJbofRrjDJATA4MKbZTS8/9l3t/w5YMZaqTu+kwf6p 1xRE7Ih1x0fy8noEASqbNqI+bGv2xiiDwW6JYdl5kqh4EEbVhpjHBlqXxoh4GACUBR0x poKx+reM12mgJbtxIE9/DlIFS1QZxl4cioHH6/1Vi5aiXEAXlf3UPv7PfIDajJf20XJE Q4ow== 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 s14si2432078pgs.343.2019.04.18.11.26.06; Thu, 18 Apr 2019 11:26:21 -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 S2391660AbfDRSYq (ORCPT + 99 others); Thu, 18 Apr 2019 14:24:46 -0400 Received: from david.siemens.de ([192.35.17.14]:49281 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391567AbfDRSYh (ORCPT ); Thu, 18 Apr 2019 14:24:37 -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 x3IIOT2r028860 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 Apr 2019 20:24:30 +0200 Received: from [139.22.35.105] ([139.22.35.105]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id x3IIOS7i027425; Thu, 18 Apr 2019 20:24:29 +0200 Subject: Re: [PATCH] stmmac: pci: Adjust IOT2000 matching To: David Miller Cc: peppe.cavallaro@st.com, alexandre.torgue@st.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, baocheng.su@siemens.com, andy.shevchenko@gmail.com References: <5a547510-2605-bae5-bd58-ab4aff28840d@siemens.com> <20190418.104344.957038152341042514.davem@davemloft.net> From: Jan Kiszka Message-ID: <642a6059-8a28-b995-919f-68d03200ee11@siemens.com> Date: Thu, 18 Apr 2019 20:24:28 +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: <20190418.104344.957038152341042514.davem@davemloft.net> 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 18.04.19 19:43, David Miller wrote: > From: Jan Kiszka > Date: Thu, 18 Apr 2019 11:14:56 +0200 > >> @@ -170,8 +176,6 @@ static const struct dmi_system_id quark_pci_dmi[] = { >> { >> .matches = { >> DMI_EXACT_MATCH(DMI_BOARD_NAME, "SIMATIC IOT2000"), >> - DMI_EXACT_MATCH(DMI_BOARD_ASSET_TAG, >> - "6ES7647-0AA00-1YA2"), >> }, >> .driver_data = (void *)&iot2040_stmmac_dmi_data, > > So really, every IOT2000 that doesn't have the IOT2020 asset tag will be > a 2040? Forever? > Yes, seriously. The next version won't have all that DMI and ACPI stuff. And if there will ever be a version with that again, it will not be labeled "IOT2000" via the board name entry. And it will have more robust hardware discovery as well. Lesson(s) learned, in fact not only for this product series. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux