diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2001-08-19 18:07:34 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2001-08-19 18:07:34 +0000 |
commit | f6c002bed451c8ae3b571631e176ebab77235704 (patch) | |
tree | 27f1001429b971a89df6959789e12a74bceac5e3 | |
parent | ac5259951219b8fd32cd404a899ca2ec14ffcb3a (diff) |
Don't reset rx/tx without turning them back on after suspend (Beck is now
able to do "Real Work" after a suspend)
-rw-r--r-- | sys/dev/ic/xl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ic/xl.c b/sys/dev/ic/xl.c index a9971cdd015..c22dbe2fae3 100644 --- a/sys/dev/ic/xl.c +++ b/sys/dev/ic/xl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xl.c,v 1.29 2001/08/19 01:45:55 jason Exp $ */ +/* $OpenBSD: xl.c,v 1.30 2001/08/19 18:07:33 jason Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -212,8 +212,10 @@ xl_power(why, arg) xl_stop(sc); else { ifp = &sc->arpcom.ac_if; - if (ifp->if_flags & IFF_UP) + if (ifp->if_flags & IFF_UP) { xl_reset(sc, 1); + xl_init(sc); + } } splx(s); } |