From 2fdb9351602f89599b9459e08b5123fdd342e8e6 Mon Sep 17 00:00:00 2001 From: Daniel Markstedt Date: Sun, 22 Jan 2023 22:19:39 -0800 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 a7d7c48..94061a7 100644 --- a/Rules-for-adding-new-device-types.md +++ b/Rules-for-adding-new-device-types.md @@ -2,7 +2,7 @@ Before adding a new device type check that none of the existing types is appropr Steps for adding a new device type: -1. Add the device type to the PbDeviceType enum of the protobuf definition in `rascsi_interface.proto`. +1. Add the device type to the PbDeviceType enum of the protobuf definition in `piscsi_interface.proto`. 2. Add code for creating the device type to the DeviceFactory class in `devices/device_factory.cpp`. 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 and supported SCSI commands in the Init() method.