From bb9331b8eeb657b2492b1de2fa5c14968e70ec40 Mon Sep 17 00:00:00 2001 From: Uwe Seimet <48174652+uweseimet@users.noreply.github.com> Date: Sat, 9 Apr 2022 10:11:35 +0200 Subject: [PATCH] Updated Rules for adding new device types (markdown) --- Rules-for-adding-new-device-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rules-for-adding-new-device-types.md b/Rules-for-adding-new-device-types.md index ece32ae..3132054 100644 --- a/Rules-for-adding-new-device-types.md +++ b/Rules-for-adding-new-device-types.md @@ -4,7 +4,7 @@ Steps for adding a new device type: 1. Add the device type to the PbDeviceType enum of the protobuf definition in `rascsi_interface.proto`. 2. Add code for creating the device type to the DeviceFactory class in `devices/device_factory.cpp`. The device instance and all device-specific properties have to be created by this class. -3. Add the device type specific implementation in new .cpp/.h files. +3. Add the device type specific implementation in new .cpp/.h files located in the devices folder. 4. Ensure to initialize the device type with its device type properties. 5. Verify that _rasctl -s_ reports the correct device type properties. 6. Update the manpages.