mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:28:11 +00:00
Kernel: Move PCI vendor and device IDs into Kernel/PCI/IDs.h
This commit is contained in:
parent
eaf8fc90e7
commit
bf703ee553
6 changed files with 27 additions and 12 deletions
21
Kernel/PCI/IDs.h
Normal file
21
Kernel/PCI/IDs.h
Normal file
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* 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,
|
||||
};
|
||||
|
||||
enum class PCIDeviceID {
|
||||
VirtIOConsole = 0x1003,
|
||||
VirtIOEntropy = 0x1005,
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue