[SCSI] hpsa: do not attempt to read from a write-only register
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Thu, 21 Jul 2011 18:16:05 +0000 (13:16 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 27 Jul 2011 11:18:26 +0000 (15:18 +0400)
commitfec62c368b9c8b05d5124ca6c3b8336b537f26f3
tree8fe8d2969939613c533c74582fc47c34c39cd811
parent8ead0bd175848729fc25415b840068e40b2998ad
[SCSI] hpsa: do not attempt to read from a write-only register

Most smartarrays tolerate it, but a few new ones don't.
Without this change some newer Smart Arrays will lock up
and i/o will grind to a halt.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Cc: stable@kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/hpsa.h