aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci_ids.h
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2020-03-10 20:50:07 +0800
committerJens Axboe <axboe@kernel.dk>2020-03-12 07:44:17 -0600
commit9acb9fe18d863aacc99948963f8d5d447dc311be (patch)
tree18e9414cbf230707bced551bfcf2b2a39f7e793c /include/linux/pci_ids.h
parentlibata: transport: Use scnprintf() for avoiding potential buffer overflow (diff)
downloadlinux-dev-9acb9fe18d863aacc99948963f8d5d447dc311be.tar.xz
linux-dev-9acb9fe18d863aacc99948963f8d5d447dc311be.zip
PCI: Add Loongson vendor ID
Add the Loongson vendor ID to pci_ids.h to be used by the controller driver in the future. The Loongson vendor ID 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 <yangtiezhu@loongson.cn> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/pci_ids.h')
-rw-r--r--include/linux/pci_ids.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h
index 352c0d708720..977e66875a96 100644
--- a/include/linux/pci_ids.h
+++ b/include/linux/pci_ids.h
@@ -148,6 +148,8 @@
/* Vendors and devices. Sort key: vendor first, device next. */
+#define PCI_VENDOR_ID_LOONGSON 0x0014
+
#define PCI_VENDOR_ID_TTTECH 0x0357
#define PCI_DEVICE_ID_TTTECH_MC322 0x000a