if_awg: Add "allwinner,sun50i-a64-emac" compatible string.

This enable ethernet on Pine64 with latest DTS.
This commit is contained in:
Emmanuel Vadot 2017-07-09 12:35:19 +00:00
parent 9cb3ac3bef
commit 50bb2d50e8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320830

View File

@ -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 }
};