aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ipr.h
diff options
context:
space:
mode:
authorWayne Boyer <wayneb@linux.vnet.ibm.com>2010-05-10 12:14:07 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-05-24 12:11:05 -0400
commit7be96900a2a662c67403559acd250f011b1d70db (patch)
treef7d3aa2ffb317f35fea7e37dd0982bb140dde3c9 /drivers/scsi/ipr.h
parent96d21f00ab59c9f27fad191d12a2ccfeff3c9108 (diff)
[SCSI] ipr: fix a register read to use the correct address for 64 bit adapters
Fix ipr_reset_enable_ioa() to read the correct IOA to host interrupt register address for 64 bit adapters. We need to read the lower 32 bits, not the upper 32 bits. Also change the write of the 64 bit mask value to a single writeq instead of two writel calls. Finally, use the correct u8 type for the type field in the ipr_resource_entry structure. 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>
Diffstat (limited to 'drivers/scsi/ipr.h')
-rw-r--r--drivers/scsi/ipr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h
index f8a17d88db84..9ecd2259eb39 100644
--- a/drivers/scsi/ipr.h
+++ b/drivers/scsi/ipr.h
@@ -1201,7 +1201,7 @@ struct ipr_resource_entry {
1201 u8 flags; 1201 u8 flags;
1202 __be16 res_flags; 1202 __be16 res_flags;
1203 1203
1204 __be32 type; 1204 u8 type;
1205 1205
1206 u8 qmodel; 1206 u8 qmodel;
1207 struct ipr_std_inq_data std_inq_data; 1207 struct ipr_std_inq_data std_inq_data;