From 34f62ae2dd8c77cee1f0f3680caf407b1be6b350 Mon Sep 17 00:00:00 2001 From: Amlal Date: Sat, 22 Feb 2025 08:45:43 +0100 Subject: New DeviceMgr, other APIs have been reworked as a result. AHCI becomes the first module to be available in StorageKit. Signed-off-by: Amlal --- dev/Kernel/src/Storage/ATADeviceInterface.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dev/Kernel/src/Storage/ATADeviceInterface.cc') diff --git a/dev/Kernel/src/Storage/ATADeviceInterface.cc b/dev/Kernel/src/Storage/ATADeviceInterface.cc index 4223e9f9..9f1a0068 100644 --- a/dev/Kernel/src/Storage/ATADeviceInterface.cc +++ b/dev/Kernel/src/Storage/ATADeviceInterface.cc @@ -13,8 +13,8 @@ using namespace NeOS; /// @param In Drive input /// @param Cleanup Drive cleanup. ATADeviceInterface::ATADeviceInterface( - void (*Out)(MountpointInterface* outpacket), - void (*In)(MountpointInterface* inpacket), + void (*Out)(IDeviceObject*, MountpointInterface* outpacket), + void (*In)(IDeviceObject*, MountpointInterface* inpacket), void (*Cleanup)(void)) : IDeviceObject(Out, In), fCleanup(Cleanup) { @@ -32,7 +32,7 @@ ATADeviceInterface::~ATADeviceInterface() /// @return it's name as a string. const Char* ATADeviceInterface::Name() const { - return "ATADeviceInterface"; + return "/dev/hda{}"; } /// @brief Output operator. -- cgit v1.2.3