Module Name:    src
Committed By:   jmcneill
Date:           Tue Oct 25 22:52:48 UTC 2022

Modified Files:
        src/sys/arch/arm/xilinx: zynq7000_usb.c

Log Message:
Fixup mixed up log messages.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/xilinx/zynq7000_usb.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/arch/arm/xilinx/zynq7000_usb.c
diff -u src/sys/arch/arm/xilinx/zynq7000_usb.c:1.2 src/sys/arch/arm/xilinx/zynq7000_usb.c:1.3
--- src/sys/arch/arm/xilinx/zynq7000_usb.c:1.2	Wed Jan 27 03:10:20 2021
+++ src/sys/arch/arm/xilinx/zynq7000_usb.c	Tue Oct 25 22:52:48 2022
@@ -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 @@ zynqusb_attach(device_t parent, device_t
 	}
 
 	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);
 }

Reply via email to