Module Name:    src
Committed By:   thorpej
Date:           Sun Sep 18 12:49:34 UTC 2022

Modified Files:
        src/sys/arch/newsmips/apbus: if_sn.c

Log Message:
Eliminate use of IFF_OACTIVE, take 2.  (Not sure what happened there.)


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/arch/newsmips/apbus/if_sn.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/newsmips/apbus/if_sn.c
diff -u src/sys/arch/newsmips/apbus/if_sn.c:1.51 src/sys/arch/newsmips/apbus/if_sn.c:1.52
--- src/sys/arch/newsmips/apbus/if_sn.c:1.51	Sun Sep 18 12:48:03 2022
+++ src/sys/arch/newsmips/apbus/if_sn.c	Sun Sep 18 12:49:34 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_sn.c,v 1.51 2022/09/18 12:48:03 thorpej Exp $	*/
+/*	$NetBSD: if_sn.c,v 1.52 2022/09/18 12:49:34 thorpej Exp $	*/
 
 /*
  * National Semiconductor  DP8393X SONIC Driver
@@ -16,7 +16,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_sn.c,v 1.51 2022/09/18 12:48:03 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_sn.c,v 1.52 2022/09/18 12:49:34 thorpej Exp $");
 
 #include "opt_inet.h"
 
@@ -430,7 +430,6 @@ sninit(struct sn_softc *sc)
 
 	/* flag interface as "running" */
 	sc->sc_if.if_flags |= IFF_RUNNING;
-	sc->sc_if.if_flags &= ~IFF_OACTIVE;
 
 	splx(s);
 	return 0;
@@ -904,8 +903,6 @@ sonictxint(struct sn_softc *sc)
 		}
 #endif /* SNDEBUG */
 
-		ifp->if_flags &= ~IFF_OACTIVE;
-
 		if (mtd->mtd_mbuf != 0) {
 			m_freem(mtd->mtd_mbuf);
 			mtd->mtd_mbuf = 0;

Reply via email to