git: c222619cd480 - main - if_ffec: fix imx6sx compatible flags

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Mon, 28 Oct 2024 03:27:55 UTC
The branch main has been updated by kbowling:

URL: https://cgit.FreeBSD.org/src/commit/?id=c222619cd4807e9e0274e6fadcbe259cf5cabc26

commit c222619cd4807e9e0274e6fadcbe259cf5cabc26
Author:     Gary Bisson <gary.bisson@ezurio.com>
AuthorDate: 2024-10-17 09:55:54 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2024-10-28 03:26:50 +0000

    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>
---
 sys/dev/ffec/if_ffec.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 },