summaryrefslogtreecommitdiff
path: root/Kernel/Storage/IDEChannel.cpp
diff options
context:
space:
mode:
authorasynts <asynts@gmail.com>2021-01-09 18:51:44 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-09 21:11:09 +0100
commit938e5c7719ee546538bdfc44339b6c561b45edc9 (patch)
tree098bcb7d707e3a5e747eb5d5bc7381bb2146d67a /Kernel/Storage/IDEChannel.cpp
parent40b8e2111595affb0a6ad8eb643c8f730f7a3c77 (diff)
downloadserenity-938e5c7719ee546538bdfc44339b6c561b45edc9.zip
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.Everything: The modifications in this commit were automatically made using the following command: find . -name '*.cpp' -exec sed -i -E 's/dbg\(\) << ("[^"{]*");/dbgln\(\1\);/' {} \;
Diffstat (limited to 'Kernel/Storage/IDEChannel.cpp')
-rw-r--r--Kernel/Storage/IDEChannel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Storage/IDEChannel.cpp b/Kernel/Storage/IDEChannel.cpp
index 49e4e6dfd5..db40aeea54 100644
--- a/Kernel/Storage/IDEChannel.cpp
+++ b/Kernel/Storage/IDEChannel.cpp
@@ -147,7 +147,7 @@ void IDEChannel::start_request(AsyncBlockDeviceRequest& request, bool use_dma, b
{
ScopedSpinLock lock(m_request_lock);
#ifdef PATA_DEBUG
- dbg() << "IDEChannel::start_request";
+ dbgln("IDEChannel::start_request");
#endif
m_current_request = &request;
m_current_request_block_index = 0;
@@ -246,7 +246,7 @@ void IDEChannel::handle_irq(const RegisterState&)
if (!m_current_request) {
#ifdef PATA_DEBUG
- dbg() << "IDEChannel: IRQ but no pending request!";
+ dbgln("IDEChannel: IRQ but no pending request!");
#endif
return;
}
@@ -444,7 +444,7 @@ void IDEChannel::ata_read_sectors(bool slave_request)
auto& request = *m_current_request;
ASSERT(request.block_count() <= 256);
#ifdef PATA_DEBUG
- dbg() << "IDEChannel::ata_read_sectors";
+ dbgln("IDEChannel::ata_read_sectors");
#endif
while (m_io_group.io_base().offset(ATA_REG_STATUS).in<u8>() & ATA_SR_BSY)