kernel: Warn if no ATA controller is found
This commit is contained in:
parent
d9a1e8a980
commit
e8507d23ee
@ -23,6 +23,8 @@ namespace ATA
|
||||
},
|
||||
{ .klass = 1, .subclass = 1 });
|
||||
|
||||
if (!g_controller) kwarnln("ata: No ATA controller found.");
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user