Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1317170

[RESEND PATCH v2 06/23] hisi_sas: rename some fields in hisi_sas_itct

From John Garry <john.garry@huawei.com>
Newsgroups linux.kernel
Subject [RESEND PATCH v2 06/23] hisi_sas: rename some fields in hisi_sas_itct
Date 2016-01-25 19:40 +0100
Message-ID <qUUdt-88K-55@gated-at.bofh.it> (permalink)
References <qUUds-88K-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Since hisi_sas_itct format is different between v1
and v2 hw, give more general names for some fields.

Signed-off-by: John Garry <john.garry@huawei.com>
---
 drivers/scsi/hisi_sas/hisi_sas.h | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/drivers/scsi/hisi_sas/hisi_sas.h b/drivers/scsi/hisi_sas/hisi_sas.h
index e5a58c5..b2e4b26 100644
--- a/drivers/scsi/hisi_sas/hisi_sas.h
+++ b/drivers/scsi/hisi_sas/hisi_sas.h
@@ -248,18 +248,7 @@ struct hisi_sas_itct {
 	__le64 sas_addr;
 	__le64 qw2;
 	__le64 qw3;
-	__le64 qw4;
-	__le64 qw_sata_ncq0_3;
-	__le64 qw_sata_ncq7_4;
-	__le64 qw_sata_ncq11_8;
-	__le64 qw_sata_ncq15_12;
-	__le64 qw_sata_ncq19_16;
-	__le64 qw_sata_ncq23_20;
-	__le64 qw_sata_ncq27_24;
-	__le64 qw_sata_ncq31_28;
-	__le64 qw_non_ncq_iptt;
-	__le64 qw_rsvd0;
-	__le64 qw_rsvd1;
+	__le64 qw4_15[12];
 };
 
 struct hisi_sas_iost {
-- 
1.9.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RESEND PATCH v2 00/23] HiSilicon SAS v2 hw support  John Garry <john.garry@huawei.com> - 2016-01-25 19:40 +0100
  [RESEND PATCH v2 13/23] hisi_sas: add v2 phy down handler John Garry <john.garry@huawei.com> - 2016-01-25 19:40 +0100
  [RESEND PATCH v2 16/23] hisi_sas: add v2 cq interrupt handler John Garry <john.garry@huawei.com> - 2016-01-25 19:40 +0100
  [RESEND PATCH v2 19/23] hisi_sas: add v2 code for itct setup and free John Garry <john.garry@huawei.com> - 2016-01-25 19:40 +0100
  [RESEND PATCH v2 12/23] hisi_sas: add v2 int init and phy up handler John Garry <john.garry@huawei.com> - 2016-01-25 19:40 +0100
  [RESEND PATCH v2 05/23] hisi_sas: add hisi_sas_err_record_v1 John Garry <john.garry@huawei.com> - 2016-01-25 19:40 +0100
  [RESEND PATCH v2 06/23] hisi_sas: rename some fields in hisi_sas_itct John Garry <john.garry@huawei.com> - 2016-01-25 19:40 +0100
  [RESEND PATCH v2 09/23] hisi_sas: add v2 hw init John Garry <john.garry@huawei.com> - 2016-01-25 19:50 +0100
  [RESEND PATCH v2 01/23] devicetree: bindings: hisi_sas: add v2 HW bindings John Garry <john.garry@huawei.com> - 2016-01-25 19:50 +0100
  [RESEND PATCH v2 07/23] hisi_sas: add bare v2 hw driver John Garry <john.garry@huawei.com> - 2016-01-25 19:50 +0100
  [RESEND PATCH v2 15/23] hisi_sas: add v2 SATA interrupt handler John Garry <john.garry@huawei.com> - 2016-01-25 19:50 +0100
  [RESEND PATCH v2 23/23] hisi_sas: update driver version to 1.1 John Garry <john.garry@huawei.com> - 2016-01-25 19:50 +0100
  [RESEND PATCH v2 11/23] hisi_sas: add v2 phy init code John Garry <john.garry@huawei.com> - 2016-01-25 19:50 +0100
  [RESEND PATCH v2 03/23] hisi_sas: set max commands as configurable John Garry <john.garry@huawei.com> - 2016-01-25 19:50 +0100
  [RESEND PATCH v2 10/23] hisi_sas: add init_id_frame_v2_hw() John Garry <john.garry@huawei.com> - 2016-01-25 19:50 +0100
  [RESEND PATCH v2 18/23] hisi_sas: add v2 code to send smp command John Garry <john.garry@huawei.com> - 2016-01-25 19:50 +0100
  [RESEND PATCH v2 04/23] hisi_sas: reduce max itct entries John Garry <john.garry@huawei.com> - 2016-01-25 19:50 +0100
  [RESEND PATCH v2 22/23] hisi_sas: add v2 tmf functions John Garry <john.garry@huawei.com> - 2016-01-25 19:50 +0100
  [RESEND PATCH v2 02/23] hisi_sas: relocate DEV_IS_EXPANDER John Garry <john.garry@huawei.com> - 2016-01-25 19:50 +0100
  [RESEND PATCH v2 17/23] hisi_sas: add v2 path to send ssp frame John Garry <john.garry@huawei.com> - 2016-01-25 19:50 +0100
  [RESEND PATCH v2 20/23] hisi_sas: add v2 path to send ATA command John Garry <john.garry@huawei.com> - 2016-01-25 19:50 +0100
  [RESEND PATCH v2 14/23] hisi_sas: add v2 channel interrupt handler John Garry <john.garry@huawei.com> - 2016-01-25 19:50 +0100

csiph-web