summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_msk.c5
-rw-r--r--sys/dev/pci/if_sk.c9
2 files changed, 6 insertions, 8 deletions
diff --git a/sys/dev/pci/if_msk.c b/sys/dev/pci/if_msk.c
index eeeb8bedee9..02f8f333513 100644
--- a/sys/dev/pci/if_msk.c
+++ b/sys/dev/pci/if_msk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_msk.c,v 1.8 2006/08/17 21:31:37 brad Exp $ */
+/* $OpenBSD: if_msk.c,v 1.9 2006/08/17 21:37:44 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -1060,8 +1060,7 @@ msk_attach(struct device *parent, struct device *self, void *aux)
ifmedia_add(&sc_if->sk_mii.mii_media, IFM_ETHER|IFM_MANUAL,
0, NULL);
ifmedia_set(&sc_if->sk_mii.mii_media, IFM_ETHER|IFM_MANUAL);
- }
- else
+ } else
ifmedia_set(&sc_if->sk_mii.mii_media, IFM_ETHER|IFM_AUTO);
timeout_set(&sc_if->sk_tick_ch, msk_yukon_tick, sc_if);
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c
index d29afe8ede9..11656cb1ad6 100644
--- a/sys/dev/pci/if_sk.c
+++ b/sys/dev/pci/if_sk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sk.c,v 1.124 2006/08/17 21:31:37 brad Exp $ */
+/* $OpenBSD: if_sk.c,v 1.125 2006/08/17 21:37:44 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -929,8 +929,8 @@ sk_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
case SIOCSIFFLAGS:
if (ifp->if_flags & IFF_UP) {
if (ifp->if_flags & IFF_RUNNING &&
- ((ifp->if_flags ^ sc_if->sk_if_flags)
- & IFF_PROMISC)) {
+ (ifp->if_flags ^ sc_if->sk_if_flags)
+ & IFF_PROMISC) {
sk_setpromisc(sc_if);
sk_setmulti(sc_if);
} else {
@@ -1294,8 +1294,7 @@ sk_attach(struct device *parent, struct device *self, void *aux)
ifmedia_add(&sc_if->sk_mii.mii_media, IFM_ETHER|IFM_MANUAL,
0, NULL);
ifmedia_set(&sc_if->sk_mii.mii_media, IFM_ETHER|IFM_MANUAL);
- }
- else
+ } else
ifmedia_set(&sc_if->sk_mii.mii_media, IFM_ETHER|IFM_AUTO);
if (SK_IS_GENESIS(sc)) {