Kernel: Disable devfs device add/remove logging

This commit is contained in:
2026-05-17 03:23:38 +03:00
parent d7865b2929
commit ef2738bfb7
2 changed files with 4 additions and 2 deletions

View File

@@ -49,6 +49,8 @@
#define DEBUG_VTTY 1
#define DEBUG_DEVFS 0
#define DEBUG_PCI 0
#define DEBUG_SCHEDULER 0
#define DEBUG_PS2 1

View File

@@ -153,7 +153,7 @@ namespace Kernel
MUST(static_cast<TmpDirectoryInode*>(root_inode().ptr())->link_inode(*device, device->name()));
MUST(m_devices.push_back(device));
dprintln("Added device /dev/{}", device->name());
dprintln_if(DEBUG_DEVFS, "Added device /dev/{}", device->name());
}
void DevFileSystem::remove_device(BAN::RefPtr<Device> device)
@@ -170,7 +170,7 @@ namespace Kernel
}
}
dprintln("Removed device /dev/{}", device->name());
dprintln_if(DEBUG_DEVFS, "Removed device /dev/{}", device->name());
}
void DevFileSystem::add_inode(BAN::StringView path, BAN::RefPtr<TmpInode> inode)