]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
IB/ipath: add serial number to hardware freeze error message
authorBryan O'Sullivan <bos@pathscale.com>
Fri, 25 Aug 2006 18:24:40 +0000 (11:24 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 22 Sep 2006 22:22:36 +0000 (15:22 -0700)
Also added the word "Hardware" after "Fatal" to make it more obvious
that it's hardware, not software.

Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/ipath/ipath_iba6110.c
drivers/infiniband/hw/ipath/ipath_iba6120.c

index 5076738aff3280a608b5b7e81eb5e7d660578de0..7028c98e5c4f334d8231f659dc74e5011b1fdb05 100644 (file)
@@ -461,8 +461,9 @@ static void ipath_ht_handle_hwerrors(struct ipath_devdata *dd, char *msg,
                         * times.
                         */
                        if (dd->ipath_flags & IPATH_INITTED) {
-                               ipath_dev_err(dd, "Fatal Error (freeze "
-                                             "mode), no longer usable\n");
+                               ipath_dev_err(dd, "Fatal Hardware Error (freeze "
+                                             "mode), no longer usable, SN %.16s\n",
+                                                 dd->ipath_serial);
                                isfatal = 1;
                        }
                        *dd->ipath_statusp &= ~IPATH_STATUS_IB_READY;
index f4233baaa33803792d2365033d7f4117dd1be37f..3a7640be25307e121e12b6070cb994933641b7da 100644 (file)
@@ -363,8 +363,9 @@ static void ipath_pe_handle_hwerrors(struct ipath_devdata *dd, char *msg,
                         * and we get here multiple times
                         */
                        if (dd->ipath_flags & IPATH_INITTED) {
-                               ipath_dev_err(dd, "Fatal Error (freeze "
-                                             "mode), no longer usable\n");
+                               ipath_dev_err(dd, "Fatal Hardware Error (freeze "
+                                             "mode), no longer usable, SN %.16s\n",
+                                                 dd->ipath_serial);
                                isfatal = 1;
                        }
                        /*