1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:18:13 +00:00

Clean up some uninteresting log spam.

This commit is contained in:
Andreas Kling 2019-02-06 11:32:23 +01:00
parent 39c3b117c9
commit 353b191a49
8 changed files with 6 additions and 16 deletions

View file

@ -154,7 +154,7 @@ void IDEDiskDevice::initialize()
m_sectors_per_track = wbufbase[6];
kprintf(
"ide0: Master=\"%s\", C/H/Spt=%u/%u/%u\n",
"IDEDiskDevice: Master=\"%s\", C/H/Spt=%u/%u/%u\n",
bbuf.pointer() + 54,
m_cylinders,
m_heads,
@ -187,7 +187,7 @@ bool IDEDiskDevice::read_sectors(dword start_sector, word count, byte* outbuf)
while (IO::in8(IDE0_STATUS) & BUSY);
#ifdef DISK_DEBUG
kprintf("ide0: Reading %u sector(s) @ LBA %u (%u/%u/%u)\n", count, start_sector, chs.cylinder, chs.head, chs.sector);
kprintf("IDEDiskDevice: Reading %u sector(s) @ LBA %u (%u/%u/%u)\n", count, start_sector, chs.cylinder, chs.head, chs.sector);
#endif
IO::out8(0x1F2, count == 256 ? 0 : LSB(count));