diff --git a/kernel/src/arch/x86_64/disk/ATA.cpp b/kernel/src/arch/x86_64/disk/ATA.cpp index e28ec535..7e2050c0 100644 --- a/kernel/src/arch/x86_64/disk/ATA.cpp +++ b/kernel/src/arch/x86_64/disk/ATA.cpp @@ -727,7 +727,7 @@ Result ATADevice::create(SharedPtr drive) { auto device = TRY(adopt_shared_if_nonnull(new (std::nothrow) ATADevice())); device->m_drive = drive; - return DeviceRegistry::register_special_device(DeviceRegistry::Disk, next_minor++, device); + return DeviceRegistry::register_special_device(DeviceRegistry::Disk, next_minor++, device, "cdrom", 0400); } Result ATADevice::read(u8* buf, usize offset, usize size) const