Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/fdt Match generic snps,dwc2 compat string



details:   https://anonhg.NetBSD.org/src/rev/67fe94618ea4
branches:  trunk
changeset: 362605:67fe94618ea4
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Jun 16 23:44:26 2018 +0000

description:
Match generic snps,dwc2 compat string

diffstat:

 sys/dev/fdt/dwc2_fdt.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 8d09bc5042a2 -r 67fe94618ea4 sys/dev/fdt/dwc2_fdt.c
--- a/sys/dev/fdt/dwc2_fdt.c    Sat Jun 16 23:14:47 2018 +0000
+++ b/sys/dev/fdt/dwc2_fdt.c    Sat Jun 16 23:44:26 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dwc2_fdt.c,v 1.1 2018/06/16 00:19:04 jmcneill Exp $    */
+/*     $NetBSD: dwc2_fdt.c,v 1.2 2018/06/16 23:44:26 jmcneill Exp $    */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dwc2_fdt.c,v 1.1 2018/06/16 00:19:04 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dwc2_fdt.c,v 1.2 2018/06/16 23:44:26 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -76,8 +76,12 @@
        .params = dwc2_fdt_rockchip_params,
 };
 
+static const struct dwc2_fdt_config dwc2_fdt_generic_config = {
+};
+
 static const struct of_compat_data compat_data[] = {
        { "rockchip,rk3066-usb",        (uintptr_t)&dwc2_fdt_rk3066_config },
+       { "snps,dwc2",                  (uintptr_t)&dwc2_fdt_generic_config },
        { NULL }
 };
 



Home | Main Index | Thread Index | Old Index