svn commit: r226749 - head/sys/dev/bge
Pyun YongHyeon
yongari at FreeBSD.org
Tue Oct 25 20:45:14 UTC 2011
Author: yongari
Date: Tue Oct 25 20:45:14 2011
New Revision: 226749
URL: http://svn.freebsd.org/changeset/base/226749
Log:
Whitespace nits.
Modified:
head/sys/dev/bge/if_bge.c
Modified: head/sys/dev/bge/if_bge.c
==============================================================================
--- head/sys/dev/bge/if_bge.c Tue Oct 25 19:54:06 2011 (r226748)
+++ head/sys/dev/bge/if_bge.c Tue Oct 25 20:45:14 2011 (r226749)
@@ -2985,9 +2985,9 @@ bge_attach(device_t dev)
sc->bge_flags |= BGE_FLAG_TSO;
}
- /*
+ /*
* Check if this is a PCI-X or PCI Express device.
- */
+ */
if (pci_find_cap(dev, PCIY_EXPRESS, ®) == 0) {
/*
* Found a PCI Express capabilities register, this
@@ -3995,7 +3995,7 @@ bge_intr_task(void *arg, int pending)
if (ifp->if_drv_flags & IFF_DRV_RUNNING) {
/* Check TX ring producer/consumer. */
bge_txeof(sc, tx_cons);
- if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd))
+ if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd))
bge_start_locked(ifp);
}
BGE_UNLOCK(sc);
@@ -4112,7 +4112,7 @@ bge_tick(void *xsc)
/* Synchronize with possible callout reset/stop. */
if (callout_pending(&sc->bge_stat_ch) ||
!callout_active(&sc->bge_stat_ch))
- return;
+ return;
if (BGE_IS_5705_PLUS(sc))
bge_stats_update_regs(sc);
@@ -5036,7 +5036,7 @@ bge_ioctl(struct ifnet *ifp, u_long comm
break;
}
} else if (ifr->ifr_mtu < ETHERMIN || ifr->ifr_mtu > ETHERMTU) {
- error = EINVAL;
+ error = EINVAL;
break;
}
BGE_LOCK(sc);
More information about the svn-src-head
mailing list