Author: marius
Date: Fri Apr 22 09:39:05 2011
New Revision: 220940
URL: http://svn.freebsd.org/changeset/base/220940

Log:
  Correct spelling in comments.
  
  Submitted by: brucec

Modified:
  head/sys/dev/hme/if_hme.c
  head/sys/dev/hme/if_hmereg.h

Modified: head/sys/dev/hme/if_hme.c
==============================================================================
--- head/sys/dev/hme/if_hme.c   Fri Apr 22 09:31:40 2011        (r220939)
+++ head/sys/dev/hme/if_hme.c   Fri Apr 22 09:39:05 2011        (r220940)
@@ -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 
         * 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.

Modified: head/sys/dev/hme/if_hmereg.h
==============================================================================
--- head/sys/dev/hme/if_hmereg.h        Fri Apr 22 09:31:40 2011        
(r220939)
+++ head/sys/dev/hme/if_hmereg.h        Fri Apr 22 09:39:05 2011        
(r220940)
@@ -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"                              \
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to