Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Print the error value of ixgbe_reset_hw() ...
details: https://anonhg.NetBSD.org/src/rev/75f113826dda
branches: trunk
changeset: 983161:75f113826dda
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Fri May 07 09:15:52 2021 +0000
description:
Print the error value of ixgbe_reset_hw() for debugging.
diffstat:
sys/dev/pci/ixgbe/ixgbe.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 943b7268b4db -r 75f113826dda sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Thu May 06 16:15:33 2021 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Fri May 07 09:15:52 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.281 2021/04/30 06:55:32 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.282 2021/05/07 09:15:52 msaitoh Exp $ */
/******************************************************************************
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.281 2021/04/30 06:55:32 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.282 2021/05/07 09:15:52 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1004,7 +1004,8 @@
unsupported_sfp = true;
error = IXGBE_SUCCESS;
} else if (error) {
- aprint_error_dev(dev, "Hardware initialization failed\n");
+ aprint_error_dev(dev,
+ "Hardware initialization failed(error = %d)\n", error);
error = EIO;
goto err_late;
}
Home |
Main Index |
Thread Index |
Old Index