summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2008-06-10 21:18:42 +0000
committerBrad Smith <brad@cvs.openbsd.org>2008-06-10 21:18:42 +0000
commit8fd7669d3af96087abf4534d0d3d2594aa2f90fa (patch)
tree68196c18372dcdff408dec5bd18af98304a54b48 /sys/dev
parent76fe8b0f7bb5df6788d40da5c6e52a846a8519e4 (diff)
formatting knits.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mii/brgphy.c4
-rw-r--r--sys/dev/mii/ipgphy.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/mii/brgphy.c b/sys/dev/mii/brgphy.c
index 0fef718a857..3c233c7f8d7 100644
--- a/sys/dev/mii/brgphy.c
+++ b/sys/dev/mii/brgphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: brgphy.c,v 1.78 2008/06/10 21:15:14 brad Exp $ */
+/* $OpenBSD: brgphy.c,v 1.79 2008/06/10 21:18:41 brad Exp $ */
/*
* Copyright (c) 2000
@@ -458,7 +458,7 @@ brgphy_reset(struct mii_softc *sc)
switch (sc->mii_model) {
case MII_MODEL_BROADCOM_BCM5400:
brgphy_bcm5401_dspcode(sc);
- break;
+ break;
case MII_MODEL_BROADCOM_BCM5401:
if (sc->mii_rev == 1 || sc->mii_rev == 3)
brgphy_bcm5401_dspcode(sc);
diff --git a/sys/dev/mii/ipgphy.c b/sys/dev/mii/ipgphy.c
index 16788d8193c..8f683cff6a0 100644
--- a/sys/dev/mii/ipgphy.c
+++ b/sys/dev/mii/ipgphy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ipgphy.c,v 1.9 2008/06/10 21:15:14 brad Exp $ */
+/* $OpenBSD: ipgphy.c,v 1.10 2008/06/10 21:18:41 brad Exp $ */
/*-
* Copyright (c) 2006, Pyun YongHyeon <yongari@FreeBSD.org>
@@ -229,6 +229,7 @@ done:
*/
if (IFM_INST(ife->ifm_media) != sc->mii_inst)
return (0);
+
/*
* Is the interface even up?
*/