summaryrefslogtreecommitdiff
path: root/Kernel/Bus/PCI/IDs.h
diff options
context:
space:
mode:
authorLiav A <liavalb@gmail.com>2021-06-25 09:46:17 +0300
committerAndreas Kling <kling@serenityos.org>2021-07-02 13:16:12 +0200
commit6568bb47cb6b3ad7ca0c15948ce1a279792d92de (patch)
treefa0ca59a4974e241d3bc789382c41ce699fba3bc /Kernel/Bus/PCI/IDs.h
parent26e9140ea14d3529f42e64e472e2ff6c4dd907bd (diff)
downloadserenity-6568bb47cb6b3ad7ca0c15948ce1a279792d92de.zip
Kernel/PCI: Move the PCI components as a subfolder to the Bus directory
Diffstat (limited to 'Kernel/Bus/PCI/IDs.h')
-rw-r--r--Kernel/Bus/PCI/IDs.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/Kernel/Bus/PCI/IDs.h b/Kernel/Bus/PCI/IDs.h
new file mode 100644
index 0000000000..8f125f80e4
--- /dev/null
+++ b/Kernel/Bus/PCI/IDs.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2021, Gunnar Beutner <gbeutner@serenityos.org>
+ *
+ * SPDX-License-Identifier: BSD-2-Clause
+ */
+
+#pragma once
+
+namespace Kernel {
+
+enum class PCIVendorID {
+ VirtIO = 0x1af4,
+ Intel = 0x8086,
+ WCH = 0x1c00,
+ RedHat = 0x1b36,
+ Realtek = 0x10ec
+};
+
+enum class PCIDeviceID {
+ VirtIOConsole = 0x1003,
+ VirtIOEntropy = 0x1005,
+ VirtIOGPU = 0x1050,
+};
+}