[SCSI] ipr: fix mailbox register definition and add a delay before reading
authorWayne Boyer <wayneb@linux.vnet.ibm.com>
Thu, 4 Nov 2010 16:36:16 +0000 (09:36 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:23:55 +0000 (12:23 -0600)
commit110def851fc823bb1a4584cb6308e30e5ffb3e05
tree208db8f5e55a06996215cb60ee8b75a257be8426
parent0cb992eda1f7e7672775032378690baa87c0e13d
[SCSI] ipr: fix mailbox register definition and add a delay before reading

The definition for the mailbox register for new adapters was incorrect.  The
value has been updated to the correct offset.

After an adapter reset, the mailbox register on the new adapters takes a
number of seconds to stabilize.  A delay has been added before reading the
register.

Signed-off-by: Wayne Boyer <wayneb@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/ipr.c
drivers/scsi/ipr.h