git: bbe0f3fbc67c - stable/13 - e1000: Fix register name in reg_dump sysctl
Kevin Bowling
kbowling at FreeBSD.org
Mon May 3 02:32:47 UTC 2021
The branch stable/13 has been updated by kbowling (ports committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=bbe0f3fbc67c586bd9b8d11b14f7aa2c710931a0
commit bbe0f3fbc67c586bd9b8d11b14f7aa2c710931a0
Author: Kevin Bowling <kbowling at FreeBSD.org>
AuthorDate: 2021-04-26 16:30:54 +0000
Commit: Kevin Bowling <kbowling at FreeBSD.org>
CommitDate: 2021-05-03 02:31:30 +0000
e1000: Fix register name in reg_dump sysctl
The correct name of this register is CTRL_EXT.
Approved by: markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29967
(cherry picked from commit ba7b31b3e967a57c0269330d4e5aacf541d1b479)
---
sys/dev/e1000/if_em.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c
index 5ac050382ab1..27f498cd3d46 100644
--- a/sys/dev/e1000/if_em.c
+++ b/sys/dev/e1000/if_em.c
@@ -654,7 +654,7 @@ static int em_get_regs(SYSCTL_HANDLER_ARGS)
sbuf_printf(sb, "General Registers\n");
sbuf_printf(sb, "\tCTRL\t %08x\n", regs_buff[0]);
sbuf_printf(sb, "\tSTATUS\t %08x\n", regs_buff[1]);
- sbuf_printf(sb, "\tCTRL_EXIT\t %08x\n\n", regs_buff[2]);
+ sbuf_printf(sb, "\tCTRL_EXT\t %08x\n\n", regs_buff[2]);
sbuf_printf(sb, "Interrupt Registers\n");
sbuf_printf(sb, "\tICR\t %08x\n\n", regs_buff[3]);
More information about the dev-commits-src-all
mailing list