mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:57:45 +00:00
Kernel: Ensure IO and memory accesses are allowed for IDE channels
This commit is contained in:
parent
05510e3994
commit
161a8ea062
1 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,8 @@ UNMAP_AFTER_INIT IDEController::IDEController(PCI::Address address, bool force_p
|
||||||
: StorageController()
|
: StorageController()
|
||||||
, PCI::DeviceController(address)
|
, PCI::DeviceController(address)
|
||||||
{
|
{
|
||||||
|
PCI::enable_io_space(address);
|
||||||
|
PCI::enable_memory_space(address);
|
||||||
initialize(force_pio);
|
initialize(force_pio);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue