Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/mii Print dmesg correctly.



details:   https://anonhg.NetBSD.org/src/rev/98746f4d3023
branches:  trunk
changeset: 461455:98746f4d3023
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Nov 27 08:53:32 2019 +0000

description:
Print dmesg correctly.

diffstat:

 sys/dev/mii/ipgphy.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r eabcbe454081 -r 98746f4d3023 sys/dev/mii/ipgphy.c
--- a/sys/dev/mii/ipgphy.c      Wed Nov 27 07:26:08 2019 +0000
+++ b/sys/dev/mii/ipgphy.c      Wed Nov 27 08:53:32 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ipgphy.c,v 1.6 2019/11/21 09:48:57 msaitoh Exp $ */
+/*     $NetBSD: ipgphy.c,v 1.7 2019/11/27 08:53:32 msaitoh Exp $ */
 /*     $OpenBSD: ipgphy.c,v 1.19 2015/07/19 06:28:12 yuo Exp $ */
 
 /*-
@@ -33,7 +33,7 @@
  * Driver for the IC Plus IP1000A/IP1001 10/100/1000 PHY.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ipgphy.c,v 1.6 2019/11/21 09:48:57 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ipgphy.c,v 1.7 2019/11/27 08:53:32 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -119,6 +119,7 @@
        if (sc->mii_capabilities & BMSR_EXTSTAT)
                PHY_READ(sc, MII_EXTSR, &sc->mii_extcapabilities);
 
+       aprint_normal_dev(self, "");
        mii_phy_add_media(sc);
        aprint_normal("\n");
 }



Home | Main Index | Thread Index | Old Index