Kernel: Ensure IO and memory accesses are allowed for IDE channels

This commit is contained in:
Liav A
2021-04-25 21:04:41 +03:00
committed by Andreas Kling
parent 05510e3994
commit 161a8ea062

View File

@@ -53,6 +53,8 @@ UNMAP_AFTER_INIT IDEController::IDEController(PCI::Address address, bool force_p
: StorageController()
, PCI::DeviceController(address)
{
PCI::enable_io_space(address);
PCI::enable_memory_space(address);
initialize(force_pio);
}