Module Name:    src
Committed By:   thorpej
Date:           Wed Apr 28 03:34:02 UTC 2021

Modified Files:
        src/sys/dev/ofisa: if_cs_ofisa.c

Log Message:
Avoid a double "cs0: " in the autoconfiguration messages.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/sys/dev/ofisa/if_cs_ofisa.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/ofisa/if_cs_ofisa.c
diff -u src/sys/dev/ofisa/if_cs_ofisa.c:1.31 src/sys/dev/ofisa/if_cs_ofisa.c:1.32
--- src/sys/dev/ofisa/if_cs_ofisa.c:1.31	Wed Jan 27 03:10:21 2021
+++ src/sys/dev/ofisa/if_cs_ofisa.c	Wed Apr 28 03:34:02 2021
@@ -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");

Reply via email to