ATA: Mark the CDROM as a block device
This commit is contained in:
parent
bb0db450b3
commit
a3beaa4d53
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user