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 Improve PHY's dmesg output for non-MIIVERB...
details: https://anonhg.NetBSD.org/src/rev/9317c4619543
branches: trunk
changeset: 1027668:9317c4619543
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Dec 15 08:42:48 2021 +0000
description:
Improve PHY's dmesg output for non-MIIVERBOSE case.
diffstat:
sys/dev/pci/ixgbe/ixgbe.c | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
diffs (30 lines):
diff -r 17233c46ea52 -r 9317c4619543 sys/dev/pci/ixgbe/ixgbe.c
--- a/sys/dev/pci/ixgbe/ixgbe.c Wed Dec 15 08:28:22 2021 +0000
+++ b/sys/dev/pci/ixgbe/ixgbe.c Wed Dec 15 08:42:48 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixgbe.c,v 1.298 2021/12/14 05:31:12 msaitoh Exp $ */
+/* $NetBSD: ixgbe.c,v 1.299 2021/12/15 08:42:48 msaitoh Exp $ */
/******************************************************************************
@@ -64,7 +64,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.298 2021/12/14 05:31:12 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ixgbe.c,v 1.299 2021/12/15 08:42:48 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1185,9 +1185,8 @@
rev = MII_REV(id2);
mii_get_descr(descr, sizeof(descr), oui, model);
if (descr[0])
- aprint_normal_dev(dev,
- "PHY: %s (OUI 0x%06x, model 0x%04x), rev. %d\n",
- descr, oui, model, rev);
+ aprint_normal_dev(dev, "PHY: %s, rev. %d\n",
+ descr, rev);
else
aprint_normal_dev(dev,
"PHY OUI 0x%06x, model 0x%04x, rev. %d\n",
Home |
Main Index |
Thread Index |
Old Index