mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:17:34 +00:00
Kernel: Add a method to check the type of a StorageController
Also, the device method in the StorageController class is public now.
This commit is contained in:
parent
28599af387
commit
e3b3805abf
2 changed files with 8 additions and 1 deletions
|
@ -44,6 +44,7 @@ public:
|
|||
static NonnullRefPtr<IDEController> initialize(PCI::Address address, bool force_pio);
|
||||
virtual ~IDEController() override;
|
||||
|
||||
virtual Type type() const override { return Type::IDE; }
|
||||
virtual RefPtr<StorageDevice> device(u32 index) override;
|
||||
virtual bool reset() override;
|
||||
virtual bool shutdown() override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue