summaryrefslogtreecommitdiffstats
path: root/sys/arm/at91/if_macb.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2012-06-13 04:52:19 +0000
committerimp <imp@FreeBSD.org>2012-06-13 04:52:19 +0000
commit8839854e9395697ca22da00ae9b9ed0f0021e04a (patch)
treea01d1deb378caf31cfcf5f280a3320f24e6561b8 /sys/arm/at91/if_macb.c
parent636759d6c06739a9a1f43d9f0dbd149434b9c98f (diff)
downloadFreeBSD-src-8839854e9395697ca22da00ae9b9ed0f0021e04a.zip
FreeBSD-src-8839854e9395697ca22da00ae9b9ed0f0021e04a.tar.gz
Strip trailing whitespace before other changes.
Diffstat (limited to 'sys/arm/at91/if_macb.c')
-rw-r--r--sys/arm/at91/if_macb.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arm/at91/if_macb.c b/sys/arm/at91/if_macb.c
index b985f26..ac280a1 100644
--- a/sys/arm/at91/if_macb.c
+++ b/sys/arm/at91/if_macb.c
@@ -730,7 +730,7 @@ macb_rx(struct macb_softc *sc)
m = sc->rx_desc[sc->rx_cons].buff;
- bus_dmamap_sync(sc->dmatag_ring_rx,
+ bus_dmamap_sync(sc->dmatag_ring_rx,
sc->rx_desc[sc->rx_cons].dmamap, BUS_DMASYNC_POSTREAD);
if (macb_new_rxbuf(sc, sc->rx_cons) != 0) {
ifp->if_iqdrops++;
@@ -739,7 +739,7 @@ macb_rx(struct macb_softc *sc)
do {
rxdesc->flags = DATA_SIZE;
MACB_DESC_INC(sc->rx_cons, MACB_MAX_RX_BUFFERS);
- if ((rxdesc->flags & RD_EOF) != 0)
+ if ((rxdesc->flags & RD_EOF) != 0)
break;
rxdesc = &(sc->desc_rx[sc->rx_cons]);
} while (sc->rx_cons != first);
@@ -776,7 +776,7 @@ macb_rx(struct macb_softc *sc)
if (nsegs > 1) {
sc->macb_cdata.rxtail->m_len = (rxbytes -
((nsegs - 1) * DATA_SIZE)) + 2;
- }
+ }
m = sc->macb_cdata.rxhead;
m->m_flags |= M_PKTHDR;
@@ -1102,7 +1102,7 @@ set_filter(struct macb_softc *sc)
int count;
uint32_t multicast_filter[2];
- ifp = sc->ifp;
+ ifp = sc->ifp;
config = read_4(sc, EMAC_NCFGR);
@@ -1132,7 +1132,7 @@ set_filter(struct macb_softc *sc)
if (ifma->ifma_addr->sa_family != AF_LINK)
continue;
count++;
- set_mac_filter(multicast_filter,
+ set_mac_filter(multicast_filter,
LLADDR((struct sockaddr_dl *)ifma->ifma_addr));
}
if (count) {
@@ -1501,7 +1501,7 @@ macb_miibus_statchg(device_t dev)
mii = device_get_softc(sc->miibus);
- sc->flags &= ~MACB_FLAG_LINK;
+ sc->flags &= ~MACB_FLAG_LINK;
config = read_4(sc, EMAC_NCFGR);
OpenPOWER on IntegriCloud