mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:37:35 +00:00
Kernel/Storage: Add support for non-bus mastering IDE controllers
Although unlikely to happen, a user can have an IDE controller that doesn't support bus master capability. If that's the case, we need to check for this, and create an IDEChannel (not BMIDEChannel) to allow IO operations with the controller.
This commit is contained in:
parent
833a6bd047
commit
8b446fb579
5 changed files with 40 additions and 24 deletions
|
@ -53,6 +53,8 @@ public:
|
|||
virtual void start_request(const StorageDevice&, AsyncBlockDeviceRequest&) override;
|
||||
virtual void complete_current_request(AsyncDeviceRequest::RequestResult) override;
|
||||
|
||||
bool is_bus_master_capable() const;
|
||||
|
||||
private:
|
||||
IDEController(PCI::Address address, bool force_pio);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue