From 982603ce5b46a79d0bc263cf93803706520622ec Mon Sep 17 00:00:00 2001 From: thorpej Date: Thu, 18 Feb 1999 01:24:29 +0000 Subject: [PATCH] Don't reset the interface when the media changes. --- sys/dev/pci/if_fxp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/pci/if_fxp.c b/sys/dev/pci/if_fxp.c index cf522102cca1..4faf4f59aa73 100644 --- a/sys/dev/pci/if_fxp.c +++ b/sys/dev/pci/if_fxp.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_fxp.c,v 1.29 1999/02/18 01:23:41 thorpej Exp $ */ +/* $NetBSD: if_fxp.c,v 1.30 1999/02/18 01:24:29 thorpej Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -1423,7 +1423,7 @@ fxp_mii_mediachange(ifp) { if (ifp->if_flags & IFF_UP) - fxp_init(ifp->if_softc); + mii_mediachg(&sc->sc_mii); return (0); }