Name

scsi_host_set_state — Take the given host through the host state model.

Synopsis

int scsi_host_set_state (struct Scsi_Host * shost,
 enum scsi_host_state state);
 

Arguments

struct Scsi_Host * shost

scsi host to change the state of.

enum scsi_host_state state

state to change to.

Description

Returns zero if unsuccessful or an error if the requested transition is illegal.