svn commit: r357256 - head/sys/dev/cadence

Mitchell Horne mhorne at FreeBSD.org
Wed Jan 29 15:58:20 UTC 2020


Author: mhorne
Date: Wed Jan 29 15:58:19 2020
New Revision: 357256
URL: https://svnweb.freebsd.org/changeset/base/357256

Log:
  cgem: Add another compat string for the SiFive fu540
  
  Newer device trees use "sifive,fu540-c000-gem" instead of "cdns,macb".
  
  Reviewed by:	br, kp
  Differential Revision:	https://reviews.freebsd.org/D23407

Modified:
  head/sys/dev/cadence/if_cgem.c

Modified: head/sys/dev/cadence/if_cgem.c
==============================================================================
--- head/sys/dev/cadence/if_cgem.c	Wed Jan 29 15:50:48 2020	(r357255)
+++ head/sys/dev/cadence/if_cgem.c	Wed Jan 29 15:58:19 2020	(r357256)
@@ -99,9 +99,10 @@ __FBSDID("$FreeBSD$");
 				 CSUM_TCP_IPV6 | CSUM_UDP_IPV6)
 
 static struct ofw_compat_data compat_data[] = {
-	{ "cadence,gem",	1 },
-	{ "cdns,macb",		1 },
-	{ NULL,			0 },
+	{ "cadence,gem",		1 },
+	{ "cdns,macb",			1 },
+	{ "sifive,fu540-c000-gem",	1 },
+	{ NULL,				0 },
 };
 
 struct cgem_softc {


More information about the svn-src-all mailing list