Source-Changes-HG archive

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

[src/thorpej-i2c-spi-conf]: src/sys/arch/sparc64/sparc64 Fix the path to the ...



details:   https://anonhg.NetBSD.org/src/rev/bf2af593633d
branches:  thorpej-i2c-spi-conf
changeset: 1020812:bf2af593633d
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat May 15 21:19:46 2021 +0000

description:
Fix the path to the E450 envctrl DT node. Thanks, he@!

diffstat:

 sys/arch/sparc64/sparc64/ofw_patch.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 41bd724c700f -r bf2af593633d sys/arch/sparc64/sparc64/ofw_patch.c
--- a/sys/arch/sparc64/sparc64/ofw_patch.c      Sat May 15 03:22:17 2021 +0000
+++ b/sys/arch/sparc64/sparc64/ofw_patch.c      Sat May 15 21:19:46 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ofw_patch.c,v 1.7.4.1 2021/05/15 03:22:17 thorpej Exp $ */
+/*     $NetBSD: ofw_patch.c,v 1.7.4.2 2021/05/15 21:19:46 thorpej Exp $ */
 
 /*-
  * Copyright (c) 2020, 2021 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofw_patch.c,v 1.7.4.1 2021/05/15 03:22:17 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofw_patch.c,v 1.7.4.2 2021/05/15 21:19:46 thorpej Exp $");
 
 #include <sys/param.h>
 #include <sys/kmem.h>
@@ -679,8 +679,7 @@
 }
 
 static const struct device_compatible_entry dtnode_fixup_table_e450[] = {
-       /* XXX Could make this into a special fixup, but dtnode is nicer. */
-       { .compat = "/XXX/need/the/OFW/path",
+       { .compat = "/pci/ebus@1/SUNW,envctrl@14,600000",
          .data = e450_envctrl_fixup },
 
        DEVICE_COMPAT_EOL



Home | Main Index | Thread Index | Old Index