From bba46138532064d56ae212d796b22eec0d96cb69 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Thu, 18 Jan 2007 04:56:34 +0000 Subject: Don't reinitialize card at every media change. From Brad, tested by Brad, wilfried@ and Johan M:son Lindman. ok wilfried@ --- sys/dev/pci/if_sk.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/dev') 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); } -- cgit v1.2.3