kernel: Warn if no ATA controller is found

This commit is contained in:
apio 2023-05-11 19:27:05 +02:00
parent d9a1e8a980
commit e8507d23ee
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -23,6 +23,8 @@ namespace ATA
}, },
{ .klass = 1, .subclass = 1 }); { .klass = 1, .subclass = 1 });
if (!g_controller) kwarnln("ata: No ATA controller found.");
return {}; return {};
} }