Received: by 10.213.65.16 with SMTP id m16csp256532imf; Mon, 12 Mar 2018 02:43:42 -0700 (PDT) X-Google-Smtp-Source: AG47ELu0LSsEh7y7qMG0bgkiMjem/zch8I0FUOTmqTJJHJgdpOXTE9qpnvLlRGVPNmCi4M7a5/Jc X-Received: by 2002:a17:902:7f0c:: with SMTP id d12-v6mr7427671plm.350.1520847822517; Mon, 12 Mar 2018 02:43:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520847822; cv=none; d=google.com; s=arc-20160816; b=M5d69tJ/NaAN6j7soqaVCLR4JHulN3LJQCIBci45JONdHHCUEIg/plDwGW0DPSyhRJ nwUGqqq9lXZJLa6UgBooDEVTEpKbe6JrtpzR71tgC6CopLK+y/Nxbz/cAv2UF3Uc1Uqs hH9XbydNgyDp8Q2Cep9siACoux6U7Q+/Y+fpP9zKQNl/DucKsJfwqPpMYtWA+WTiyeOR rJ0Z3RswLZVEgLsJRzYfgr2NsMAl9mnzgRzklu6nD2NX5BKqeGHV1ALiOWxMWZe6iNVL SQnbN15GigdzeNE4edizc0B/ToCc8HRqRNqxjrso4RLZdjfsyxsGFV77OACC61UdBli7 Pr6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=/nll28XAZ8oU9qRbkjAzrdJ1Z6ORk+Yv69Tcsods48c=; b=VQZMVyvT4+9HW0MVmwMWMhwPCYOzFFd/AbMGqPSgtXXvoD8k/eHfwpodlAYm6QGQSQ ueMD56jvX2A71bhj5HYmD1l56enNCsFLOZke+UwyTxHWHfZWYzi15mLnT3wXZ9abaod0 PupIdK0LqammVCN7AZ2NR5b1AlzVMke3zkuqYbTwuR2kjCUGOpcFWrOVWHhz6qXBXhKI Myebc4wmGNgACWNk1wl2IGR9VpKayCpZEFOVXuZrmfGycxBzo/aeCtny6u3CO3s5x+i8 8PpTcX17bjJyy68jWtQEP/7tpoFdds/C7qTPvMMPsNOxhawSUa/06Cq4TiDyjM95nJuW zZrw== 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 m13si4795996pgd.641.2018.03.12.02.43.28; Mon, 12 Mar 2018 02:43:42 -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 S1752603AbeCLJl3 (ORCPT + 99 others); Mon, 12 Mar 2018 05:41:29 -0400 Received: from mx2.suse.de ([195.135.220.15]:42602 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751802AbeCLJl0 (ORCPT ); Mon, 12 Mar 2018 05:41:26 -0400 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 8897AAE28; 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 , Bjorn Helgaas , Eli Billauer , Anatolij Gustschin Subject: [PATCH v3 1/2] PCI: Add Altera vendor ID Date: Mon, 12 Mar 2018 10:41:18 +0100 Message-Id: <20180312094119.5298-2-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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: Eli Billauer Acked-by: Bjorn Helgaas Reviewed-by: Andy Shevchenko --- Changes to v1: - Collected ACKs - Reworded Subject according to Bjorn 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