scsi_device_set_state(9)

scsi_device_set_state9

Take the given device through the device state model.

Usage

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.

Overview

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

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

Authors

James Bottomley <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.