Received: by 10.213.65.16 with SMTP id m16csp256509imf; Mon, 12 Mar 2018 02:43:37 -0700 (PDT) X-Google-Smtp-Source: AG47ELv43EUAVFijBfGcLmbvOUjc9TXvDhVry/GM+itEzuPVUxSV6FmMyuo1Ud1yTj2AF4k1ZOL2 X-Received: by 2002:a17:902:7088:: with SMTP id z8-v6mr7594227plk.174.1520847817543; Mon, 12 Mar 2018 02:43:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520847817; cv=none; d=google.com; s=arc-20160816; b=Z+jQ/FsxpCBVdsdiEbZKio+Ub+SvojSxERVXuAy6VUGyrYt054w9OOZ6TYv/3xYOVw 8Pa6VRmrNlkQaVnBOoM4LvrLniBjxdZk4blsQ11YvDCrCbDNqCCtwoLrFx81ycex7ltX +Sv6f8ipgb+O9jUxmGzHRXO1Yq5V8q/GbFv8/xQOHfsLv7+rB8D8PW3BPa9JiyaZh+fO xAzYxtvNxgsMm9/F2eiQAb5AUultIk6QWEoZiZL4YOJcUEfTSWmzFFGDFHcaBuKRqkU6 mAijhH8hW/nmy0ECGxEKxpGsNNN/EsqkbMFGyjenEoehEL4w4i8eTi6iOJ5onGzO9tVl 2ovA== 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=wk/+VdHl2M5RcUvQ9uNC7a9rSXWq8cgTMuGLBO6h1oA=; b=OkH/yULD4KgpzePUKv4lV74E3AtKDtKqJ2L8dvWJTfi06ksnNwmy1yr3bR5P3Ngvwt IDhgN2dS0MMXf9hzM13Hzbrj8l/6MQL+QFNP1FzRDR+fRFAWih0g23J+yZaJZvNfZPdw sJi1usfpWnvcyYeMfitFr6SWE5VrO66fI+6PrqNwYvxQzxBB0npXGzvasD1LOzHPGyyI m4KKTMCsiuyx/mdg0mT177Y8NPwovOpZQu6wa7QfeTwCO8So3+4kKpL56KY9KEeSeKCx XSKWKbP+xswgWqvgHSXP7m7fjIIJfsIMAz6r1Wkm00Pk9jme/Z5PKmMYFEOEj2afK3AK iczA== 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 x3-v6si2858192plw.269.2018.03.12.02.43.23; Mon, 12 Mar 2018 02:43:37 -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 S1752581AbeCLJl2 (ORCPT + 99 others); Mon, 12 Mar 2018 05:41:28 -0400 Received: from mx2.suse.de ([195.135.220.15]:42598 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751685AbeCLJl0 (ORCPT ); Mon, 12 Mar 2018 05:41:26 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 621B2ACCD; Mon, 12 Mar 2018 09:41:25 +0000 (UTC) From: Johannes Thumshirn To: Greg KH , Bjorn Helgaas Cc: Linux Kernel Mailinglist , Michael Moese , Andy Shevchenko , linux-pci@vger.kernel.org, Johannes Thumshirn , =?UTF-8?q?Andreas=20Gei=C3=9Fler?= Subject: [PATCH v3 2/2] mcb: add Altera PCI ID to mcb-pci Date: Mon, 12 Mar 2018 10:41:19 +0100 Message-Id: <20180312094119.5298-3-jthumshirn@suse.de> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180312094119.5298-1-jthumshirn@suse.de> References: <20180312094119.5298-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 Reviewed-by: Andy Shevchenko --- Changes to v2: - Add Andy's review Changes to v1: - Removed redundant include of pci_ids.h --- drivers/mcb/mcb-pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mcb/mcb-pci.c b/drivers/mcb/mcb-pci.c index af4d2f26f1c6..c2d69e33bf2b 100644 --- a/drivers/mcb/mcb-pci.c +++ b/drivers/mcb/mcb-pci.c @@ -117,6 +117,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