Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp6503587ybn; Sun, 29 Sep 2019 22:05:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqy2eQ7LXeMV+ASwAuq6CLzmNznQTBV0LzmGhAAs1nopgz58nXZA0qiV0Gm5MHpX0fGwvkxi X-Received: by 2002:a17:906:d922:: with SMTP id rn2mr17593140ejb.124.1569819928492; Sun, 29 Sep 2019 22:05:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569819928; cv=none; d=google.com; s=arc-20160816; b=iYpmtshhq7KMlFSyupDCN0scjuKcbx3lD1VSTQLujoTKBSBKWxwo7vKLBzgCmy9LqH yjyVZC4kQonBWVqdYWCxVVEZuf4wfJN70xjZLcDPqXFYDZbCSFVoAuxVCRu0rzOlSE4v yOE0DfL0gkWbDrB5Wd1jG4pAOhAPj5yuQkmNB4AWZ7PU/MTqLHQjmn1LgZi/tPKuMdQW 6VZwXwmkuXp4hpRRv71hXd3y+A6f2AgNMWCJmmeuaJxSeYI4TMvWN2o1VlZIVjvGsThq OjFwP7OJIcuvPR9CprvPdwk7ZQizabvjCECM/nJoU4xBSfYCO0jXbaE3q7vmFfP+IoOj iH9g== 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:mime-version :user-agent:date:message-id:subject:from:cc:to; bh=lROulw4bXBfp+B4+X8TXioHnQkMLKNOZonPTpXwSwbs=; b=rbkFpbCFsuKdlQUlhlOq5mZoK0qfe1NBmABCnRz3etXRObto77NWMEmH10tb4ZiLK0 P37Q0dQj9a+czbw4dC1mSkuIJle5grXMQSAwRJ3YjuiVjA9HQooKdQF6q3FCNcMM1yWt oOGYg3idMNnCLPiA/1PhdFbOqE5gQIJMeGJYpq4AKVORbF4JNR/UBc8AVEjQKBGqIulT pJBj8Uwhlu0WQiFNRYUkY5gtdT2FH3GvpQtmpukVsYaCk+c5svM120PZye3MFgPVWcnm bM/yQyLtf81DHfbTW23xMjSSMVp9r9M4nrcL2cH/61iQoNem58ymw07UyGTira8HNR0l DYCg== 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 u2si6179119ejr.332.2019.09.29.22.05.03; Sun, 29 Sep 2019 22:05:28 -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 S1727702AbfI3FCn (ORCPT + 99 others); Mon, 30 Sep 2019 01:02:43 -0400 Received: from mail.loongson.cn ([114.242.206.163]:53882 "EHLO mail.loongson.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725995AbfI3FCn (ORCPT ); Mon, 30 Sep 2019 01:02:43 -0400 X-Greylist: delayed 424 seconds by postgrey-1.27 at vger.kernel.org; Mon, 30 Sep 2019 01:02:41 EDT Received: from [10.20.41.27] (unknown [10.20.41.27]) by mail (Coremail) with SMTP id QMiowPDx_8e3ipFdQRcFAA--.36S3; Mon, 30 Sep 2019 12:55:19 +0800 (CST) To: bhelgaas@google.com Cc: zenglu@loongson.cn, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org From: Tiezhu Yang Subject: [PATCH] PCI: Add Loongson vendor ID and device IDs Message-ID: <279cbe32-a44b-3190-aaf7-a277a1220720@loongson.cn> Date: Mon, 30 Sep 2019 12:55:20 +0800 User-Agent: Mozilla/5.0 (X11; Linux mips64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-CM-TRANSID: QMiowPDx_8e3ipFdQRcFAA--.36S3 X-Coremail-Antispam: 1UD129KBjvJXoW7ZFW3KFWDAw4kXw1rAw1kXwb_yoW8WF43pr 1rZrZ3tF4xtFW7Zwn7trn8GrW3Aan0kry7ZFyagFWjqF17Xw48Jr1qvFs8ArW2qFs3X3yx ZF4DC3yFk3ZrJwUanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUU9jb7Iv0xC_tr1lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6r1S6rWUM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_JFI_Gr1l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM28EF7xvwV C2z280aVCY1x0267AKxVWxJr0_GcWle2I262IYc4CY6c8Ij28IcVAaY2xG8wAqx4xG64xv F2IEw4CE5I8CrVC2j2WlYx0EF7xvrVAajcxG14v26r1j6r4UMcIj6xIIjxv20xvE14v26r 1j6r18McIj6I8E87Iv67AKxVW8JVWxJwAm72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IY64vI r41lc7I2V7IY0VAS07AlzVAYIcxG8wCF04k20xvY0x0EwIxGrwCFx2IqxVCFs4IE7xkEbV WUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF 67kF1VAFwI0_JF0_Jw1lIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42 IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6rW3Jr0E3s1l IxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x0267AKxVW8JVW8JrUvcSsGvf C2KfnxnUUI43ZEXa7IU0cVy7UUUUU== X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the Loongson vendor ID and device IDs to pci_ids.h to be used 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 Co-developed-by: Lu Zeng Signed-off-by: Lu Zeng Signed-off-by: Tiezhu Yang --- include/linux/pci_ids.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 21a5724..119639d 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h @@ -3111,4 +3111,23 @@ #define PCI_VENDOR_ID_NCUBE 0x10ff +#define PCI_VENDOR_ID_LOONGSON 0x0014 +#define PCI_DEVICE_ID_LOONGSON_HT 0x7a00 +#define PCI_DEVICE_ID_LOONGSON_APB 0x7a02 +#define PCI_DEVICE_ID_LOONGSON_GMAC 0x7a03 +#define PCI_DEVICE_ID_LOONGSON_OTG 0x7a04 +#define PCI_DEVICE_ID_LOONGSON_GPU_2K1000 0x7a05 +#define PCI_DEVICE_ID_LOONGSON_DC 0x7a06 +#define PCI_DEVICE_ID_LOONGSON_HDA 0x7a07 +#define PCI_DEVICE_ID_LOONGSON_SATA 0x7a08 +#define PCI_DEVICE_ID_LOONGSON_PCIE_X1 0x7a09 +#define PCI_DEVICE_ID_LOONGSON_SPI 0x7a0b +#define PCI_DEVICE_ID_LOONGSON_LPC 0x7a0c +#define PCI_DEVICE_ID_LOONGSON_DMA 0x7a0f +#define PCI_DEVICE_ID_LOONGSON_EHCI 0x7a14 +#define PCI_DEVICE_ID_LOONGSON_GPU_7A1000 0x7a15 +#define PCI_DEVICE_ID_LOONGSON_PCIE_X4 0x7a19 +#define PCI_DEVICE_ID_LOONGSON_OHCI 0x7a24 +#define PCI_DEVICE_ID_LOONGSON_PCIE_X8 0x7a29 + #endif /* _LINUX_PCI_IDS_H */ -- 2.1.0