ATA: Mark the CDROM as a block device

This commit is contained in:
apio 2023-05-26 20:29:31 +02:00
parent bb0db450b3
commit a3beaa4d53
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -296,6 +296,11 @@ class ATADevice : public Device
return false;
}
bool is_block_device() const override
{
return true;
}
usize size() const override
{
return m_drive->capacity();