Author: yongari
Date: Sun Nov 22 18:30:19 2009
New Revision: 199661
URL: http://svn.freebsd.org/changeset/base/199661

Log:
  Remove extra white space.

Modified:
  head/sys/dev/bge/if_bge.c
  head/sys/dev/bge/if_bgereg.h

Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c   Sun Nov 22 18:23:30 2009        (r199660)
+++ head/sys/dev/bge/if_bge.c   Sun Nov 22 18:30:19 2009        (r199661)
@@ -238,7 +238,7 @@ static const struct bge_vendor {
 
        { 0, NULL }
 };
-       
+
 static const struct bge_revision {
        uint32_t        br_chipid;
        const char      *br_name;
@@ -295,7 +295,7 @@ static const struct bge_revision {
        { BGE_CHIPID_BCM5784_A0,        "BCM5784 A0" },
        { BGE_CHIPID_BCM5784_A1,        "BCM5784 A1" },
        /* 5754 and 5787 share the same ASIC ID */
-       { BGE_CHIPID_BCM5787_A0,        "BCM5754/5787 A0" }, 
+       { BGE_CHIPID_BCM5787_A0,        "BCM5754/5787 A0" },
        { BGE_CHIPID_BCM5787_A1,        "BCM5754/5787 A1" },
        { BGE_CHIPID_BCM5787_A2,        "BCM5754/5787 A2" },
        { BGE_CHIPID_BCM5906_A1,        "BCM5906 A1" },
@@ -1284,11 +1284,11 @@ bge_sig_post_reset(sc, type)
        if (sc->bge_asf_mode & ASF_NEW_HANDSHAKE) {
                switch (type) {
                case BGE_RESET_START:
-                       bge_writemem_ind(sc, BGE_SDI_STATUS, 0x80000001); 
+                       bge_writemem_ind(sc, BGE_SDI_STATUS, 0x80000001);
                        /* START DONE */
                        break;
                case BGE_RESET_STOP:
-                       bge_writemem_ind(sc, BGE_SDI_STATUS, 0x80000002); 
+                       bge_writemem_ind(sc, BGE_SDI_STATUS, 0x80000002);
                        break;
                }
        }
@@ -1680,7 +1680,7 @@ bge_blockinit(struct bge_softc *sc)
        RCB_WRITE_4(sc, vrcb, bge_hostaddr.bge_addr_lo, taddr.bge_addr_lo);
        RCB_WRITE_4(sc, vrcb, bge_nicaddr, 0x00000000);
        RCB_WRITE_4(sc, vrcb, bge_maxlen_flags,
-           BGE_RCB_MAXLEN_FLAGS(sc->bge_return_ring_cnt, 0));  
+           BGE_RCB_MAXLEN_FLAGS(sc->bge_return_ring_cnt, 0));
 
        /* Set random backoff seed for TX */
        CSR_WRITE_4(sc, BGE_TX_RANDOM_BACKOFF,
@@ -1910,7 +1910,7 @@ bge_lookup_vendor(uint16_t vid)
        for (v = bge_vendors; v->v_name != NULL; v++)
                if (v->v_id == vid)
                        return (v);
-               
+
        panic("%s: unknown vendor %d", __func__, vid);
        return (NULL);
 }
@@ -2995,7 +2995,7 @@ bge_reset(struct bge_softc *sc)
                }
        }
 
-       /* 
+       /*
         * Set GPHY Power Down Override to leave GPHY
         * powered up in D0 uninitialized.
         */
@@ -3630,7 +3630,7 @@ bge_cksum_pad(struct mbuf *m)
                        last = n;
                }
        }
-       
+
        /* Now zero the pad area, to avoid the bge cksum-assist bug. */
        memset(mtod(last, caddr_t) + last->m_len, 0, padlen);
        last->m_len += padlen;
@@ -3984,7 +3984,7 @@ bge_init_locked(struct bge_softc *sc)
        BGE_CLRBIT(sc, BGE_PCI_MISC_CTL, BGE_PCIMISCCTL_MASK_PCI_INTR);
        bge_writembx(sc, BGE_MBX_IRQ0_LO, 0);
        }
-       
+
        bge_ifmedia_upd_locked(ifp);
 
        ifp->if_drv_flags |= IFF_DRV_RUNNING;
@@ -4367,7 +4367,7 @@ bge_stop(struct bge_softc *sc)
        bge_sig_legacy(sc, BGE_RESET_STOP);
        bge_sig_post_reset(sc, BGE_RESET_STOP);
 
-       /* 
+       /*
         * Keep the ASF firmware running if up.
         */
        if (sc->bge_asf_mode & ASF_STACKUP)
@@ -4707,7 +4707,7 @@ bge_add_sysctls(struct bge_softc *sc)
        BGE_SYSCTL_STAT(sc, ctx, "Multiple Collision Frames",
            children, txstats.dot3StatsMultipleCollisionFrames,
            "MultipleCollisionFrames");
-       BGE_SYSCTL_STAT(sc, ctx, "Deferred Transmissions", 
+       BGE_SYSCTL_STAT(sc, ctx, "Deferred Transmissions",
            children, txstats.dot3StatsDeferredTransmissions,
            "DeferredTransmissions");
        BGE_SYSCTL_STAT(sc, ctx, "Excessive Collisions",
@@ -4716,7 +4716,7 @@ bge_add_sysctls(struct bge_softc *sc)
        BGE_SYSCTL_STAT(sc, ctx, "Late Collisions",
            children, txstats.dot3StatsLateCollisions,
            "LateCollisions");
-       BGE_SYSCTL_STAT(sc, ctx, "Outbound Unicast Packets", 
+       BGE_SYSCTL_STAT(sc, ctx, "Outbound Unicast Packets",
            children, txstats.ifHCOutUcastPkts, "UcastPkts");
        BGE_SYSCTL_STAT(sc, ctx, "Outbound Multicast Packets",
            children, txstats.ifHCOutMulticastPkts, "MulticastPkts");

Modified: head/sys/dev/bge/if_bgereg.h
==============================================================================
--- head/sys/dev/bge/if_bgereg.h        Sun Nov 22 18:23:30 2009        
(r199660)
+++ head/sys/dev/bge/if_bgereg.h        Sun Nov 22 18:30:19 2009        
(r199661)
@@ -1907,7 +1907,7 @@
 /*
  * This magic number is written to the firmware mailbox at 0xb50
  * before a software reset is issued.  After the internal firmware
- * has completed its initialization it will write the opposite of 
+ * has completed its initialization it will write the opposite of
  * this value, ~BGE_MAGIC_NUMBER, to the same location, allowing the
  * driver to synchronize with the firmware.
  */
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to