Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2017 12:35:19 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r320830 - head/sys/arm/allwinner
Message-ID:  <201707091235.v69CZJBf086120@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Sun Jul  9 12:35:19 2017
New Revision: 320830
URL: https://svnweb.freebsd.org/changeset/base/320830

Log:
  if_awg: Add "allwinner,sun50i-a64-emac" compatible string.
  
  This enable ethernet on Pine64 with latest DTS.

Modified:
  head/sys/arm/allwinner/if_awg.c

Modified: head/sys/arm/allwinner/if_awg.c
==============================================================================
--- head/sys/arm/allwinner/if_awg.c	Sun Jul  9 12:13:37 2017	(r320829)
+++ head/sys/arm/allwinner/if_awg.c	Sun Jul  9 12:35:19 2017	(r320830)
@@ -146,11 +146,13 @@ TUNABLE_INT("hw.awg.rx_batch", &awg_rx_batch);
 enum awg_type {
 	EMAC_A83T = 1,
 	EMAC_H3,
+	EMAC_A64,
 };
 
 static struct ofw_compat_data compat_data[] = {
 	{ "allwinner,sun8i-a83t-emac",		EMAC_A83T },
 	{ "allwinner,sun8i-h3-emac",		EMAC_H3 },
+	{ "allwinner,sun50i-a64-emac",		EMAC_A64 },
 	{ NULL,					0 }
 };
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201707091235.v69CZJBf086120>