Module Name: src
Committed By: jmcneill
Date: Sun Jan 24 19:37:45 UTC 2021
Modified Files:
src/sys/dev/i2c: pcai2cmux.c
Log Message:
trailing whitespace
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/pcai2cmux.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/dev/i2c/pcai2cmux.c
diff -u src/sys/dev/i2c/pcai2cmux.c:1.3 src/sys/dev/i2c/pcai2cmux.c:1.4
--- src/sys/dev/i2c/pcai2cmux.c:1.3 Mon Jan 18 15:28:21 2021
+++ src/sys/dev/i2c/pcai2cmux.c Sun Jan 24 19:37:45 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: pcai2cmux.c,v 1.3 2021/01/18 15:28:21 thorpej Exp $ */
+/* $NetBSD: pcai2cmux.c,v 1.4 2021/01/24 19:37:45 jmcneill Exp $ */
/*-
* Copyright (c) 2020 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcai2cmux.c,v 1.3 2021/01/18 15:28:21 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcai2cmux.c,v 1.4 2021/01/24 19:37:45 jmcneill Exp $");
/*
* Driver for NXP PCA954x / PCA984x I2C switches and multiplexers.
@@ -126,6 +126,10 @@ static const struct device_compatible_en
{ .compat = "nxp,pca9547",
.data = &mux8_type },
+ /* PCA9547 - 8 channel i2c mux (NXP Layerscape ACPI) */
+ { .compat = "NXP0002",
+ .data = &mux8_type },
+
/* PCA9548 - 8 channel i2c switch */
{ .compat = "nxp,pca9548",
.data = &switch8_type },
@@ -291,7 +295,7 @@ pcaiicmux_match(device_t parent, cfdata_
if (iic_use_direct_match(ia, cf, compat_data, &match_result)) {
return match_result;
}
-
+
/* This device is direct-config only. */
return 0;