Received: by 10.223.185.116 with SMTP id b49csp4952299wrg; Tue, 27 Feb 2018 05:31:52 -0800 (PST) X-Google-Smtp-Source: AH8x227s1FjxR9IHVJPpq8nGkqglheFNPOrWjDtLsMqgKx4gFfutz4xyyhSiXrj638Ta5BFAAlPl X-Received: by 2002:a17:902:8341:: with SMTP id z1-v6mr14532868pln.386.1519738312669; Tue, 27 Feb 2018 05:31:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519738312; cv=none; d=google.com; s=arc-20160816; b=IHTh2SqvlpIH2FR+U2o6SSmHuPF1aRolQoV3fMzgfYJJ26chegL/EHbfMxzkHqL3sf ZhYqGIbUFRKAujLJ/q/n+TTObxkq8T1PhkOT8BRctMx4jWIjniJUOwqWJ8DFJqXV8rEu HXkgeZXMQdQuvaFMmLepQ+kPMLdV44AYQxoyUX2L8Ds/HuGs5/ooC1OcClhfvI4+ZMbF T5MKGCS064qG2Qx1H8wLMX5tPAooOlcHPH+6ildQRw71IC8wYsKNYlpJQ5lxeS/qNieq N5Vpey85CdORBw3HyJOXMJapyNREoTNq2oX7wGDM5QtxK+tlC/jlDYeZIdsFcI0toPAb xONQ== 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=z8fhABteM57vPCOirIkaX1bAnjxha74ifBpKK3JbGT4=; b=KDfgQtnHYKb9F0h+Kjzm+g0C7241sGJF7BwOdmrL+jztAHrtpWlovu3K0nRJpz4yV4 CAy+3Ohor9H8RlFjmLin64bXhgP0DKCupfswak5uVhhrcJU2AThgKQky3drLAyEGaJ6R v35TVkK6f9OgrIA2Sj49/fqrnC4BIBpv4XCgMNtcsd7Dp8N08KKeER1ZdZlWKDH2D6/2 sycEJutmeHljl9DIFGu7zAwBLXbDuLAQ9aVQf1kfzIWRBvUyKhsIVWbxQkAF0hf9vQYw dpLVcN8LpiN9XzXzdupK1yGrckcuHW7QyqlrQSr5oGhXw/FuCi7FTaZYKx4ZQIOaQUbP 92/A== 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 n10-v6si8427419plk.255.2018.02.27.05.31.37; Tue, 27 Feb 2018 05:31:52 -0800 (PST) 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 S1753327AbeB0Nac (ORCPT + 99 others); Tue, 27 Feb 2018 08:30:32 -0500 Received: from mx2.suse.de ([195.135.220.15]:55780 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753115AbeB0Na1 (ORCPT ); Tue, 27 Feb 2018 08:30:27 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 4FF46AE82; Tue, 27 Feb 2018 13:30:26 +0000 (UTC) From: Johannes Thumshirn To: Greg KH Cc: Linux Kernel Mailinglist , Michael Moese , Johannes Thumshirn , =?UTF-8?q?Andreas=20Gei=C3=9Fler?= Subject: [PATCH 2/2] mcb: add Altera PCI ID to mcb-pci Date: Tue, 27 Feb 2018 14:30:18 +0100 Message-Id: <20180227133018.7732-3-jthumshirn@suse.de> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180227133018.7732-1-jthumshirn@suse.de> References: <20180227133018.7732-1-jthumshirn@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some older PCI attached MEN FPGAs use an Altera PCI Vendor ID instead of the MEN one. Add it to the PCI ID table so the driver automatically attaches to it. Signed-off-by: Johannes Thumshirn Reported-by: Ben Turner Tested-by: Ben Turner Cc: Andreas Geißler Cc: Michael Moese --- drivers/mcb/mcb-pci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mcb/mcb-pci.c b/drivers/mcb/mcb-pci.c index af4d2f26f1c6..286b32ca526f 100644 --- a/drivers/mcb/mcb-pci.c +++ b/drivers/mcb/mcb-pci.c @@ -11,6 +11,7 @@ #include #include +#include #include #include "mcb-internal.h" @@ -117,6 +118,7 @@ static void mcb_pci_remove(struct pci_dev *pdev) static const struct pci_device_id mcb_pci_tbl[] = { { PCI_DEVICE(PCI_VENDOR_ID_MEN, PCI_DEVICE_ID_MEN_CHAMELEON) }, + { PCI_DEVICE(PCI_VENDOR_ID_ALTERA, PCI_DEVICE_ID_MEN_CHAMELEON) }, { 0 }, }; MODULE_DEVICE_TABLE(pci, mcb_pci_tbl); -- 2.13.6