summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2019-05-27 20:42:01 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2019-05-27 20:42:01 +0000
commitba22391093cbdcfbc97ac6f985f48208650359fa (patch)
treef3ece9a76feaf07aec9fd8f5d2006bb19c6b88dc /sys
parent4e630a37f3e0bb1bb8ab5e7737aa8af16d087247 (diff)
spelling fixes in comments and one printf; from j sisson
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_jme.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/pci/if_jme.c b/sys/dev/pci/if_jme.c
index a47b2172d8c..092789f33a0 100644
--- a/sys/dev/pci/if_jme.c
+++ b/sys/dev/pci/if_jme.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_jme.c,v 1.51 2019/03/29 17:25:44 sthen Exp $ */
+/* $OpenBSD: if_jme.c,v 1.52 2019/05/27 20:42:00 jmc Exp $ */
/*-
* Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org>
* All rights reserved.
@@ -233,7 +233,7 @@ jme_miibus_statchg(struct device *dev)
* Disabling Rx/Tx MACs have a side-effect of resetting
* JME_TXNDA/JME_RXNDA register to the first address of
* Tx/Rx descriptor address. So driver should reset its
- * internal procucer/consumer pointer and reclaim any
+ * internal producer/consumer pointer and reclaim any
* allocated resources. Note, just saving the value of
* JME_TXNDA and JME_RXNDA registers before stopping MAC
* and restoring JME_TXNDA/JME_RXNDA register is not
@@ -277,7 +277,7 @@ jme_miibus_statchg(struct device *dev)
/*
* Reuse configured Rx descriptors and reset
- * procuder/consumer index.
+ * producer/consumer index.
*/
sc->jme_cdata.jme_rx_cons = 0;
@@ -550,7 +550,7 @@ jme_attach(struct device *parent, struct device *self, void *aux)
* JMC250 supports both memory mapped and I/O register space
* access. Because I/O register access should use different
* BARs to access registers it's waste of time to use I/O
- * register spce access. JMC250 uses 16K to map entire memory
+ * register space access. JMC250 uses 16K to map entire memory
* space.
*/
@@ -984,7 +984,7 @@ jme_dma_free(struct jme_softc *sc)
/*
* Unlike other ethernet controllers, JMC250 requires
* explicit resetting link speed to 10/100Mbps as gigabit
- * link will cunsume more power than 375mA.
+ * link will consume more power than 375mA.
* Note, we reset the link speed to 10/100Mbps with
* auto-negotiation but we don't know whether that operation
* would succeed or not as we have no control after powering
@@ -1169,7 +1169,7 @@ jme_encap(struct jme_softc *sc, struct mbuf *m)
sc->jme_cdata.jme_tx_prod = prod;
/*
* Finally request interrupt and give the first descriptor
- * owenership to hardware.
+ * ownership to hardware.
*/
desc = txd->tx_desc;
desc->flags |= htole32(JME_TD_OWN | JME_TD_INTR);
@@ -1534,7 +1534,7 @@ jme_txeof(struct jme_softc *sc)
/*
* Only the first descriptor of multi-descriptor
* transmission is updated so driver have to skip entire
- * chained buffers for the transmiited frame. In other
+ * chained buffers for the transmitted frame. In other
* words, JME_TD_OWN bit is valid only at the first
* descriptor of a multi-descriptor transmission.
*/
@@ -2110,7 +2110,7 @@ jme_stop_rx(struct jme_softc *sc)
break;
}
if (i == 0)
- printf("%s: stopping recevier timeout!\n", sc->sc_dev.dv_xname);
+ printf("%s: stopping receiver timeout!\n", sc->sc_dev.dv_xname);
}
void