summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2011-04-22 09:39:05 +0000
committermarius <marius@FreeBSD.org>2011-04-22 09:39:05 +0000
commitd63a5fea10c282e8094fcdc943810babac814566 (patch)
tree7813cd07faf3b9114cabd570da360daefb6ae0c6 /sys
parentcbd047e88cc93370c2a6031baac090eccb113f80 (diff)
downloadFreeBSD-src-d63a5fea10c282e8094fcdc943810babac814566.zip
FreeBSD-src-d63a5fea10c282e8094fcdc943810babac814566.tar.gz
Correct spelling in comments.
Submitted by: brucec
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/hme/if_hme.c4
-rw-r--r--sys/dev/hme/if_hmereg.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/hme/if_hme.c b/sys/dev/hme/if_hme.c
index 09e94e7..6f76c90 100644
--- a/sys/dev/hme/if_hme.c
+++ b/sys/dev/hme/if_hme.c
@@ -203,7 +203,7 @@ hme_config(struct hme_softc *sc)
* the DMA bus tag:
* sc_dmatag
*
- * the bus handles, tags and offsets (splitted for SBus compatability):
+ * the bus handles, tags and offsets (splitted for SBus compatibility):
* sc_seb{t,h,o} (Shared Ethernet Block registers)
* sc_erx{t,h,o} (Receiver Unit registers)
* sc_etx{t,h,o} (Transmitter Unit registers)
@@ -1559,7 +1559,7 @@ hme_mediachange_locked(struct hme_softc *sc)
* If both PHYs are present reset them. This is required for
* unisolating the previously isolated PHY when switching PHYs.
* As the above hme_mifinit() call will set the MII drivers in
- * the XIF configuration register accoring to the currently
+ * the XIF configuration register according to the currently
* selected media, there should be no window during which the
* data paths of both transceivers are open at the same time,
* even if the PHY device drivers use MIIF_NOISOLATE.
diff --git a/sys/dev/hme/if_hmereg.h b/sys/dev/hme/if_hmereg.h
index 3d93eba..585ca84 100644
--- a/sys/dev/hme/if_hmereg.h
+++ b/sys/dev/hme/if_hmereg.h
@@ -79,7 +79,7 @@
#define HME_SEB_STAT_TXEACK 0x04000000 /* error during tx DMA */
#define HME_SEB_STAT_TXLERR 0x08000000 /* late error during tx DMA */
#define HME_SEB_STAT_TXPERR 0x10000000 /* parity error during tx DMA */
-#define HME_SEB_STAT_TXTERR 0x20000000 /* tag error durig tx DMA */
+#define HME_SEB_STAT_TXTERR 0x20000000 /* tag error during tx DMA */
#define HME_SEB_STAT_SLVERR 0x40000000 /* pio access error */
#define HME_SEB_STAT_SLVPERR 0x80000000 /* pio access parity error */
#define HME_SEB_STAT_BITS "\177\020" \
OpenPOWER on IntegriCloud