diff --git a/sys/arch/playstation2/dev/if_smap.c b/sys/arch/playstation2/dev/if_smap.c index f494cc9b6d86..f33a4f7c33ba 100644 --- a/sys/arch/playstation2/dev/if_smap.c +++ b/sys/arch/playstation2/dev/if_smap.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_smap.c,v 1.11 2008/01/19 22:10:15 dyoung Exp $ */ +/* $NetBSD: if_smap.c,v 1.12 2008/03/12 17:23:13 dyoung Exp $ */ /*- * Copyright (c) 2001 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_smap.c,v 1.11 2008/01/19 22:10:15 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_smap.c,v 1.12 2008/03/12 17:23:13 dyoung Exp $"); #include "debug_playstation2.h" @@ -645,10 +645,10 @@ smap_stop(struct ifnet *ifp, int disable) mii_down(&sc->emac3.mii); + ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE); + if (disable) emac3_disable(); - - ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE); } /*