Module Name:    src
Committed By:   mrg
Date:           Thu Dec 30 04:19:23 UTC 2021

Modified Files:
        src/sys/dev/usb: ehci.c

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


To generate a diff of this commit:
cvs rdiff -u -r1.299 -r1.300 src/sys/dev/usb/ehci.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/ehci.c
diff -u src/sys/dev/usb/ehci.c:1.299 src/sys/dev/usb/ehci.c:1.300
--- src/sys/dev/usb/ehci.c:1.299	Fri Dec 24 22:56:55 2021
+++ src/sys/dev/usb/ehci.c	Thu Dec 30 04:19:23 2021
@@ -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 @@ ehci_disown_sched_callback(ehci_softc_t 
 	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);
 }

Reply via email to