aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/uart
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/uart')
-rw-r--r--sys/dev/uart/uart_bus_fdt.c2
-rw-r--r--sys/dev/uart/uart_dev_lpc.c4
-rw-r--r--sys/dev/uart/uart_dev_ns8250.c6
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/uart/uart_bus_fdt.c b/sys/dev/uart/uart_bus_fdt.c
index 5308a2e7c41b..faea2cfb32e5 100644
--- a/sys/dev/uart/uart_bus_fdt.c
+++ b/sys/dev/uart/uart_bus_fdt.c
@@ -68,7 +68,7 @@ int
uart_fdt_get_clock(phandle_t node, pcell_t *cell)
{
- /* clock-frequency is a FreeBSD-only extention. */
+ /* clock-frequency is a FreeBSD-only extension. */
if ((OF_getencprop(node, "clock-frequency", cell,
sizeof(*cell))) <= 0) {
/* Try to retrieve parent 'bus-frequency' */
diff --git a/sys/dev/uart/uart_dev_lpc.c b/sys/dev/uart/uart_dev_lpc.c
index f8d77d46c480..306c9f151501 100644
--- a/sys/dev/uart/uart_dev_lpc.c
+++ b/sys/dev/uart/uart_dev_lpc.c
@@ -803,7 +803,7 @@ done:
#if 0
/*
* XXX there are some issues related to hardware flow control and
- * it's likely that uart(4) is the cause. This basicly needs more
+ * it's likely that uart(4) is the cause. This basically needs more
* investigation, but we avoid using for hardware flow control
* until then.
*/
@@ -911,7 +911,7 @@ lpc_ns8250_bus_grab(struct uart_softc *sc)
/*
* turn off all interrupts to enter polling mode. Leave the
* saved mask alone. We'll restore whatever it was in ungrab.
- * All pending interupt signals are reset when IER is set to 0.
+ * All pending interrupt signals are reset when IER is set to 0.
*/
uart_lock(sc->sc_hwmtx);
uart_setreg(bas, REG_IER, 0);
diff --git a/sys/dev/uart/uart_dev_ns8250.c b/sys/dev/uart/uart_dev_ns8250.c
index a36afefb649f..2498fa37db76 100644
--- a/sys/dev/uart/uart_dev_ns8250.c
+++ b/sys/dev/uart/uart_dev_ns8250.c
@@ -565,7 +565,7 @@ ns8250_bus_getsig(struct uart_softc *sc)
* when capturing PPS pulses which are too narrow for software detection
* to see the edges. Hardware delta for RI doesn't work like the
* others, so always use software for it. Other threads may be changing
- * other (non-MSR) bits in sc_hwsig, so loop until it can succesfully
+ * other (non-MSR) bits in sc_hwsig, so loop until it can successfully
* update without other changes happening. Note that the SIGCHGxx()
* macros carefully preserve the delta bits when we have to loop several
* times and a signal transitions between iterations.
@@ -882,7 +882,7 @@ ns8250_bus_probe(struct uart_softc *sc)
#if 0
/*
* XXX there are some issues related to hardware flow control and
- * it's likely that uart(4) is the cause. This basicly needs more
+ * it's likely that uart(4) is the cause. This basically needs more
* investigation, but we avoid using for hardware flow control
* until then.
*/
@@ -996,7 +996,7 @@ ns8250_bus_grab(struct uart_softc *sc)
/*
* turn off all interrupts to enter polling mode. Leave the
* saved mask alone. We'll restore whatever it was in ungrab.
- * All pending interupt signals are reset when IER is set to 0.
+ * All pending interrupt signals are reset when IER is set to 0.
*/
uart_lock(sc->sc_hwmtx);
ier = uart_getreg(bas, REG_IER);