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
This commit is contained in:
Mitchell Horne 2020-01-29 15:58:19 +00:00
parent 741ba007c1
commit 0c80139031

View File

@ -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 {