Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2024 00:58:48 GMT
From:      Kevin Bowling <kbowling@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: a83b4361b363 - stable/13 - if_ffec: fix imx6sx compatible flags
Message-ID:  <202410310058.49V0wmli079123@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kbowling:

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

commit a83b4361b363b521447a9425da98fbed69362def
Author:     Gary Bisson <gary.bisson@ezurio.com>
AuthorDate: 2024-10-17 09:55:54 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2024-10-31 00:57:52 +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
    
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/1479
    
    Signed-off-by: Gary Bisson <gary.bisson@ezurio.com>
    (cherry picked from commit c222619cd4807e9e0274e6fadcbe259cf5cabc26)
---
 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 d494e832124a..288590a71dcd 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 },



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410310058.49V0wmli079123>