From b2a18fc401a75ad1c7e3dd14e0c901076dde1051 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 1 Nov 2018 04:27:26 +0000 Subject: [PATCH] qla2x00t: Move a definition from a .h into a .c file git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.3.x@7565 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla_nx.c | 2 ++ qla2x00t/qla_nx.h | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/qla2x00t/qla_nx.c b/qla2x00t/qla_nx.c index db309bd6a..efbe423e4 100644 --- a/qla2x00t/qla_nx.c +++ b/qla2x00t/qla_nx.c @@ -37,6 +37,8 @@ #define MAX_CRB_XFORM 60 static unsigned long crb_addr_xform[MAX_CRB_XFORM]; static int qla82xx_crb_table_initialized; +static const int MD_MIU_TEST_AGT_RDDATA[] = { 0x410000A8, 0x410000AC, + 0x410000B8, 0x410000BC }; #define qla82xx_crb_addr_transform(name) \ (crb_addr_xform[QLA82XX_HW_PX_MAP_CRB_##name] = \ diff --git a/qla2x00t/qla_nx.h b/qla2x00t/qla_nx.h index d0d34e14b..30c4de772 100644 --- a/qla2x00t/qla_nx.h +++ b/qla2x00t/qla_nx.h @@ -1173,9 +1173,6 @@ struct qla82xx_md_entry_queue { #define MD_MIU_TEST_AGT_ADDR_LO 0x41000094 #define MD_MIU_TEST_AGT_ADDR_HI 0x41000098 -static const int MD_MIU_TEST_AGT_RDDATA[] = { 0x410000A8, 0x410000AC, - 0x410000B8, 0x410000BC }; - #define CRB_NIU_XG_PAUSE_CTL_P0 0x1 #define CRB_NIU_XG_PAUSE_CTL_P1 0x8