other versions
SCSI_HOST_SET_STATE(9) | SCSI mid layer | SCSI_HOST_SET_STATE(9) |
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.
AUTHORS¶
James Bottomley <James.Bottomley@hansenpartnership.com>
Author.
Rob Landley <rob@landley.net>
Author.
COPYRIGHT¶
June 2017 | Kernel Hackers Manual 4.11 |