Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/cavium Specify the "fdt" interface attribute w...



details:   https://anonhg.NetBSD.org/src/rev/4d16630daa4e
branches:  trunk
changeset: 379091:4d16630daa4e
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon May 10 23:58:52 2021 +0000

description:
Specify the "fdt" interface attribute when configuring via FDT, since
mainbus also carries the "mainbus" interface attribute.

diffstat:

 sys/arch/mips/cavium/mainbus.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 6777aa9b3113 -r 4d16630daa4e sys/arch/mips/cavium/mainbus.c
--- a/sys/arch/mips/cavium/mainbus.c    Mon May 10 23:53:44 2021 +0000
+++ b/sys/arch/mips/cavium/mainbus.c    Mon May 10 23:58:52 2021 +0000
@@ -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



Home | Main Index | Thread Index | Old Index