summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rtl81x9.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/rtl81x9.c')
-rw-r--r--sys/dev/ic/rtl81x9.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/rtl81x9.c b/sys/dev/ic/rtl81x9.c
index 81b3a5e4d0d..e69096eada8 100644
--- a/sys/dev/ic/rtl81x9.c
+++ b/sys/dev/ic/rtl81x9.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtl81x9.c,v 1.40 2005/06/09 03:14:43 brad Exp $ */
+/* $OpenBSD: rtl81x9.c,v 1.41 2005/07/02 23:17:36 brad Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1178,6 +1178,8 @@ void rl_stop(sc)
timeout_del(&sc->sc_tick_tmo);
+ ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE)
+
CSR_WRITE_1(sc, RL_COMMAND, 0x00);
CSR_WRITE_2(sc, RL_IMR, 0x0000);
@@ -1198,8 +1200,6 @@ void rl_stop(sc)
0x00000000);
}
}
-
- ifp->if_flags &= ~(IFF_RUNNING | IFF_OACTIVE);
}
int