Module Name: src
Committed By: skrll
Date: Wed Dec 23 16:52:06 UTC 2020
Modified Files:
src/sys/arch/arm/nxp: imx6_spi.c
Log Message:
Attachment pretty print
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/nxp/imx6_spi.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/nxp/imx6_spi.c
diff -u src/sys/arch/arm/nxp/imx6_spi.c:1.1 src/sys/arch/arm/nxp/imx6_spi.c:1.2
--- src/sys/arch/arm/nxp/imx6_spi.c:1.1 Wed Dec 23 14:42:38 2020
+++ src/sys/arch/arm/nxp/imx6_spi.c Wed Dec 23 16:52:06 2020
@@ -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 @@ imxspi_attach(device_t parent, device_t
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)