1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:37:35 +00:00

Kernel: Const defines for PCI IDs for storage controllers

This commit is contained in:
panky-codes 2021-08-15 16:34:48 +02:00 committed by Andreas Kling
parent a9cbdcbcd0
commit 1b093c8b48
2 changed files with 8 additions and 2 deletions

View file

@ -52,6 +52,12 @@ namespace Kernel {
#define PCI_CAPABILITY_VENDOR_SPECIFIC 0x9
#define PCI_CAPABILITY_MSIX 0x11
// Taken from https://pcisig.com/sites/default/files/files/PCI_Code-ID_r_1_11__v24_Jan_2019.pdf
#define PCI_MASS_STORAGE_CLASS_ID 0x1
#define PCI_IDE_CTRL_SUBCLASS_ID 0x1
#define PCI_SATA_CTRL_SUBCLASS_ID 0x6
#define PCI_AHCI_IF_PROGIF 0x1
namespace PCI {
struct ID {
u16 vendor_id { 0 };