Clarify which files things are in

joshua stein 2022-03-22 11:46:57 -07:00
parent e14b1eb44b
commit 309256521c
1 changed files with 2 additions and 2 deletions

@ -2,8 +2,8 @@ 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.
2. Add code for creating the device type to the DeviceFactory class. The device instance and all devices-specific properties have to be created by this class.
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 devices-specific properties have to be created by this class.
3. Add the device type specific implementation in new .cpp/.h files.
4. Ensure to initialize the device type with its device type properties.
5. Verify that _rasctl -s_ reports the correct device type properties.