Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Nov 2023 00:38:05 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 9197f220d854 - stable/14 - dpaa2: fdt improve detection for dpmac/phys
Message-ID:  <202311300038.3AU0c5dv051489@gitrepo.freebsd.org>

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

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

commit 9197f220d8541c54d4eb5f804947397e12e2f224
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2023-11-15 13:13:22 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2023-11-30 00:36:56 +0000

    dpaa2: fdt improve detection for dpmac/phys
    
    'pcs-handles' are not mandatory in the device tree here so do not
    enforce them.  This allows us to find dpmac entries needed for phys
    on the WHLE-LS1 as well.
    
    Reviewed by:    jceel, dsl
    Differential Revision: https://reviews.freebsd.org/D42644
    
    (cherry picked from commit 6c46ebb05dccdcee18f64dc122e6685c05180217)
---
 sys/dev/dpaa2/dpaa2_mc_fdt.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/dev/dpaa2/dpaa2_mc_fdt.c b/sys/dev/dpaa2/dpaa2_mc_fdt.c
index 24b92e68e2b7..8e9ab10dec9d 100644
--- a/sys/dev/dpaa2/dpaa2_mc_fdt.c
+++ b/sys/dev/dpaa2/dpaa2_mc_fdt.c
@@ -272,8 +272,6 @@ dpaa2_mc_fdt_attach(device_t dev)
 			continue;
 		if (!OF_hasprop(child, "reg"))
 			continue;
-		if (!OF_hasprop(child, "pcs-handle"))
-			continue;
 		if (dpaa2_mc_fdt_probe_child(dev, child) != 0)
 			continue;
 	}



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