aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ipr.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/ipr.h')
-rw-r--r--drivers/scsi/ipr.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h
index b965f3587c9d..ea391ffc8711 100644
--- a/drivers/scsi/ipr.h
+++ b/drivers/scsi/ipr.h
@@ -996,7 +996,7 @@ struct ipr_hostrcb64_fabric_desc {
996 __be16 length; 996 __be16 length;
997 u8 descriptor_id; 997 u8 descriptor_id;
998 998
999 u8 reserved; 999 u8 reserved[2];
1000 u8 path_state; 1000 u8 path_state;
1001 1001
1002 u8 reserved2[2]; 1002 u8 reserved2[2];
@@ -1054,7 +1054,7 @@ struct ipr_hostrcb64_error {
1054 __be64 fd_lun; 1054 __be64 fd_lun;
1055 u8 fd_res_path[8]; 1055 u8 fd_res_path[8];
1056 __be64 time_stamp; 1056 __be64 time_stamp;
1057 u8 reserved[2]; 1057 u8 reserved[16];
1058 union { 1058 union {
1059 struct ipr_hostrcb_type_ff_error type_ff_error; 1059 struct ipr_hostrcb_type_ff_error type_ff_error;
1060 struct ipr_hostrcb_type_12_error type_12_error; 1060 struct ipr_hostrcb_type_12_error type_12_error;
@@ -1254,6 +1254,9 @@ struct ipr_interrupt_offsets {
1254 1254
1255 unsigned long dump_addr_reg; 1255 unsigned long dump_addr_reg;
1256 unsigned long dump_data_reg; 1256 unsigned long dump_data_reg;
1257
1258#define IPR_ENDIAN_SWAP_KEY 0x000C0C00
1259 unsigned long endian_swap_reg;
1257}; 1260};
1258 1261
1259struct ipr_interrupts { 1262struct ipr_interrupts {
@@ -1279,6 +1282,8 @@ struct ipr_interrupts {
1279 1282
1280 void __iomem *dump_addr_reg; 1283 void __iomem *dump_addr_reg;
1281 void __iomem *dump_data_reg; 1284 void __iomem *dump_data_reg;
1285
1286 void __iomem *endian_swap_reg;
1282}; 1287};
1283 1288
1284struct ipr_chip_cfg_t { 1289struct ipr_chip_cfg_t {