Set qmQueMgmtProxyDataReg to NULL for k1, k2h
authorTinku Mannan <tmannan@ti.com>
Thu, 16 May 2013 14:24:42 +0000 (10:24 -0400)
committerTinku Mannan <tmannan@ti.com>
Thu, 16 May 2013 14:43:21 +0000 (10:43 -0400)
ti/runtime/netapi/src/pdkv2/netapi_navig.c
ti/runtime/netapi/src/pdkv3/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);
index c5e8467f17ed3427abf95149b94876274fd68154..75a6ca826c70db891a06f5b070da3bf8eba2bd3c 100755 (executable)
@@ -231,10 +231,13 @@ int netapip_initQm(int max_descriptors)
                                  QMSS_DATA_BASE_ADDR,
                                  (uint32_t)netapi_qmssGblCfgParams.groupRegs[count].qmQueMgmtDataReg);
 
                                  QMSS_DATA_BASE_ADDR,
                                  (uint32_t)netapi_qmssGblCfgParams.groupRegs[count].qmQueMgmtDataReg);
 
+       netapi_qmssGblCfgParams.groupRegs[count].qmQueMgmtProxyDataReg = NULL;
+#if 0
         netapi_qmssGblCfgParams.groupRegs[count].qmQueMgmtProxyDataReg =
             NETAPI_GET_REG_VADDR(netapi_VM_VirtAddr->qmssDataVaddr,
                                  QMSS_DATA_BASE_ADDR,
                                  (uint32_t)netapi_qmssGblCfgParams.groupRegs[count].qmQueMgmtProxyDataReg);
         netapi_qmssGblCfgParams.groupRegs[count].qmQueMgmtProxyDataReg =
             NETAPI_GET_REG_VADDR(netapi_VM_VirtAddr->qmssDataVaddr,
                                  QMSS_DATA_BASE_ADDR,
                                  (uint32_t)netapi_qmssGblCfgParams.groupRegs[count].qmQueMgmtProxyDataReg);
+#endif
     }
 
     for(count=0;count < QMSS_MAX_INTD;count++)
     }
 
     for(count=0;count < QMSS_MAX_INTD;count++)