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 mixed up log messages.



details:   https://anonhg.NetBSD.org/src/rev/c0254ea8b0f5
branches:  trunk
changeset: 372008:c0254ea8b0f5
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Oct 25 22:52:48 2022 +0000

description:
Fixup mixed up log messages.

diffstat:

 sys/arch/arm/xilinx/zynq7000_usb.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (35 lines):

diff -r f56841ed5b0d -r c0254ea8b0f5 sys/arch/arm/xilinx/zynq7000_usb.c
--- a/sys/arch/arm/xilinx/zynq7000_usb.c        Tue Oct 25 22:49:39 2022 +0000
+++ b/sys/arch/arm/xilinx/zynq7000_usb.c        Tue Oct 25 22:52:48 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: zynq7000_usb.c,v 1.2 2021/01/27 03:10:20 thorpej Exp $ */
+/*     $NetBSD: zynq7000_usb.c,v 1.3 2022/10/25 22:52:48 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: zynq7000_usb.c,v 1.2 2021/01/27 03:10:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: zynq7000_usb.c,v 1.3 2022/10/25 22:52:48 jmcneill Exp $");
 
 #include "opt_soc.h"
 
@@ -93,13 +93,13 @@
        }
 
        if (fdtbus_intr_establish(phandle, 0, IPL_USB, IST_LEVEL, ehci_intr,
-               hsc) == NULL) {
-               aprint_error_dev(self, "failed to establish interrupt on %s\n",
+                                 hsc) == NULL) {
+               aprint_error("failed to establish interrupt on %s\n",
                    intrstr);
                return;
        }
-       aprint_normal_dev(self, "interrupting on %s\n", intrstr);
 
        zynqusb_attach_common(parent, self, faa->faa_bst, faa->faa_dmat,
            addr, size, 0, ZYNQUSBC_IF_ULPI, ZYNQUSB_HOST);
+       aprint_normal_dev(self, "interrupting on %s\n", intrstr);
 }



Home | Main Index | Thread Index | Old Index