Module Name: src Committed By: thorpej Date: Mon May 10 23:58:52 UTC 2021
Modified Files: src/sys/arch/mips/cavium: mainbus.c Log Message: Specify the "fdt" interface attribute when configuring via FDT, since mainbus also carries the "mainbus" interface attribute. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/mips/cavium/mainbus.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/mips/cavium/mainbus.c diff -u src/sys/arch/mips/cavium/mainbus.c:1.7 src/sys/arch/mips/cavium/mainbus.c:1.8 --- src/sys/arch/mips/cavium/mainbus.c:1.7 Sat Apr 24 23:36:42 2021 +++ src/sys/arch/mips/cavium/mainbus.c Mon May 10 23:58:52 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: mainbus.c,v 1.7 2021/04/24 23:36:42 thorpej Exp $ */ +/* $NetBSD: mainbus.c,v 1.8 2021/05/10 23:58:52 thorpej Exp $ */ /* * Copyright (c) 2007 @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.7 2021/04/24 23:36:42 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.8 2021/05/10 23:58:52 thorpej Exp $"); #define _MIPS_BUS_DMA_PRIVATE @@ -149,7 +149,9 @@ mainbus_attach_devicetree(device_t self) } faa.faa_phandle = OF_peer(0); - config_found(self, &faa, NULL, CFARG_EOL); + config_found(self, &faa, NULL, + CFARG_IATTR, "fdt", + CFARG_EOL); } static int