1SCSI_DEVICE_SET_STAT(9) SCSI mid layer SCSI_DEVICE_SET_STAT(9)
2
3
4
6 scsi_device_set_state - Take the given device through the device state
7 model.
8
10 int scsi_device_set_state(struct scsi_device * sdev,
11 enum scsi_device_state state);
12
14 sdev
15 scsi device to change the state of.
16
17 state
18 state to change to.
19
21 Returns zero if unsuccessful or an error if the requested transition is
22 illegal.
23
25 James Bottomley <James.Bottomley@hansenpartnership.com>
26 Author.
27
28 Rob Landley <rob@landley.net>
29 Author.
30
32Kernel Hackers Manual 2.6. November 2011 SCSI_DEVICE_SET_STAT(9)