register_controller registers a new controller with the NVM subsystem using the specified controller ID. Returns 0 on success, or a negative error code on failure.
Parameters: - cntid: The controller identifier to register - controller: The controller object to register
get_all_controllers retrieves a list of all controllers currently registered with the NVM subsystem. Returns an attribute value containing the list of controller identifiers. The caller must free the returned attribute.
SIM_INTERFACE(nvm_subsystem_controller_management)
{
int (*register_controller)(conf_object_t *obj, uint16 cntid,
conf_object_t *controller);
attr_value_t (*get_all_controllers)(conf_object_t *obj);
};
#define NVM_SUBSYSTEM_CONTROLLER_MANAGEMENT_INTERFACE "nvm_subsystem_controller_management"