Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ofisa Avoid a double "cs0: " in the autoconfiguratio...



details:   https://anonhg.NetBSD.org/src/rev/f74425bb0704
branches:  trunk
changeset: 378906:f74425bb0704
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Apr 28 03:34:02 2021 +0000

description:
Avoid a double "cs0: " in the autoconfiguration messages.

diffstat:

 sys/dev/ofisa/if_cs_ofisa.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (30 lines):

diff -r 7d20a12e97a4 -r f74425bb0704 sys/dev/ofisa/if_cs_ofisa.c
--- a/sys/dev/ofisa/if_cs_ofisa.c       Wed Apr 28 03:21:57 2021 +0000
+++ b/sys/dev/ofisa/if_cs_ofisa.c       Wed Apr 28 03:34:02 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_cs_ofisa.c,v 1.31 2021/01/27 03:10:21 thorpej Exp $ */
+/*     $NetBSD: if_cs_ofisa.c,v 1.32 2021/04/28 03:34:02 thorpej Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_cs_ofisa.c,v 1.31 2021/01/27 03:10:21 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cs_ofisa.c,v 1.32 2021/04/28 03:34:02 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -217,9 +217,9 @@ cs_ofisa_attach(device_t parent, device_
                return;
        }
 
-       ofisa_print_model(self, aa->oba.oba_phandle);
+       ofisa_print_model(NULL, aa->oba.oba_phandle);
        if (message != NULL)
-               aprint_normal(": %s\n", message);
+               aprint_normal_dev(self, "%s\n", message);
 
        if (defmedia == -1) {
                aprint_error_dev(self, "unable to get default media\n");



Home | Main Index | Thread Index | Old Index