summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rt2860.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-08-25 21:38:00 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-08-25 21:38:00 +0000
commit1983c3805b3ebdcf9306dd80538f44e4947dcb23 (patch)
treedb58344e83e8ec2da5c5a683d543bb6323d20f30 /sys/dev/ic/rt2860.c
parent5fa7cbf2720de57e4ec997758522caff75547a8a (diff)
Make CardBus ral(4) suspend and resume properly on machines that keep the
CardBus bridge powered up during suspend. Step zero on the long road towards fully suspending CardBus on all machines. ok deraadt@, damien@
Diffstat (limited to 'sys/dev/ic/rt2860.c')
-rw-r--r--sys/dev/ic/rt2860.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/rt2860.c b/sys/dev/ic/rt2860.c
index 25b6a782968..3dc0d81a66c 100644
--- a/sys/dev/ic/rt2860.c
+++ b/sys/dev/ic/rt2860.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2860.c,v 1.57 2010/08/04 19:48:33 damien Exp $ */
+/* $OpenBSD: rt2860.c,v 1.58 2010/08/25 21:37:59 kettenis Exp $ */
/*-
* Copyright (c) 2007-2010 Damien Bergamini <damien.bergamini@free.fr>
@@ -429,7 +429,7 @@ rt2860_suspend(void *xsc)
struct ifnet *ifp = &sc->sc_ic.ic_if;
if (ifp->if_flags & IFF_RUNNING)
- rt2860_stop(ifp, 0);
+ rt2860_stop(ifp, 1);
}
void