Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/fdt If we don't have a native driver for a node and ...



details:   https://anonhg.NetBSD.org/src/rev/78d1ce9a879d
branches:  trunk
changeset: 319798:78d1ce9a879d
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Jun 12 00:19:17 2018 +0000

description:
If we don't have a native driver for a node and it has a simple-mfd
compatible string, treat it the same as a simple-bus.

diffstat:

 sys/dev/fdt/fdtbus.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ba95919ad83b -r 78d1ce9a879d sys/dev/fdt/fdtbus.c
--- a/sys/dev/fdt/fdtbus.c      Mon Jun 11 21:37:29 2018 +0000
+++ b/sys/dev/fdt/fdtbus.c      Tue Jun 12 00:19:17 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fdtbus.c,v 1.16 2018/04/07 18:05:08 bouyer Exp $ */
+/* $NetBSD: fdtbus.c,v 1.17 2018/06/12 00:19:17 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fdtbus.c,v 1.16 2018/04/07 18:05:08 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fdtbus.c,v 1.17 2018/06/12 00:19:17 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -75,7 +75,7 @@
 static u_int   fdt_get_order(int);
 
 static const char * const fdtbus_compatible[] =
-    { "simple-bus", NULL };
+    { "simple-bus", "simple-mfd", NULL };
 
 CFATTACH_DECL_NEW(fdt, sizeof(struct fdt_softc),
     fdt_match, fdt_attach, NULL, NULL);



Home | Main Index | Thread Index | Old Index