git: 6b57054af620 - main - dpaa/fman_port: Fix register config typo
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Aug 2026 02:26:50 UTC
The branch main has been updated by jhibbits:
URL: https://cgit.FreeBSD.org/src/commit/?id=6b57054af620558eb6abceaf6890f98309052d8b
commit 6b57054af620558eb6abceaf6890f98309052d8b
Author: Justin Hibbits <jhibbits@FreeBSD.org>
AuthorDate: 2026-08-11 03:03:52 +0000
Commit: Justin Hibbits <jhibbits@FreeBSD.org>
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;