From f64e287b82fceb81c843bdaf6bad4e608330ae60 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Boric Date: Thu, 21 Jan 2021 18:49:56 +0100 Subject: Kernel: Make device generate their own names Besides removing the monolithic DevFSDeviceInode::determine_name() method, being able to determine a device's name inside the /dev hierarchy outside of DevFS has its uses. --- Kernel/Storage/PATADiskDevice.h | 1 + 1 file changed, 1 insertion(+) (limited to 'Kernel/Storage/PATADiskDevice.h') diff --git a/Kernel/Storage/PATADiskDevice.h b/Kernel/Storage/PATADiskDevice.h index fa19186c6a..f3eeef60bf 100644 --- a/Kernel/Storage/PATADiskDevice.h +++ b/Kernel/Storage/PATADiskDevice.h @@ -61,6 +61,7 @@ public: // ^BlockDevice virtual void start_request(AsyncBlockDeviceRequest&) override; + virtual String device_name() const override; private: PATADiskDevice(const IDEController&, IDEChannel&, DriveType, u8, u8, u8, int major, int minor); -- cgit v1.2.3