aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Bowling <kbowling@FreeBSD.org>2021-04-26 16:30:54 +0000
committerKevin Bowling <kbowling@FreeBSD.org>2021-04-26 16:30:54 +0000
commitba7b31b3e967a57c0269330d4e5aacf541d1b479 (patch)
treef6c8f88a87024a7a32961f57b5d6be317a995d50
parent08d77308211f823b8532d27790e8fd29eaf75c77 (diff)
downloadsrc-ba7b31b3e967a57c0269330d4e5aacf541d1b479.tar.gz
src-ba7b31b3e967a57c0269330d4e5aacf541d1b479.zip
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
-rw-r--r--sys/dev/e1000/if_em.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/e1000/if_em.c b/sys/dev/e1000/if_em.c
index cd40d98819d0..db022126844a 100644
--- a/sys/dev/e1000/if_em.c
+++ b/sys/dev/e1000/if_em.c
@@ -653,7 +653,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]);