Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/xilinx Fixup some mixed up log messages.



details:   https://anonhg.NetBSD.org/src/rev/f56841ed5b0d
branches:  trunk
changeset: 372007:f56841ed5b0d
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Oct 25 22:49:39 2022 +0000

description:
Fixup some mixed up log messages.

diffstat:

 sys/arch/arm/xilinx/zynq7000_uart.c |  10 +++++-----
 sys/arch/arm/xilinx/zynq_cemac.c    |  10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diffs (69 lines):

diff -r 3cafc5a25123 -r f56841ed5b0d sys/arch/arm/xilinx/zynq7000_uart.c
--- a/sys/arch/arm/xilinx/zynq7000_uart.c       Tue Oct 25 22:27:49 2022 +0000
+++ b/sys/arch/arm/xilinx/zynq7000_uart.c       Tue Oct 25 22:49:39 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zynq7000_uart.c,v 1.2 2021/01/27 03:10:20 thorpej Exp $        */
+/*     $NetBSD: zynq7000_uart.c,v 1.3 2022/10/25 22:49:39 jmcneill Exp $       */
 
 /*-
  * Copyright (c) 2015  Genetec Corporation.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zynq7000_uart.c,v 1.2 2021/01/27 03:10:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zynq7000_uart.c,v 1.3 2022/10/25 22:49:39 jmcneill Exp $");
 
 #include "opt_soc.h"
 #include "opt_console.h"
@@ -75,13 +75,13 @@
        }
 
        if (fdtbus_intr_establish(phandle, 0, IPL_SERIAL, IST_LEVEL,
-               zynquartintr, device_private(self)) == NULL) {
-               aprint_error_dev(self, "failed to establish interrupt on %s\n", intrstr);
+                                 zynquartintr, device_private(self)) == NULL) {
+               aprint_error(": failed to establish interrupt on %s\n", intrstr);
                return;
        }
-       aprint_normal_dev(self, "interrupting on %s\n", intrstr);
 
        zynquart_attach_common(parent, self, faa->faa_bst, addr, size, 0);
+       aprint_normal_dev(self, "interrupting on %s\n", intrstr);
 }
 
 /*
diff -r 3cafc5a25123 -r f56841ed5b0d sys/arch/arm/xilinx/zynq_cemac.c
--- a/sys/arch/arm/xilinx/zynq_cemac.c  Tue Oct 25 22:27:49 2022 +0000
+++ b/sys/arch/arm/xilinx/zynq_cemac.c  Tue Oct 25 22:49:39 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zynq_cemac.c,v 1.2 2021/01/27 03:10:20 thorpej Exp $   */
+/*     $NetBSD: zynq_cemac.c,v 1.3 2022/10/25 22:49:39 jmcneill Exp $  */
 /*-
  * Copyright (c) 2015  Genetec Corporation.  All rights reserved.
  * Written by Hashimoto Kenichi for Genetec Corporation.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: zynq_cemac.c,v 1.2 2021/01/27 03:10:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zynq_cemac.c,v 1.3 2022/10/25 22:49:39 jmcneill Exp $");
 
 #include "opt_soc.h"
 
@@ -85,12 +85,12 @@
        }
 
        if (fdtbus_intr_establish(phandle, 0, IPL_NET, 0, cemac_intr,
-               device_private(self)) == NULL) {
-               aprint_error_dev(self, "failed to establish interrupt on %s\n", intrstr);
+                                 device_private(self)) == NULL) {
+               aprint_error(": failed to establish interrupt on %s\n", intrstr);
                return;
        }
-       aprint_normal_dev(self, "interrupting on %s\n", intrstr);
 
        cemac_attach_common(self, faa->faa_bst, ioh, faa->faa_dmat, CEMAC_FLAG_GEM);
+       aprint_normal_dev(self, "interrupting on %s\n", intrstr);
 }
 



Home | Main Index | Thread Index | Old Index