Received: by 10.223.185.116 with SMTP id b49csp6095020wrg; Wed, 28 Feb 2018 04:01:44 -0800 (PST) X-Google-Smtp-Source: AH8x22505tLnmtjJATbpRFN7MlIatGa4tL2rqj2j21E3/qWOpzh1zEFBuv1ZJkUVEvbkLYnaR5wS X-Received: by 10.99.121.203 with SMTP id u194mr14507021pgc.232.1519819304469; Wed, 28 Feb 2018 04:01:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519819304; cv=none; d=google.com; s=arc-20160816; b=nxnzRimy269SAmM3rxKvN3S3mrbndRSMuHgb6vIbdtfroI8882WJYqYW06AxBG+YLJ c+Mt3yMq707Gbd3BkqFLRjH/8BSXMgM6Flz/DO/ea8XQV0FWnxBxeHhRWgLbROopKou6 CnEzJDdIXjMHjx51gctQlBs9QwW3UjbUOJ7blnINGqDUfiRZNsZEoBAeoGXfgubnmOS6 Pn1hasDHAhF2vM5UlFfBKFEncdnzMYZdRbzs8/F1+LhaLyCKOykSvAaY1bUl3y7vyBUa a4BGsV/M27114cK6TZKDV79nPT2Vtlofwt47pxwulexuHEF1p3F9Mq2KWVZHB4hTnlNM e+aw== 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:in-reply-to :references:subject:cc:to:mime-version:user-agent:from:date :message-id:dkim-signature:arc-authentication-results; bh=A6l+zeiMBKQw6FpYFUuJIUUQ9rVJybi1lXGHDtUpxyQ=; b=I7jFCcflx2ESmEamc0v1wGOpmm3unF2UP0Af0TIJaqlVi+6rfgLqRRLgCQ+hMbhUDq ohfiqnr+92n3llGSgILP23nDagGdsZGOuOXFM25dDxqLQXHWo+ILOx/8dijeueTvWOsW HYcBRfen895/eORShyptgu+WUeR2DOLsSWwmC3mpsBO3jTewignaXV3iW+I9NTKB6STr bsbY19vShz5vsyg8kCozVSpgyLQgoTfxWMDyPZSH1+9NuTdFLXrjzl3tMHDAk96VC7rL mXuF8c5/wNlq0b254XzLeYZiI0P+vlSc5cAX8tJyTfo1v7g9ISI7cIearRX3/Bpjn43h zr3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YfnoYHeA; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1si956791pgq.194.2018.02.28.04.01.15; Wed, 28 Feb 2018 04:01:44 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YfnoYHeA; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752329AbeB1MAX (ORCPT + 99 others); Wed, 28 Feb 2018 07:00:23 -0500 Received: from mail-wm0-f66.google.com ([74.125.82.66]:36975 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752206AbeB1MAV (ORCPT ); Wed, 28 Feb 2018 07:00:21 -0500 Received: by mail-wm0-f66.google.com with SMTP id 139so4579442wmn.2; Wed, 28 Feb 2018 04:00:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-transfer-encoding; bh=A6l+zeiMBKQw6FpYFUuJIUUQ9rVJybi1lXGHDtUpxyQ=; b=YfnoYHeAIrz6TbmwvrUL7XRFaT45TmfwPryhe3T0ZLf/Z7hSN921H2P3X6kTJ5MMv7 TAzrPLylpHl5DBSJ17mnfFYThh8ypQZi4K5XNiVuXZUtbBp2MkVsmeW53S9avhx5LnSo Y3BITBde0RfFCeBgr4W2VnJLGYqivG4XuPwG/buEJIL6YF5uLu5wyaAW0jdV7G7oChwn tcgym9V1qu/halsvomXkhAimWKSl4M27ochmWILztp9cdpbd39sswGJYMKmmVqXwoqoY cAP5eIsYbwhbl7ppcmPVrUBYbRxzPP8dkLC80ZjuaoTG7XeHBmNITYTvcMnzS6ptQ/UZ clIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-transfer-encoding; bh=A6l+zeiMBKQw6FpYFUuJIUUQ9rVJybi1lXGHDtUpxyQ=; b=q2CODkHLvZL06xfCawEwoPqZITOqlsxW0Nib3+Jan92i6vksaKiKlYXVGHKOq5Fr0G 6XJFjayyWTnp7yoDn4sND68DdPR4GypItPe4k603/5sHyKhjsIGytrR3s8NrTc+hARb5 TrgLrVtmMj/yh+iTZI/MMzwm3bz3sULIdlDgkXg0lTK4DPFbo7pyDRhigDCtyyQn89ef SUjcYfyoAFw4UHSRm1QDsp60pAqIY76J3yLE4b/Rz4sH4bqz30XpK9JkVeFMRj3UiYGT kjr5mKbsgbsi/1OkMtDTcIg6Vlaljt1VBnKxb31jnDx/NJs7BtpS8GUwnnEHzYjKKvG2 YJ5w== X-Gm-Message-State: APf1xPC1vy48ZjBEQR3zNZKJ6p+uQ7O8ZNjQaY2khXLySwRp6xZOa9fr A9FvcwQPfC8WTJca5HBKGis= X-Received: by 10.28.118.1 with SMTP id r1mr13763570wmc.80.1519819220027; Wed, 28 Feb 2018 04:00:20 -0800 (PST) Received: from ocho.localdomain (93-172-83-85.bb.netvision.net.il. [93.172.83.85]) by smtp.gmail.com with ESMTPSA id b7sm2073151wmg.41.2018.02.28.04.00.18 (version=TLS1 cipher=AES128-SHA bits=128/128); Wed, 28 Feb 2018 04:00:19 -0800 (PST) Message-ID: <5A9699A7.6060801@gmail.com> Date: Wed, 28 Feb 2018 13:59:35 +0200 From: Eli Billauer User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100907 Fedora/3.0.7-1.fc12 Thunderbird/3.0.7 MIME-Version: 1.0 To: Johannes Thumshirn CC: Greg KH , Bjorn Helgaas , Linux Kernel Mailinglist , Michael Moese , Andy Shevchenko , linux-pci@vger.kernel.org, Bjorn Helgaas , Anatolij Gustschin Subject: Re: [PATCH v2 1/2] PCI: add vendor id for Altera References: <20180228084418.7566-1-jthumshirn@suse.de> <20180228084418.7566-2-jthumshirn@suse.de> In-Reply-To: <20180228084418.7566-2-jthumshirn@suse.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks. Acked-by: Eli Billauer On 28/02/18 10:44, 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 > > --- > 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 >