http://git.etherboot.org
/
mirror
/
winof
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[HCA] Distinguish between Tavor and Arbel HCAs, report correct device ID
[mirror/winof/.git]
/
hw
/
mt23108
/
vapi
/
mlxsys
/
os_dep
/
win
/
tdriver
/
MdPnp.c
diff --git
a/hw/mt23108/vapi/mlxsys/os_dep/win/tdriver/MdPnp.c
b/hw/mt23108/vapi/mlxsys/os_dep/win/tdriver/MdPnp.c
index
1e04bd1
..
1c73e03
100644
(file)
--- a/
hw/mt23108/vapi/mlxsys/os_dep/win/tdriver/MdPnp.c
+++ b/
hw/mt23108/vapi/mlxsys/os_dep/win/tdriver/MdPnp.c
@@
-932,7
+932,9
@@
Return Value:
* add device to TAVOR
\r
*/
\r
\r
* add device to TAVOR
\r
*/
\r
\r
- if (l_pMdDevContext->m_eDevType == MD_DEV_IX_TAVOR && g_pDrvContext->m_fSupportTavor)
\r
+ if ((l_pMdDevContext->m_eDevType == MD_DEV_IX_TAVOR ||
\r
+ l_pMdDevContext->m_eDevType == MD_DEV_IX_ARBEL_TM)
\r
+ && g_pDrvContext->m_fSupportTavor)
\r
{ /* add HCA to Tavor functional DLLs */
\r
\r
unsigned char l_RevId = 0;
\r
{ /* add HCA to Tavor functional DLLs */
\r
\r
unsigned char l_RevId = 0;
\r
@@
-1128,7
+1130,8
@@
Return Value:
// stop the card by sending some commands to it or suspend all new requests and wait for the end of in-progress ones
\r
//
\r
\r
// stop the card by sending some commands to it or suspend all new requests and wait for the end of in-progress ones
\r
//
\r
\r
- if (l_pMdDevContext->m_eDevType == MD_DEV_IX_TAVOR && g_pDrvContext->m_fSupportTavor)
\r
+ if ((l_pMdDevContext->m_eDevType == MD_DEV_IX_TAVOR ||
\r
+ l_pMdDevContext->m_eDevType == MD_DEV_IX_ARBEL_TM)&& g_pDrvContext->m_fSupportTavor)
\r
{ /* remove HCA from Tavor functional DLLs */
\r
\r
HH_ret_t l_HhRet;
\r
{ /* remove HCA from Tavor functional DLLs */
\r
\r
HH_ret_t l_HhRet;
\r