[openib-general] [PATCH] mthca: Display firmware version message

Hal Rosenstock
Mon Oct 11 11:37:55 PDT 2004


mthca: Display firmware version message
Make message always come out so easy to validate firmware version as
this is significant

Index: mthca_cmd.c
===================================================================
--- mthca_cmd.c (revision 965)
+++ mthca_cmd.c (working copy)
@@ -525,6 +525,8 @@
        MTHCA_GET(dev->fw_start, outbox, QUERY_FW_START_OFFSET);
        MTHCA_GET(dev->fw_end,   outbox, QUERY_FW_END_OFFSET);
  
+       printk(KERN_INFO PFX "FW version %012llx\n",
+              (unsigned long long) dev->fw_ver);
        mthca_dbg(dev, "FW version %012llx, max_cmds %d\n",
                  (unsigned long long) dev->fw_ver, dev->cmd.max_cmds);
        mthca_dbg(dev, "FW size %d KB (start %llx, end %llx)\n",




More information about the openib-general mailing list