git: 6b57054af620 - main - dpaa/fman_port: Fix register config typo

Justin Hibbits <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a87b76a.379a3.4da07244__42511.9569337525$1787279285$gmane$org@gitrepo.freebsd.org>
The branch main has been updated by jhibbits:

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

commit 6b57054af620558eb6abceaf6890f98309052d8b
Author:     Justin Hibbits <[email protected]>
AuthorDate: 2026-08-11 03:03:52 +0000
Commit:     Justin Hibbits <[email protected]>
CommitDate: 2026-08-21 02:26:09 +0000

    dpaa/fman_port: Fix register config typo
---
 sys/dev/dpaa/fman_port.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/dev/dpaa/fman_port.c b/sys/dev/dpaa/fman_port.c
index 384d13a7b3a7..5e71fc2c2268 100644
--- a/sys/dev/dpaa/fman_port.c
+++ b/sys/dev/dpaa/fman_port.c
@@ -668,8 +668,9 @@ fman_port_enable(device_t dev)
 		bus_write_4(sc->sc_mem, FMBM_TCFG, reg | BMI_PORT_CFG_EN);
 		break;
 	case FMAN_PORT_TYPE_RX:
-		reg = bus_read_4(sc->sc_mem, FMBM_RCFG);
+		reg = bus_read_4(sc->sc_mem, FMQM_PNC);
 		bus_write_4(sc->sc_mem, FMQM_PNC, reg | PNC_EN | PNC_STEN);
+		reg = bus_read_4(sc->sc_mem, FMBM_RCFG);
 		bus_write_4(sc->sc_mem, FMBM_RCFG, reg | BMI_PORT_CFG_EN);
 		bus_write_4(sc->sc_mem, FMBM_RSTC, RSTC_EN);
 		break;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.