Received: by 10.223.185.116 with SMTP id b49csp6585099wrg; Wed, 28 Feb 2018 11:55:07 -0800 (PST) X-Google-Smtp-Source: AG47ELvnKF/16bsFqFt3OA01yfyXPVA0cpWDP/qxHXAKyUHW3E678mZm6sFUMKx6FhNKTUnWzfNb X-Received: by 2002:a17:902:506:: with SMTP id 6-v6mr4963589plf.365.1519847707430; Wed, 28 Feb 2018 11:55:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519847707; cv=none; d=google.com; s=arc-20160816; b=GjzTs9qf8V+RPoHjAf9mPWdRN7mJuAXxItsXMJnh/JpyTsA/B8SRavPmstgnNFvglD aM6bCgGkkpdwWqRVeJstMrHAPuoAA0vQh9VavPe2rg/OxJdFvBLYQMna2Z5vOuPqTM6g Z8iZZ4QP54SGWTf+d+JSzOBMkmlrppscXt8Nq/4HxbQ1LiF7r8Fx+frccNCO0LZoJG2I 72xMSz9hdtYI4bhDrW+jKyTo4GE66dV8TaS7Ofqrs7C4/Q0B1iFUn0WO84CKP4ECPZS8 LpB+MsTtEZIwfYXDlLscJCpVO8/FR+aI3rtAnCGFLg8WK3vZZfcUAZrnDQ918JuHtjhL YG1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:arc-authentication-results; bh=d2gg4GHBiRBH/91+JKO+XkZbXptebRDWDYvHPoKpKpA=; b=cUIndrnkdABpjE2wXQmYhqvtrfE2TSFq7KhrRkinQ90jN0eBaF7iJ/FRGPg3mX6F0Y Nx+MI2Pm9TxBRtaugTGwNaVC7UX3aFOsL414AYvt653UyUZLM0to+x/nUT6ntbiZtp0g YHTyCfYXvOJ8diqq4EKg19XlIGM1sWwjt1pF2SuzPWAdmC8dP9nlE93jfQ1CQ552Hiwr aSAsB0OPl0+ft2/S89tsUWUbWMotHekHHZzLrVEORN1keRWRapbg9OniER4P83MshFwP /KKzuzOVlKnRfbk8XXNY5KvNslz3ErX/BbHTK4F3SYmigU/GpncPZI7Q4KPTX/CN0CMF E04Q== 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 p1si1383611pgc.593.2018.02.28.11.54.52; Wed, 28 Feb 2018 11:55:07 -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 S933992AbeB1TyA (ORCPT + 99 others); Wed, 28 Feb 2018 14:54:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:33532 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933687AbeB1Tx6 (ORCPT ); Wed, 28 Feb 2018 14:53:58 -0500 Received: from localhost (unknown [69.55.156.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id F31B020856; Wed, 28 Feb 2018 19:53:57 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F31B020856 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=helgaas@kernel.org Date: Wed, 28 Feb 2018 13:53:57 -0600 From: Bjorn Helgaas To: Johannes Thumshirn Cc: Greg KH , Linux Kernel Mailinglist , Michael Moese , Andy Shevchenko , linux-pci@vger.kernel.org, Bjorn Helgaas , Eli Billauer , Anatolij Gustschin Subject: Re: [PATCH v2 1/2] PCI: add vendor id for Altera Message-ID: <20180228195356.GH127842@bhelgaas-glaptop.roam.corp.google.com> References: <20180228084418.7566-1-jthumshirn@suse.de> <20180228084418.7566-2-jthumshirn@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180228084418.7566-2-jthumshirn@suse.de> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org s/PCI: add vendor id for Altera/PCI: Add Altera vendor ID/ On Wed, Feb 28, 2018 at 09:44:17AM +0100, Johannes Thumshirn wrote: > Add the Altera PCI Vendor id to pci_ids.h and remove the private > definitions from xillybus_pcie.c and altera-cvp.c. > > Signed-off-by: Johannes Thumshirn > Cc: Bjorn Helgaas > Cc: Eli Billauer > Cc: Anatolij Gustschin Acked-by: Bjorn Helgaas Feel free to merge this along with the other. If you'd like me to take them, just let me know. > --- > Changes to v1: > - Remove redundant pci_ids.h include (Andy) > --- > drivers/char/xillybus/xillybus_pcie.c | 1 - > drivers/fpga/altera-cvp.c | 2 -- > include/linux/pci_ids.h | 2 ++ > 3 files changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/char/xillybus/xillybus_pcie.c b/drivers/char/xillybus/xillybus_pcie.c > index dff2d1538164..05e5324f60bd 100644 > --- a/drivers/char/xillybus/xillybus_pcie.c > +++ b/drivers/char/xillybus/xillybus_pcie.c > @@ -24,7 +24,6 @@ MODULE_LICENSE("GPL v2"); > > #define PCI_DEVICE_ID_XILLYBUS 0xebeb > > -#define PCI_VENDOR_ID_ALTERA 0x1172 > #define PCI_VENDOR_ID_ACTEL 0x11aa > #define PCI_VENDOR_ID_LATTICE 0x1204 > > diff --git a/drivers/fpga/altera-cvp.c b/drivers/fpga/altera-cvp.c > index 00e73d28077c..77b04e4b3254 100644 > --- a/drivers/fpga/altera-cvp.c > +++ b/drivers/fpga/altera-cvp.c > @@ -384,8 +384,6 @@ static int altera_cvp_probe(struct pci_dev *pdev, > const struct pci_device_id *dev_id); > static void altera_cvp_remove(struct pci_dev *pdev); > > -#define PCI_VENDOR_ID_ALTERA 0x1172 > - > static struct pci_device_id altera_cvp_id_tbl[] = { > { PCI_VDEVICE(ALTERA, PCI_ANY_ID) }, > { } > diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h > index a6b30667a331..6a96a70fb462 100644 > --- a/include/linux/pci_ids.h > +++ b/include/linux/pci_ids.h > @@ -1561,6 +1561,8 @@ > #define PCI_DEVICE_ID_SERVERWORKS_CSB6LPC 0x0227 > #define PCI_DEVICE_ID_SERVERWORKS_HT1100LD 0x0408 > > +#define PCI_VENDOR_ID_ALTERA 0x1172 > + > #define PCI_VENDOR_ID_SBE 0x1176 > #define PCI_DEVICE_ID_SBE_WANXL100 0x0301 > #define PCI_DEVICE_ID_SBE_WANXL200 0x0302 > -- > 2.13.6 >