summaryrefslogtreecommitdiff
path: root/drivers/scsi/pm8001/pm8001_hwi.h
diff options
context:
space:
mode:
authorjack wang <jack_wang@usish.com>2009-12-07 17:22:47 +0800
committerJames Bottomley <James.Bottomley@suse.de>2009-12-10 10:02:22 -0600
commitafc5ca9ddc6c223dbea8a2f8816a88b21a0883b5 (patch)
tree776fa8c54e07ed3ad5b5c23b92f14db4e3822101 /drivers/scsi/pm8001/pm8001_hwi.h
parent1cc943ae5003e4612a73119cb6fb637a45c2714d (diff)
downloadlwn-afc5ca9ddc6c223dbea8a2f8816a88b21a0883b5.tar.gz
lwn-afc5ca9ddc6c223dbea8a2f8816a88b21a0883b5.zip
[SCSI] pm8001: fix endian issues with SAS address
Signed-off-by: Jack Wang <jack_wang@usish.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/pm8001/pm8001_hwi.h')
-rw-r--r--drivers/scsi/pm8001/pm8001_hwi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/pm8001/pm8001_hwi.h b/drivers/scsi/pm8001/pm8001_hwi.h
index 96e4daa68b8f..833a5201eda4 100644
--- a/drivers/scsi/pm8001/pm8001_hwi.h
+++ b/drivers/scsi/pm8001/pm8001_hwi.h
@@ -242,8 +242,7 @@ struct reg_dev_req {
__le32 phyid_portid;
__le32 dtype_dlr_retry;
__le32 firstburstsize_ITNexustimeout;
- u32 sas_addr_hi;
- u32 sas_addr_low;
+ u8 sas_addr[SAS_ADDR_SIZE];
__le32 upper_device_id;
u32 reserved[8];
} __attribute__((packed, aligned(4)));