From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6FB73C10F29 for ; Mon, 9 Mar 2020 08:50:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3E08020637 for ; Mon, 9 Mar 2020 08:50:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=flygoat.com header.i=jiaxun.yang@flygoat.com header.b="c9gPUBVs" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726389AbgCIIuu (ORCPT ); Mon, 9 Mar 2020 04:50:50 -0400 Received: from sender3-op-o12.zoho.com.cn ([124.251.121.243]:17842 "EHLO sender3-op-o12.zoho.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725956AbgCIIut (ORCPT ); Mon, 9 Mar 2020 04:50:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1583743805; s=mail; d=flygoat.com; i=jiaxun.yang@flygoat.com; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=arbMPqUJNmVr7z8xDGX4dxhr0Jiu/21GH9BeGGFEGqM=; b=c9gPUBVssKTdnoFnpfLyta/PBYHPP/eNOKjJboGMgjuf+KpKU/ErK1jko5L5RUDe e6M40FwTByqvsri6OqJNxafWBFFp9nZyJac3G61SiT9bqqDL3MHXg41EkGbbe8BQOis DhQPwqyOvO110mqrpmmmtgbWZTavGMQLcHpfI5GM= Received: from mail.baihui.com by mx.zoho.com.cn with SMTP id 15837438034103.9039562753517885; Mon, 9 Mar 2020 16:50:03 +0800 (CST) Date: Mon, 09 Mar 2020 16:50:03 +0800 From: Jiaxun Yang To: "Tiezhu Yang" Cc: "Thomas Bogendoerfer" , "Huacai Chen" , "Bjorn Helgaas" , "Jens Axboe" , "linux-mips" , "linux-pci" , "linux-ide" , "linux-kernel" , "Xuefeng Li" Message-ID: <170be7ca00e.133ea84fa2305.7803335422925759322@flygoat.com> In-Reply-To: <1583742206-29163-2-git-send-email-yangtiezhu@loongson.cn> References: <1583742206-29163-1-git-send-email-yangtiezhu@loongson.cn> <1583742206-29163-2-git-send-email-yangtiezhu@loongson.cn> Subject: =?UTF-8?Q?=E5=9B=9E=E5=A4=8D:[PATCH_1/6]_PCI:_Add_Loongson?= =?UTF-8?Q?_vendor_ID_and_7A1000_device_IDs?= MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Priority: Medium User-Agent: ZohoCN Mail X-Mailer: ZohoCN Mail Sender: linux-ide-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ide@vger.kernel.org ---- =E5=9C=A8 =E6=98=9F=E6=9C=9F=E4=B8=80, 2020-03-09 16:23:21 Tiezhu Yan= g =E6=92=B0=E5=86=99 ---- > Add the Loongson vendor ID and 7A1000 device IDs to pci_ids.h > to be used by the controller driver in the future. >=20 > The Loongson IDs can be found at the following link: > https://git.kernel.org/pub/scm/utils/pciutils/pciutils.git/tree/pci.ids >=20 > Signed-off-by: Tiezhu Yang > --- > include/linux/pci_ids.h | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) >=20 > 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 @@ > =20 > #define PCI_VENDOR_ID_NCUBE 0x10ff > =20 > +#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 Devices IDs are unlikely to be reused by mutiple subsystems, so probably we= don't need to add them here? =20 > + > #endif /* _LINUX_PCI_IDS_H */ > --=20 > 2.1.0 >=20 >