Set qmQueMgmtProxyDataReg to NULL for k1, k2h
[keystone-rtos/netapi.git] / ti / runtime / netapi / src / pdkv2 / netapi_navig.c
index d116d974b8909a31885baf94bab804c00175c9e5..4a19aaba230861a6d8ee108ec879fadebf08db07 100755 (executable)
@@ -284,11 +284,8 @@ int netapip_initQm(int max_descriptors)
     netapi_qmssGblCfgParams.qmQueMgmtDataReg = 
                                                       (void *)((uint32_t)netapi_VM_VirtAddr->qmssDataVaddr);
 
     netapi_qmssGblCfgParams.qmQueMgmtDataReg = 
                                                       (void *)((uint32_t)netapi_VM_VirtAddr->qmssDataVaddr);
 
-    netapi_qmssGblCfgParams.qmQueMgmtProxyDataReg =
-      NETAPI_GET_REG_VADDR(netapi_VM_VirtAddr->qmssDataVaddr,
-                           QMSS_DATA_BASE_ADDR,
-                           QMSS_DATA_ARM_PROXY_QUEUE_DEQUEUE_REGS);
 
 
+    netapi_qmssGblCfgParams.qmQueMgmtProxyDataReg = NULL;
     result = Qmss_init (&qmssInitConfig, &netapi_qmssGblCfgParams);
     if (result != QMSS_SOK)  {
         netapi_Log (">function init_qm: qmss_Init failed with error code %d\n", result);
     result = Qmss_init (&qmssInitConfig, &netapi_qmssGblCfgParams);
     if (result != QMSS_SOK)  {
         netapi_Log (">function init_qm: qmss_Init failed with error code %d\n", result);