From 2eab54201c8258d53643a2c2eeb504c8218f3a62 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 26 Apr 2010 15:42:34 +0000 Subject: [PATCH] Added SetDeviceCapacity() method. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36493 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/device_manager/IOScheduler.cpp | 6 ++++++ src/system/kernel/device_manager/IOScheduler.h | 2 ++ 2 files changed, 8 insertions(+) diff --git a/src/system/kernel/device_manager/IOScheduler.cpp b/src/system/kernel/device_manager/IOScheduler.cpp index 53f60ab4bd..7bcd975bd1 100644 --- a/src/system/kernel/device_manager/IOScheduler.cpp +++ b/src/system/kernel/device_manager/IOScheduler.cpp @@ -60,3 +60,9 @@ IOScheduler::SetCallback(io_callback callback, void* data) fIOCallback = callback; fIOCallbackData = data; } + + +void +IOScheduler::SetDeviceCapacity(off_t deviceCapacity) +{ +} diff --git a/src/system/kernel/device_manager/IOScheduler.h b/src/system/kernel/device_manager/IOScheduler.h index a8352744d4..6c03ebae26 100644 --- a/src/system/kernel/device_manager/IOScheduler.h +++ b/src/system/kernel/device_manager/IOScheduler.h @@ -45,6 +45,8 @@ public: virtual void SetCallback(IOCallback& callback); virtual void SetCallback(io_callback callback, void* data); + virtual void SetDeviceCapacity(off_t deviceCapacity); + virtual status_t ScheduleRequest(IORequest* request) = 0; virtual void AbortRequest(IORequest* request,