From 5bc40918600b99cdffe252994337c4af203b94ef Mon Sep 17 00:00:00 2001 From: ftillier Date: Fri, 9 Jun 2006 05:29:01 +0000 Subject: [PATCH] [MTHCA] Disable reset for Tavor as it never comes back on some systems. git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@383 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86 --- hw/mthca/kernel/hca_pci.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/mthca/kernel/hca_pci.c b/hw/mthca/kernel/hca_pci.c index 5e12d4f7..2dd804d5 100644 --- 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 ) HCA_ENTER( HCA_DBG_PNP ); + /* Some Tavor cards don't ever return from reset on some platforms. */ + if( is_tavor ) + goto resetErr1; + /* get the resources */ { /* Get the HCA's bus interface. */ -- 2.17.1