From patchwork Mon Mar 9 08:23:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tiezhu Yang X-Patchwork-Id: 11426275 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D06581580 for ; Mon, 9 Mar 2020 08:24:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BB7B52087F for ; Mon, 9 Mar 2020 08:24:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726491AbgCIIXq (ORCPT ); Mon, 9 Mar 2020 04:23:46 -0400 Received: from mail.loongson.cn ([114.242.206.163]:55946 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726384AbgCIIXq (ORCPT ); Mon, 9 Mar 2020 04:23:46 -0400 Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9Dxb9_+_GVesb4YAA--.12S3; Mon, 09 Mar 2020 16:23:29 +0800 (CST) From: Tiezhu Yang To: Thomas Bogendoerfer , Huacai Chen , Jiaxun Yang , Bjorn Helgaas , Jens Axboe Cc: linux-mips@vger.kernel.org, linux-pci@vger.kernel.org, linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, Xuefeng Li Subject: [PATCH 1/6] PCI: Add Loongson vendor ID and 7A1000 device IDs Date: Mon, 9 Mar 2020 16:23:21 +0800 Message-Id: <1583742206-29163-2-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1583742206-29163-1-git-send-email-yangtiezhu@loongson.cn> References: <1583742206-29163-1-git-send-email-yangtiezhu@loongson.cn> X-CM-TRANSID: AQAAf9Dxb9_+_GVesb4YAA--.12S3 X-Coremail-Antispam: 1UD129KBjvJXoWxJ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JVW8JrUvcSsGvfC2KfnxnUUI 43ZEXa7VUUgo7tUUUUU== X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org Add the Loongson vendor ID and 7A1000 device IDs to pci_ids.h to be used by the controller driver in the future. The Loongson IDs can be found at the following link: https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git/tree/pci.ids Signed-off-by: Tiezhu Yang --- include/linux/pci_ids.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 352c0d7..0125ab4 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -3113,4 +3113,22 @@ #define PCI_VENDOR_ID_NCUBE 0x10ff +#define PCI_VENDOR_ID_LOONGSON 0x0014 +#define PCI_DEVICE_ID_LOONGSON_7A1000_HT 0x7a00 +#define PCI_DEVICE_ID_LOONGSON_7A1000_APB 0x7a02 +#define PCI_DEVICE_ID_LOONGSON_7A1000_GMAC 0x7a03 +#define PCI_DEVICE_ID_LOONGSON_7A1000_OTG 0x7a04 +#define PCI_DEVICE_ID_LOONGSON_7A1000_DC 0x7a06 +#define PCI_DEVICE_ID_LOONGSON_7A1000_HDA 0x7a07 +#define PCI_DEVICE_ID_LOONGSON_7A1000_SATA 0x7a08 +#define PCI_DEVICE_ID_LOONGSON_7A1000_PCIE_X1 0x7a09 +#define PCI_DEVICE_ID_LOONGSON_7A1000_SPI 0x7a0b +#define PCI_DEVICE_ID_LOONGSON_7A1000_LPC 0x7a0c +#define PCI_DEVICE_ID_LOONGSON_7A1000_DMA 0x7a0f +#define PCI_DEVICE_ID_LOONGSON_7A1000_EHCI 0x7a14 +#define PCI_DEVICE_ID_LOONGSON_7A1000_GPU 0x7a15 +#define PCI_DEVICE_ID_LOONGSON_7A1000_PCIE_X4 0x7a19 +#define PCI_DEVICE_ID_LOONGSON_7A1000_OHCI 0x7a24 +#define PCI_DEVICE_ID_LOONGSON_7A1000_PCIE_X8 0x7a29 + #endif /* _LINUX_PCI_IDS_H */