Prechádzať zdrojové kódy

qcacmn: Remove WCSS_VERSION macros used inside hif

Remove WCSS_VERSION macros which were used for emulation inside
HIF in cmn driver.

Change-Id: I3e7ea5fb795e0cb9dd8c2bc718d8b523e442109d
Vevek Venkatesan 5 rokov pred
rodič
commit
f48333d03b
2 zmenil súbory, kde vykonal 2 pridanie a 16 odobranie
  1. 1 8
      hif/src/qca6290def.c
  2. 1 8
      hif/src/qca6390def.c

+ 1 - 8
hif/src/qca6290def.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -152,15 +152,8 @@
 #define CE_DDR_ADDRESS_FOR_RRI_LOW MISSING
 #define CE_DDR_ADDRESS_FOR_RRI_HIGH MISSING
 
-#if defined(WCSS_VERSION) && \
-	((defined(CONFIG_WIN) && (WCSS_VERSION > 81)) || \
-	 (defined(CONFIG_MCL) && (WCSS_VERSION >= 72)))
 #define HOST_IE_ADDRESS UMAC_CE_COMMON_WFSS_CE_COMMON_R0_CE_HOST_IE_0
 #define HOST_IE_ADDRESS_2 UMAC_CE_COMMON_WFSS_CE_COMMON_R0_CE_HOST_IE_1
-#else /* WCSS_VERSION < 72 */
-#define HOST_IE_ADDRESS UMAC_CE_COMMON_CE_HOST_IE_0
-#define HOST_IE_ADDRESS_2 UMAC_CE_COMMON_CE_HOST_IE_1
-#endif /* WCSS_VERSION */
 
 #define HOST_IE_COPY_COMPLETE_MASK MISSING
 #define SR_BA_ADDRESS MISSING

+ 1 - 8
hif/src/qca6390def.c

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
@@ -152,15 +152,8 @@
 #define CE_DDR_ADDRESS_FOR_RRI_LOW MISSING
 #define CE_DDR_ADDRESS_FOR_RRI_HIGH MISSING
 
-#if defined(WCSS_VERSION) && \
-	((defined(CONFIG_WIN) && (WCSS_VERSION > 81)) || \
-	 (defined(CONFIG_MCL) && (WCSS_VERSION >= 72)))
 #define HOST_IE_ADDRESS UMAC_CE_COMMON_WFSS_CE_COMMON_R0_CE_HOST_IE_0
 #define HOST_IE_ADDRESS_2 UMAC_CE_COMMON_WFSS_CE_COMMON_R0_CE_HOST_IE_1
-#else /* WCSS_VERSION < 72 */
-#define HOST_IE_ADDRESS UMAC_CE_COMMON_CE_HOST_IE_0
-#define HOST_IE_ADDRESS_2 UMAC_CE_COMMON_CE_HOST_IE_1
-#endif /* WCSS_VERSION */
 
 #define HOST_IE_COPY_COMPLETE_MASK MISSING
 #define SR_BA_ADDRESS MISSING