Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/usb convert the ehci device owner ship change messag...



details:   https://anonhg.NetBSD.org/src/rev/4bef81770a59
branches:  trunk
changeset: 1029290:4bef81770a59
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Dec 30 04:19:23 2021 +0000

description:
convert the ehci device owner ship change message to display the ehciN as well.

diffstat:

 sys/dev/usb/ehci.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 4923142c19c0 -r 4bef81770a59 sys/dev/usb/ehci.c
--- a/sys/dev/usb/ehci.c        Thu Dec 30 03:24:50 2021 +0000
+++ b/sys/dev/usb/ehci.c        Thu Dec 30 04:19:23 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ehci.c,v 1.299 2021/12/24 22:56:55 nia Exp $ */
+/*     $NetBSD: ehci.c,v 1.300 2021/12/30 04:19:23 mrg Exp $ */
 
 /*
  * Copyright (c) 2004-2012,2016,2020 The NetBSD Foundation, Inc.
@@ -54,7 +54,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.299 2021/12/24 22:56:55 nia Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ehci.c,v 1.300 2021/12/30 04:19:23 mrg Exp $");
 
 #include "ohci.h"
 #include "uhci.h"
@@ -2703,7 +2703,8 @@
        mutex_exit(&sc->sc_complock);
 
        config_pending_incr(sc->sc_dev);
-       aprint_normal("delaying %s by %u seconds due to USB owner change.\n",
+       aprint_normal_dev(sc->sc_dev,
+           "delaying %s by %u seconds due to USB owner change.\n",
            (boothowto & RB_ASKNAME) != 0 ? "ask root" : "single user",
            ehci_disown_delay_seconds);
 }



Home | Main Index | Thread Index | Old Index