]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: scsi_debug: Divide power on reset UNIT ATTENTION
authorDouglas Gilbert <dgilbert@interlog.com>
Sun, 9 Jan 2022 01:28:49 +0000 (20:28 -0500)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 25 Jan 2022 05:25:05 +0000 (00:25 -0500)
commit7174b3c68012cbd2735df69156ef7a116706ed28
tree1ef80db38fcf467147f88e0c3fca53b4cf5e163a
parent1d05c32dafb51a15acf95f3c8a4adfc367e755e4
scsi: scsi_debug: Divide power on reset UNIT ATTENTION

To distinguish between resets sent by the SCSI mid-level error
handling and newly introduced devices (LUs), this Unit Attention:

   power on, reset, or bus reset occurred [0x29,0x0]

has been subdivided into that UA for the reset case and this new UA:

   power on occurred [0x29,0x1]

for the new device (LU) case. This makes debug a little easier to follow
when it is turned on (e.g. 'echo 0x1 > opts').

Bump driver version number.

Link: https://lore.kernel.org/r/20220109012853.301953-6-dgilbert@interlog.com
Signed-off-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_debug.c