Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/nxp Attachment pretty print



details:   https://anonhg.NetBSD.org/src/rev/b503e6f1a94a
branches:  trunk
changeset: 948283:b503e6f1a94a
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Dec 23 16:52:06 2020 +0000

description:
Attachment pretty print

diffstat:

 sys/arch/arm/nxp/imx6_spi.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r e75d316e2842 -r b503e6f1a94a sys/arch/arm/nxp/imx6_spi.c
--- a/sys/arch/arm/nxp/imx6_spi.c       Wed Dec 23 16:04:42 2020 +0000
+++ b/sys/arch/arm/nxp/imx6_spi.c       Wed Dec 23 16:52:06 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: imx6_spi.c,v 1.1 2020/12/23 14:42:38 skrll Exp $       */
+/*     $NetBSD: imx6_spi.c,v 1.2 2020/12/23 16:52:06 skrll Exp $       */
 
 /*-
  * Copyright (c) 2019 Genetec Corporation.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: imx6_spi.c,v 1.1 2020/12/23 14:42:38 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: imx6_spi.c,v 1.2 2020/12/23 16:52:06 skrll Exp $");
 
 #include "opt_imxspi.h"
 
@@ -104,6 +104,9 @@
        bus_size_t size;
        int error;
 
+       aprint_naive("\n");
+       aprint_normal(": SPI\n");
+
        u_int nslaves;
        error = of_getprop_uint32(phandle, "fsl,spi-num-chipselects", &nslaves);
        if (error)



Home | Main Index | Thread Index | Old Index