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
[MTHCA] Disable reset for Tavor as it never comes back on some systems.
[mirror/winof/.git]
/
hw
/
mthca
/
kernel
/
hca_pci.c
diff --git
a/hw/mthca/kernel/hca_pci.c
b/hw/mthca/kernel/hca_pci.c
index
5e12d4f
..
2dd804d
100644
(file)
--- a/
hw/mthca/kernel/hca_pci.c
+++ b/
hw/mthca/kernel/hca_pci.c
@@
-326,6
+326,10
@@
hca_reset( DEVICE_OBJECT* const pDevObj, int is_tavor )
\r
HCA_ENTER( HCA_DBG_PNP );
\r
\r
\r
HCA_ENTER( HCA_DBG_PNP );
\r
\r
+ /* Some Tavor cards don't ever return from reset on some platforms. */
\r
+ if( is_tavor )
\r
+ goto resetErr1;
\r
+
\r
/* get the resources */
\r
{
\r
/* Get the HCA's bus interface. */
\r
/* get the resources */
\r
{
\r
/* Get the HCA's bus interface. */
\r