summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2007-01-18 04:56:34 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2007-01-18 04:56:34 +0000
commitbba46138532064d56ae212d796b22eec0d96cb69 (patch)
treef50688032afa75c076e1df97d46551ea85f98330 /sys/dev
parentd43754b476dbe575577573823559e0aca5286b39 (diff)
Don't reinitialize card at every media change.
From Brad, tested by Brad, wilfried@ and Johan M:son Lindman. ok wilfried@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/if_sk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pci/if_sk.c b/sys/dev/pci/if_sk.c
index a728013b477..0484b6e3a4c 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.135 2007/01/05 21:32:25 kettenis Exp $ */
+/* $OpenBSD: if_sk.c,v 1.136 2007/01/18 04:56:33 krw Exp $ */
/*
* Copyright (c) 1997, 1998, 1999, 2000
@@ -838,7 +838,6 @@ sk_ifmedia_upd(struct ifnet *ifp)
{
struct sk_if_softc *sc_if = ifp->if_softc;
- sk_init(sc_if);
mii_mediachg(&sc_if->sk_mii);
return (0);
}