[MTHCA] 1. feature: the driver will now enter a simulated "livefish" mode in case...
[mirror/winof/.git] / hw / mthca / kernel / hca_pnp.c
index 792e1e0..f6753cb 100644 (file)
@@ -890,14 +890,21 @@ hca_start(
        {\r
                struct mthca_dev *mdev = p_ext->hca.mdev;\r
                HCA_PRINT_EV(TRACE_LEVEL_INFORMATION ,HCA_DBG_LOW ,\r
-                       ("Ven %d Dev %d Hw %x Fw %d.%d.%d Drv %s (%s) Flg %s%s%s\n", \r
+                       ("Ven %x Dev %d Hw %x Fw %d.%d.%d Drv %s (%s)", \r
                        (unsigned)p_ext->hcaConfig.VendorID, (unsigned)p_ext->hcaConfig.DeviceID,\r
                        p_ext->hca.hw_ver,      (int) (mdev->fw_ver >> 32),\r
                        (int) (mdev->fw_ver >> 16) & 0xffff, (int) (mdev->fw_ver & 0xffff),\r
-                       DRV_VERSION, DRV_RELDATE,\r
-                       (mdev->mthca_flags & MTHCA_FLAG_MEMFREE) ? "M:" : "",\r
-                       (mdev->mthca_flags & MTHCA_FLAG_PCIE) ? "E:" : "",\r
-                       (mdev->mthca_flags & MTHCA_FLAG_DDR_HIDDEN) ? "H" : ""\r
+                       DRV_VERSION, DRV_RELDATE\r
+                       ));\r
+               HCA_PRINT_EV(TRACE_LEVEL_INFORMATION ,HCA_DBG_LOW ,\r
+                       ("Flags %s%s%s%s%s%s%s\n", \r
+                       (mdev->mthca_flags & MTHCA_FLAG_LIVEFISH) ? "Flash Recovery Mode:" : "",\r
+                       (mdev->mthca_flags & MTHCA_FLAG_MEMFREE) ? "MemFree:" : "",\r
+                       (mdev->mthca_flags & MTHCA_FLAG_NO_LAM) ? "NoLam:" : "",\r
+                       (mdev->mthca_flags & MTHCA_FLAG_FMR) ? "Fmr:" : "",\r
+                       (mdev->mthca_flags & MTHCA_FLAG_SRQ) ? "Srq:" : "",\r
+                       (mdev->mthca_flags & MTHCA_FLAG_DDR_HIDDEN) ? "HideDdr:" : "",\r
+                       (mdev->mthca_flags & MTHCA_FLAG_PCIE) ? "PciEx:" : ""\r
                        ));\r
        }\r
 \r