summaryrefslogtreecommitdiff
path: root/Kernel/Bus
diff options
context:
space:
mode:
authorMarco Cutecchia <marco.cutecchia@outlook.it>2023-03-23 21:31:01 +0100
committerAndrew Kaster <andrewdkaster@gmail.com>2023-04-02 12:43:17 -0600
commit5fe6c6fc2431fcc1f1690d5af949a425f6c89884 (patch)
treef06805c0eed79da0dcca7016283f47b5d0cb51de /Kernel/Bus
parent47cae8005f1f9a43154d7d830d7ff6edc0f6f301 (diff)
downloadserenity-5fe6c6fc2431fcc1f1690d5af949a425f6c89884.zip
Kernel: Add support for SD host controllers on the PCI bus
Diffstat (limited to 'Kernel/Bus')
-rw-r--r--Kernel/Bus/PCI/Definitions.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/Kernel/Bus/PCI/Definitions.h b/Kernel/Bus/PCI/Definitions.h
index 58744cecc6..8a5bf8d8dd 100644
--- a/Kernel/Bus/PCI/Definitions.h
+++ b/Kernel/Bus/PCI/Definitions.h
@@ -84,6 +84,7 @@ enum class ClassID {
MassStorage = 0x1,
Multimedia = 0x4,
Bridge = 0x6,
+ Base = 0x8,
};
namespace MassStorage {
@@ -116,6 +117,14 @@ enum class SubclassID {
}
+namespace Base {
+
+enum class SubclassID {
+ SDHostController = 0x5,
+};
+
+}
+
AK_TYPEDEF_DISTINCT_ORDERED_ID(u8, CapabilityID);
namespace Capabilities {