Module Name: src Committed By: thorpej Date: Sat May 15 21:19:46 UTC 2021
Modified Files: src/sys/arch/sparc64/sparc64 [thorpej-i2c-spi-conf]: ofw_patch.c Log Message: Fix the path to the E450 envctrl DT node. Thanks, he@! To generate a diff of this commit: cvs rdiff -u -r1.7.4.1 -r1.7.4.2 src/sys/arch/sparc64/sparc64/ofw_patch.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/sparc64/sparc64/ofw_patch.c diff -u src/sys/arch/sparc64/sparc64/ofw_patch.c:1.7.4.1 src/sys/arch/sparc64/sparc64/ofw_patch.c:1.7.4.2 --- src/sys/arch/sparc64/sparc64/ofw_patch.c:1.7.4.1 Sat May 15 03:22:17 2021 +++ src/sys/arch/sparc64/sparc64/ofw_patch.c Sat May 15 21:19:46 2021 @@ -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