SYNOPSIS

int scsi_device_set_state(struct scsi_device * sdev, enum scsi_device_state state);

ARGUMENTS

sdev

scsi device to change the state of.

state

state to change to.

DESCRIPTION

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

AUTHORS

James Bottomley <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

COPYRIGHT