Browse Source

qcacmn: Add device ID for multinode support in Hawkeye emulation platform

Include Hawkeye emulation PCI device ids in hif_pci_enable_bus to
support PCI based emulation platform to support multiple nodes.

Change-Id: Iddc4c92a39713e27386c6f9cf64b5efd34b3ba44
CRs-Fixed: 1090092
Sathish Kumar 8 years ago
parent
commit
d5b7889c7c
1 changed files with 6 additions and 2 deletions
  1. 6 2
      hif/src/pcie/if_pci.c

+ 6 - 2
hif/src/pcie/if_pci.c

@@ -3841,7 +3841,9 @@ again:
 	hif_target_register_tbl_attach(ol_sc, target_type);
 
 	if ((id->device == RUMIM2M_DEVICE_ID_NODE0) ||
-		(id->device == RUMIM2M_DEVICE_ID_NODE1))
+	    (id->device == RUMIM2M_DEVICE_ID_NODE1) ||
+	    (id->device == RUMIM2M_DEVICE_ID_NODE2) ||
+	    (id->device == RUMIM2M_DEVICE_ID_NODE3))
 		HIF_TRACE("%s:Skip tgt_wake up for PCI based 8074\n", __func__);
 	else {
 #ifndef QCA_WIFI_NAPIER_EMULATION
@@ -3866,7 +3868,9 @@ again:
 	}
 
 	if ((id->device != RUMIM2M_DEVICE_ID_NODE0) &&
-		(id->device != RUMIM2M_DEVICE_ID_NODE1)) {
+	    (id->device != RUMIM2M_DEVICE_ID_NODE1) &&
+	    (id->device != RUMIM2M_DEVICE_ID_NODE2) &&
+	    (id->device != RUMIM2M_DEVICE_ID_NODE3)) {
 #ifndef QCA_WIFI_NAPIER_EMULATION
 		hif_target_sync(ol_sc);
 #endif