summaryrefslogtreecommitdiffstats
path: root/sys/dev/nfe
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2006-11-27 00:10:00 +0000
committerobrien <obrien@FreeBSD.org>2006-11-27 00:10:00 +0000
commitaf9da80693037c619bbdb12fd8054c5e1bb47c72 (patch)
tree84e71173195f831bcc6a6d1d711976064f56300e /sys/dev/nfe
parent7eea3cb1f9d6e505e0321aebd8905e6f41e0cdbb (diff)
downloadFreeBSD-src-af9da80693037c619bbdb12fd8054c5e1bb47c72.zip
FreeBSD-src-af9da80693037c619bbdb12fd8054c5e1bb47c72.tar.gz
Grrr. new .vimrc file is really giving me trouble.. get the whitespace right.
Diffstat (limited to 'sys/dev/nfe')
-rw-r--r--sys/dev/nfe/if_nfe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/nfe/if_nfe.c b/sys/dev/nfe/if_nfe.c
index fc446ca..efb1099 100644
--- a/sys/dev/nfe/if_nfe.c
+++ b/sys/dev/nfe/if_nfe.c
@@ -447,10 +447,10 @@ nfe_detach(device_t dev)
nfe_set_macaddr(sc, eaddr);
if (device_is_attached(dev)) {
- NFE_LOCK(sc);
+ NFE_LOCK(sc);
nfe_stop(ifp, 1);
ifp->if_flags &= ~IFF_UP;
- NFE_UNLOCK(sc);
+ NFE_UNLOCK(sc);
callout_drain(&sc->nfe_stat_ch);
ether_ifdetach(ifp);
}
OpenPOWER on IntegriCloud