[MTHCA] Disable reset for Tavor as it never comes back on some systems.
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 9 Jun 2006 05:29:01 +0000 (05:29 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Fri, 9 Jun 2006 05:29:01 +0000 (05:29 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@383 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

hw/mthca/kernel/hca_pci.c

index 5e12d4f..2dd804d 100644 (file)
@@ -326,6 +326,10 @@ hca_reset( DEVICE_OBJECT* const            pDevObj, int is_tavor )
 \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