ATA: Mark the CDROM as a block device
This commit is contained in:
parent
dd439fa2c6
commit
7912281f3e
@ -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