scsi: Fix SCSI bus reset
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 6 Jul 2010 08:58:03 +0000 (10:58 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Tue, 6 Jul 2010 15:36:27 +0000 (10:36 -0500)
commit680a34eeb8f2d455121c67697fca146440e61612
tree15fa978d5287cdf45ca44884afa7922a8499fcef
parent262ea18e890d51b8f86157f8e4aeb162b9ef2ad8
scsi: Fix SCSI bus reset

When the controller raises the SCSI reset line, we have to perform the
requested reset on all disks attached to the controller's bus. Moreover,
reset is edge triggered, so avoid repeating it if the line was already
high.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/lsi53c895a.c