diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-06-19 09:36:28 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2017-06-19 09:36:28 +0000 |
commit | ea4c3361436842fd6b0e37403abd5645a6a20003 (patch) | |
tree | 50a473655300c1f1b7e342e0084e6fdf402a736b | |
parent | 850b850cf55d0a5a5e34d5496f25e1206c891c1d (diff) |
Do not call txeof nor rxeof in the watchdog routine.
They cannot be serialized with the interrupt routine and are
useless because the driver is reinitialized right after.
Pointed by and ok mikeb@
-rw-r--r-- | sys/dev/ic/re.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c index 3af886547be..09ba01c55da 100644 --- a/sys/dev/ic/re.c +++ b/sys/dev/ic/re.c @@ -1,4 +1,4 @@ -/* $OpenBSD: re.c,v 1.201 2017/01/24 03:57:34 dlg Exp $ */ +/* $OpenBSD: re.c,v 1.202 2017/06/19 09:36:27 mpi Exp $ */ /* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */ /* * Copyright (c) 1997, 1998-2003 @@ -2074,9 +2074,6 @@ re_watchdog(struct ifnet *ifp) s = splnet(); printf("%s: watchdog timeout\n", sc->sc_dev.dv_xname); - re_txeof(sc); - re_rxeof(sc); - re_init(ifp); splx(s); |