Received: by 10.223.185.116 with SMTP id b49csp5926764wrg; Wed, 28 Feb 2018 00:46:04 -0800 (PST) X-Google-Smtp-Source: AH8x227saoN+6CxPAN/r1Zufr/H5BBimVJx5/9UnGhajKI706nEGWe1+dBu5b2UUsOZyd4k2AWEd X-Received: by 10.101.96.5 with SMTP id m5mr13683515pgu.374.1519807564572; Wed, 28 Feb 2018 00:46:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519807564; cv=none; d=google.com; s=arc-20160816; b=dfZSWCHOrLNJH/8jjiwY9MP7k+TM35ZzukUYz8YydmStC+d/XGA2aRGN8blGIhRW1z dm09WdkgmToBaYZ4H7T6NXl5hHCZs6N3UQinT5ijxwy1M+DcR+xA/aCjmO4fkfjdFW9P rbRbGWa8Uk5Oj2EHkLQYdoesNHYU3/ev3w4GAOJ78C/Fukj6ZB4Aw5eht74EVssjheEa fEBMHmOaOhSLWSif5z/JR07H4GnGKTLv/7EJz9VaPAzhzxNqCjF9YMQLKuWHwil1q36C aiLETLSDD+4BEjQiamD2cUlz80LMFia0/7zRYb3+ovFA6MNjnbjdi49owcqqRLGABRl+ l0Gw== 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=cAz+FiEkZb/81NzZ5HNrExD8Tu+BQdyfuSI8ohszYK0=; b=dgJl7M3EzeFs43zOl23oeD6o2IN0f2RM0Kv3Lcv4Jd/CLAYthCi4MZShr3bLhxPLdK kYsocVA4qmbK8ddBHlEVxPLvlNiGwTRTpP5sQ/P0g9PEy4lf89Zk31P7Axtvm+7U38+o a6VHzHUlp3tmgo8jRdU2y0VlCxbzcbhVOdSf53BydFuqiA4vvwpHwDHgvfYeZgATFYQW Zz0NYOMTJCywEREHdzYhSxoSbXNiirHvvcDEgt/BHi0GJjaf2upHJSteqTUlvjQfipzs pPfdRLwTnFL1sUOXaK/q7a72A+icuLxd2zVXvEO5VwGTOtLU/7upTWTbt8PwwN8wNm9O f10A== 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 bb6-v6si949426plb.512.2018.02.28.00.45.48; Wed, 28 Feb 2018 00:46:04 -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 S1752231AbeB1Io1 (ORCPT + 99 others); Wed, 28 Feb 2018 03:44:27 -0500 Received: from mx2.suse.de ([195.135.220.15]:43550 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751646AbeB1Io0 (ORCPT ); Wed, 28 Feb 2018 03:44:26 -0500 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 F0A85AC8A; Wed, 28 Feb 2018 08:44:24 +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 v2 2/2] mcb: add Altera PCI ID to mcb-pci Date: Wed, 28 Feb 2018 09:44:18 +0100 Message-Id: <20180228084418.7566-3-jthumshirn@suse.de> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180228084418.7566-1-jthumshirn@suse.de> References: <20180228084418.7566-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 --- 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