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/fa2039fe86c2
branches:  thorpej-i2c-spi-conf
changeset: 378781:fa2039fe86c2
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 fb6b46521aa3 -r fa2039fe86c2 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 @@ e450_envctrl_fixup(device_t dev, void *a
 }
 
 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