aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary Bisson <gary.bisson@ezurio.com>2024-10-17 09:55:54 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2024-10-28 03:26:50 +0000
commitc222619cd4807e9e0274e6fadcbe259cf5cabc26 (patch)
tree60da93fe5cfa8e1ec3ab1f821adae6cdd1f7624c
parentf4bd011a382269965a4f75aa01b6e6b1ce2a3eba (diff)
downloadsrc-c222619cd480.tar.gz
src-c222619cd480.zip
if_ffec: fix imx6sx compatible flags
The i.MX 6 SoloX does support Gigabit and AVB features as can be seen in its technical reference manual [1] or even Linux kernel [2]. Fixes: 94bc2117b4a ("Add i.MX 8M Quad support") [1] https://www.nxp.com/webapp/Download?colCode=IMX6SXRM [2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/net/ethernet/freescale/fec_main.c?h=linux-6.6.y#n206 MFC after: 3 days Pull Request: https://github.com/freebsd/freebsd-src/pull/1479 Signed-off-by: Gary Bisson <gary.bisson@ezurio.com>
-rw-r--r--sys/dev/ffec/if_ffec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ffec/if_ffec.c b/sys/dev/ffec/if_ffec.c
index 1a1993c22be7..1a562b149f61 100644
--- a/sys/dev/ffec/if_ffec.c
+++ b/sys/dev/ffec/if_ffec.c
@@ -121,7 +121,8 @@ static struct ofw_compat_data compat_data[] = {
{"fsl,imx53-fec", FECTYPE_IMX53},
{"fsl,imx6q-fec", FECTYPE_IMX6 | FECFLAG_RACC | FECFLAG_GBE },
{"fsl,imx6ul-fec", FECTYPE_IMX6 | FECFLAG_RACC },
- {"fsl,imx6sx-fec", FECTYPE_IMX6 | FECFLAG_RACC },
+ {"fsl,imx6sx-fec", FECTYPE_IMX6 | FECFLAG_RACC | FECFLAG_GBE |
+ FECFLAG_AVB },
{"fsl,imx7d-fec", FECTYPE_IMX6 | FECFLAG_RACC | FECFLAG_GBE |
FECFLAG_AVB },
{"fsl,mvf600-fec", FECTYPE_MVF | FECFLAG_RACC },