diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-04-02 17:52:37 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2018-04-02 17:52:37 +0000 |
commit | 9d359c32344e784a360f823a2ff4f95019160766 (patch) | |
tree | 97abf59d2aaea94a76f77da1602f2369445f0fa5 /sys/dev | |
parent | 0fc08d2515ec1c08c1af40bafa7a1dc615b22d72 (diff) |
Attach fec(4) to i.MX8M as well.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/fdt/if_fec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/fdt/if_fec.c b/sys/dev/fdt/if_fec.c index 829025c9bab..576e2c608f9 100644 --- a/sys/dev/fdt/if_fec.c +++ b/sys/dev/fdt/if_fec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_fec.c,v 1.1 2018/04/02 16:51:58 patrick Exp $ */ +/* $OpenBSD: if_fec.c,v 1.2 2018/04/02 17:52:36 patrick Exp $ */ /* * Copyright (c) 2012-2013 Patrick Wildt <patrick@blueri.se> * @@ -270,7 +270,8 @@ fec_match(struct device *parent, void *match, void *aux) { struct fdt_attach_args *faa = aux; - return OF_is_compatible(faa->fa_node, "fsl,imx6q-fec"); + return (OF_is_compatible(faa->fa_node, "fsl,imx6q-fec") || + OF_is_compatible(faa->fa_node, "fsl,imx8mq-fec")); } void |