mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
Kernel: Add a method to gather the devices count of a Storage controller
Also, change device() method to be const.
This commit is contained in:
parent
e3b3805abf
commit
6a691306b5
Notes:
sideshowbarker
2024-07-19 00:42:13 +09:00
Author: https://github.com/supercomputer7
Commit: 6a691306b5
Pull-request: https://github.com/SerenityOS/serenity/pull/4462
5 changed files with 19 additions and 7 deletions
|
@ -108,8 +108,8 @@ public:
|
|||
IDEChannel(const IDEController&, IOAddressGroup, ChannelType type, bool force_pio);
|
||||
virtual ~IDEChannel() override;
|
||||
|
||||
RefPtr<StorageDevice> master_device();
|
||||
RefPtr<StorageDevice> slave_device();
|
||||
RefPtr<StorageDevice> master_device() const;
|
||||
RefPtr<StorageDevice> slave_device() const;
|
||||
|
||||
virtual const char* purpose() const override { return "PATA Channel"; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue