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 }
};
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"