summaryrefslogtreecommitdiff
path: root/Kernel/Devices/PATADiskDevice.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-02-08 02:17:26 +0100
committerAndreas Kling <kling@serenityos.org>2020-02-08 02:20:03 +0100
commit88ea152b2425338ad0ad9a199590f396590f7b5a (patch)
tree168518e8f49cf651273aac98a8e85285ea058664 /Kernel/Devices/PATADiskDevice.h
parent6be880bd10dce91114706704aa8f1f27bbdce89f (diff)
downloadserenity-88ea152b2425338ad0ad9a199590f396590f7b5a.zip
Kernel: Merge unnecessary DiskDevice class into BlockDevice
Diffstat (limited to 'Kernel/Devices/PATADiskDevice.h')
-rw-r--r--Kernel/Devices/PATADiskDevice.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Kernel/Devices/PATADiskDevice.h b/Kernel/Devices/PATADiskDevice.h
index 086c6d8467..54cbb6f9c5 100644
--- a/Kernel/Devices/PATADiskDevice.h
+++ b/Kernel/Devices/PATADiskDevice.h
@@ -30,13 +30,13 @@
//
#pragma once
-#include <Kernel/Devices/DiskDevice.h>
+#include <Kernel/Devices/BlockDevice.h>
#include <Kernel/IRQHandler.h>
#include <Kernel/Lock.h>
class PATAChannel;
-class PATADiskDevice final : public DiskDevice {
+class PATADiskDevice final : public BlockDevice {
AK_MAKE_ETERNAL
public:
// Type of drive this IDEDiskDevice is on the ATA channel.
@@ -53,8 +53,6 @@ public:
virtual ~PATADiskDevice() override;
// ^DiskDevice
- virtual bool read_block(unsigned index, u8*) const override;
- virtual bool write_block(unsigned index, const u8*) override;
virtual bool read_blocks(unsigned index, u16 count, u8*) override;
virtual bool write_blocks(unsigned index, u16 count, const u8*) override;