summaryrefslogtreecommitdiff
path: root/Kernel/Storage/BMIDEChannel.cpp
diff options
context:
space:
mode:
authorGunnar Beutner <gbeutner@serenityos.org>2021-06-27 21:59:48 +0200
committerAndreas Kling <kling@serenityos.org>2021-06-28 15:55:00 +0200
commita0c1af4327617eea3c9fe213ba2483bdfe119da3 (patch)
treee6dd42acf96857a3bf96f5df464ad3980a32f7a3 /Kernel/Storage/BMIDEChannel.cpp
parent32840dfa17494f15f9a77ecde9e2cfa8f198dcff (diff)
downloadserenity-a0c1af4327617eea3c9fe213ba2483bdfe119da3.zip
Kernel: Specify I/O size for BMIDEChannel
Diffstat (limited to 'Kernel/Storage/BMIDEChannel.cpp')
-rw-r--r--Kernel/Storage/BMIDEChannel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Storage/BMIDEChannel.cpp b/Kernel/Storage/BMIDEChannel.cpp
index 4636300699..cbbb6ecced 100644
--- a/Kernel/Storage/BMIDEChannel.cpp
+++ b/Kernel/Storage/BMIDEChannel.cpp
@@ -212,7 +212,7 @@ void BMIDEChannel::ata_read_sectors(bool slave_request, u16 capabilities)
m_io_group.bus_master_base().value().out<u8>(0);
// Write the PRDT location
- m_io_group.bus_master_base().value().offset(4).out(m_prdt_page->paddr().get());
+ m_io_group.bus_master_base().value().offset(4).out<u32>(m_prdt_page->paddr().get());
// Set transfer direction
m_io_group.bus_master_base().value().out<u8>(0x8);